Template Problem
MaxPalef opened this issue · comments
Hey, this vim plugin is amazing and works fine but I struglle to pass template argument to pandoc.
I tried :
let g:md_args = "--template mytemplate "
let g:md_args = "--template mytemplate.tex "
let g:md_args = "--template=mytemplate "
let g:md_args = "--template mytemplate.tex "
I tried some others arguments like --toc and --number-section and they worked fine
this template work I've already used it with pandoc to produce pdf
Btw i use zathura to preview and it works great with it !
Thank you for any help
Hey, I will try to get this fixed as soon as possible! I have a couple ideas of what may be causing this issue.
I just want to confirm that its working fine if you run pandoc directly from the command line?
no error by doing
$ pandoc text.md -o text.pdf --toc --pdf-engine=xelatex --number-section --template=mytemplate.tex
Ok i Fixed the problem by putting mytemplate.tex in /usr/share/pandoc/templates/
Awesome, thanks for letting me know.