Results 1 to 3 of 3

Thread: error while creating pdf using pandoc

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Posts
    23

    error while creating pdf using pandoc

    I am trying to make pdf from github.com/progit,
    get following error:
    Code:
    en:
            Parsing markdown... done
            Creating main.tex for en... done
            Running XeTeX:
                    Pass 1... failed with:
                            ! I can't find file `Helvetica'.
            Consider running this again with --debug.
    do I need to install extra fonts ?
    Tried even with latest pandoc from SID.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512

    Use existing fonts

    You should read the page I can't find file `Helvetica'

    If you use the Knoppix 7.2.0 DVD you can try the following commands in an LXTerminal.
    Code:
    mkdir -p /home/knoppix/git
    cd /home/knoppix/git
    GIT_SSL_NO_VERIFY=true git clone https://github.com/progit/progit.git
    cd progit
    sudo apt-get update
    sudo apt-get install -t unstable pandoc
    sudo apt-get install ruby-rdiscount rubygems calibre
    leafpad latex/config.yml
    Use existing fonts:
    Code:
    font: TeXGyreHeros Regular
    bold: TeXGyreHeros Bold
    mono: DejaVuSansMono
    Save the file and exit leafpad. Now you should be ready to create the PDF file.
    Code:
    ./makepdfs en
    Of course, you can use other fonts, but they must be installed on your system.

  3. #3
    Junior Member
    Join Date
    Jun 2011
    Posts
    23
    Thanks, that helped.
    I should have checked progit/issues,
    but then would have got stuck in figuring out the right config

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor picture

AMD Ryzen 5 5500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor

$97.99



Intel Core i9-13900K Unlocked Desktop Processor - 24 cores (8P+16E) & 32 threads picture

Intel Core i9-13900K Unlocked Desktop Processor - 24 cores (8P+16E) & 32 threads

$559.99



Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc... picture

Intel - Core i5-12600K Desktop Processor 10 (6P+4E) Cores up to 4.9 GHz Unloc...

$238.99



Intel Core i7-13700K Unlocked Desktop Processor - 16 Cores (8P+8P) & 24 Threads picture

Intel Core i7-13700K Unlocked Desktop Processor - 16 Cores (8P+8P) & 24 Threads

$404.31



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$298.99



Intel Core i5-13600K Unlocked Desktop Processor - 14 Core (6E+8P) & 20 Threads picture

Intel Core i5-13600K Unlocked Desktop Processor - 14 Core (6E+8P) & 20 Threads

$302.00



Intel Core i5-13600KF Unlocked Desktop Processor - 14 Cores (6P+8E) & 20 Threads picture

Intel Core i5-13600KF Unlocked Desktop Processor - 14 Cores (6P+8E) & 20 Threads

$296.99



AMD - Ryzen 5 5600X 4th Gen 6-core, 12-threads Unlocked Desktop Processor Wit... picture

AMD - Ryzen 5 5600X 4th Gen 6-core, 12-threads Unlocked Desktop Processor Wit...

$169.00



Intel Core i3-12100F Processor (3.30 GHz, 4 Cores, LGA 1700) - BX8071512100F picture

Intel Core i3-12100F Processor (3.30 GHz, 4 Cores, LGA 1700) - BX8071512100F

$96.29



NEW Intel Core i7-10700K 8 Core LGA1200 5.10GHz SRH72 i7 10700K CPU Processor picture

NEW Intel Core i7-10700K 8 Core LGA1200 5.10GHz SRH72 i7 10700K CPU Processor

$238.98