-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative File Paths #25
Comments
I was trying to do the same thing. I also tried |
This seems to be one of the things that is a real pain with Sublime Text. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!
The text was updated successfully, but these errors were encountered: