I'm wondering where can I edit the default template of LaTeX in pandoc (ubuntu)
I know this is not relevant on TeX forum, but any help would be welcome, because I'm kinda lost.
Thanks!
I'm wondering where can I edit the default template of LaTeX in pandoc (ubuntu)
I know this is not relevant on TeX forum, but any help would be welcome, because I'm kinda lost.
Thanks!
Still off-topic but you can print the default template with pandoc -D latex, edit it and put it in your personal data directory ($HOME/.pandoc on linux):
pandoc -D latex > ~/.pandoc/default.latex && $EDITOR ~/.pandoc/default.latex
All of this is documented here: https://pandoc.org/MANUAL.html
If you do pandoc -D latex the template is printed. This works for any format. You could save that template as e.g. 'template.latex' and edit it. You can then point Pandoc to the edited template by doing e.g. pandoc --template=template.latex. Or you could call it 'default.latex' and place it in Pandoc's data directory. This will make it the default template.
man fooorinfo fooorfoo --helporfoo -h. For quick specific help about "bah" in "foo", tryfoo --help | grep bah. The Linux terminal is your powerful friend, not a kind of DOS window. – Fran Mar 03 '16 at 04:25