PDA

View Full Version : error while creating pdf using pandoc



vkrishn
01-24-2014, 12:08 AM
I am trying to make pdf from github.com/progit,
get following error:


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.

klaus2008
01-25-2014, 12:42 AM
You should read the page I can't find file `Helvetica' (https://github.com/progit/progit/issues/39)

If you use the Knoppix 7.2.0 DVD you can try the following commands in an LXTerminal.


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:


font: TeXGyreHeros Regular
bold: TeXGyreHeros Bold
mono: DejaVuSansMono
Save the file and exit leafpad. Now you should be ready to create the PDF file.

./makepdfs en
Of course, you can use other fonts, but they must be installed on your system.

vkrishn
01-25-2014, 02:40 PM
Thanks, that helped.
I should have checked progit/issues,
but then would have got stuck in figuring out the right config :-)