I am new to pandoc and using it to convert set of markdown files into pdf. I would like to change the default fonts for the pdf.
The documentation gives an example to set the fonts
pandoc -N --template=mytemplate.tex --variable mainfont=Georgia --variable
sansfont=Arial --variable monofont="Bitstream Vera Sans Mono" --variable
fontsize=12pt --variable version=1.10 README --latex-engine=xelatex --toc
-o example14.pdf
however this uses xelatex
and it is recommended to use MiKTeX
.
I have tried the above with MiKTeX
, but without any success.
Is there a way to set the font, I am using Windows 8 with MiKTeX