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
  •  


Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3  picture

Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3

$24.99



ASUS X99-A II Motherboard X99 W/ IO Shield picture

ASUS X99-A II Motherboard X99 W/ IO Shield

$119.99



ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard picture

ASRock B550M Pro SE AM4 DDR4 SATA 6Gb/s 1 PCIe 4.0 x16 Micro ATX Motherboard

$84.99



ASRock Z690 PG Velocita LGA 1700 Intel Z690 SATA 6Gb/s DDR5 ATX Intel Motherboar picture

ASRock Z690 PG Velocita LGA 1700 Intel Z690 SATA 6Gb/s DDR5 ATX Intel Motherboar

$157.99



GIGABYTE GA-AX370-Gaming 3 ATX Motherboard AMD Socket AM4 DDR4 HDMI picture

GIGABYTE GA-AX370-Gaming 3 ATX Motherboard AMD Socket AM4 DDR4 HDMI

$59.99



Asus H110M-C Rev 1.03 mATX Desktop Motherboard LGA 1151/Socket H4 DDR4 SDRAM picture

Asus H110M-C Rev 1.03 mATX Desktop Motherboard LGA 1151/Socket H4 DDR4 SDRAM

$26.99



GIGABYTE GA-Z170-HD3P ATX Motherboard Intel Socket LGA1151 DDR4 HDMI picture

GIGABYTE GA-Z170-HD3P ATX Motherboard Intel Socket LGA1151 DDR4 HDMI

$59.99



GIGABYTE B450M DS3H WIFI AM4 AMD B450 SATA 6Gb/s Micro ATX AMD Motherboard picture

GIGABYTE B450M DS3H WIFI AM4 AMD B450 SATA 6Gb/s Micro ATX AMD Motherboard

$74.99



GIGABYTE (GA-Z97X-GAMING 7) Motherboard with I/O picture

GIGABYTE (GA-Z97X-GAMING 7) Motherboard with I/O

$79.99



Gigabyte GA-Z77X-UD5H LGA 1155 Intel ATX Desktop Motherboard +  IO Shield picture

Gigabyte GA-Z77X-UD5H LGA 1155 Intel ATX Desktop Motherboard + IO Shield

$59.99