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
  •  


Samsung Galaxy A30 (6.4'', 16MP, 32GB/3GB, Opt) - Black picture

Samsung Galaxy A30 (6.4'', 16MP, 32GB/3GB, Opt) - Black

$210.94



Samsung Galaxy A51 (6.5

Samsung Galaxy A51 (6.5", 48MP, 128GB/6GB) - [Au Stock]

$354.49



Samsung Galaxy S21 5G (6.2'', 64MP) picture

Samsung Galaxy S21 5G (6.2'', 64MP)

$643.07



Samsung Galaxy S21+ Plus 5G (6.7'', 64MP) picture

Samsung Galaxy S21+ Plus 5G (6.7'', 64MP)

$736.47



Samsung Galaxy Tab S4 SM-T837T  T-Mobile WiFi /4G MINT Bundle SPen picture

Samsung Galaxy Tab S4 SM-T837T T-Mobile WiFi /4G MINT Bundle SPen

$219.00



Samsung Galaxy S21 5G (128GB/8GB) picture

Samsung Galaxy S21 5G (128GB/8GB)

$643.07



Samsung Galaxy Z Fold3 5G/W22 5G Touch Capacitive Pen Stylus S Pen Bluetooth picture

Samsung Galaxy Z Fold3 5G/W22 5G Touch Capacitive Pen Stylus S Pen Bluetooth

$39.79



Samsung Galaxy S20+ Plus 5G (128GB/12GB, 64MP, Opt) - Cosmic Grey picture

Samsung Galaxy S20+ Plus 5G (128GB/12GB, 64MP, Opt) - Cosmic Grey

$599.86



Samsung Galaxy Note 20 (4G, 6.7

Samsung Galaxy Note 20 (4G, 6.7", 64MP, 256GB/8GB)

$695.07



Samsung Galaxy S20 5G (6.2'', 128GB/12GB, 64MP, VF) - Pink picture

Samsung Galaxy S20 5G (6.2'', 128GB/12GB, 64MP, VF) - Pink

$584.48