tbfisher/sublimetext-Pandoc

trouble with adding further pdf variables

Closed this issue · 1 comments

First of all, thanks for making this. I'm having trouble adding additional variables to pdf creation. So while this works fine:

    "pandoc-arguments": [
      "-t", "pdf", "--latex-engine=xelatex"

This does not:

    "pandoc-arguments": [
      "-t", "pdf", "--latex-engine=xelatex", "--variable fontsize=12"

I've tried many permutations here but can't get this to pass additional variables on to Pandoc. Any ideas? Thanks!

I actually figured this out, you have to do this:

 "pandoc-arguments": [
      "-t", "pdf", "--latex-engine=xelatex", "--variable", "fontsize=12"