Thanks for the great plugin! I am having trouble specifying relative paths in the pandoc-config.json file. Specifically, I would like to use "~/path/to/file/" for csl and bibliography files. I was having a difficult time getting it to accept a relative reference to a template file, but I finally got that to work when I realized I had to specify "template.latex" and not just "template" as pandoc takes in the command line. I am not a programer, but in digging through the code, it appears that the relative reference works in template because it passes through walkIncludes, which performs os.path.expanduser on it. However, it appears csl and bibliography options are passed straight through so they end up as "--csl=~/path/to/file" which pandoc doesn't like.
I can overcome this by placing the .csl and .bib files in the working directory, but I prefer to keep the build files separated from the .md files.
Any help you can provide would be appreciated. Thanks so much!
Thanks for the great plugin! I am having trouble specifying relative paths in the pandoc-config.json file. Specifically, I would like to use "~/path/to/file/" for csl and bibliography files. I was having a difficult time getting it to accept a relative reference to a template file, but I finally got that to work when I realized I had to specify "template.latex" and not just "template" as pandoc takes in the command line. I am not a programer, but in digging through the code, it appears that the relative reference works in template because it passes through walkIncludes, which performs os.path.expanduser on it. However, it appears csl and bibliography options are passed straight through so they end up as "--csl=~/path/to/file" which pandoc doesn't like.
I can overcome this by placing the .csl and .bib files in the working directory, but I prefer to keep the build files separated from the .md files.
Any help you can provide would be appreciated. Thanks so much!