-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Can no longer find custom templates in data-dir/templates under 2.2.2 #4777
Comments
You shouldn't need
|
I am also seeing a regression when using
Now I get the error message:
If I specify the full path of the template, the original command works as expected:
|
Same behavior here under 2.2.2, with the Linux packages (.deb and .tar.gz). Pandoc will find the template if it is in the working directory or if the full path is specified. Specifying the path with |
Ah, I understand now. This seems indeed like a bug, since it's documented in the MANUAL:
|
I suspect the culprit is this change: |
I'll do a bugfix release soon, because I hate regressions! |
On Mac OS 10.14.5 installed with homebrew:
However, this only works for me when files are in |
Under version 2.2.1 and prior pandoc found latex templates in the templates directory under the data directory, but this is no longer working for me under 2.2.2.
pandoc --from=markdown+raw_attribute+smart --pdf-engine=xelatex --template=template-report.latex test.md -o test.tex
gives
Working version:
Non-working version:
In each case this is the version installed using the macOS .pkg installer on the github release page.
The text was updated successfully, but these errors were encountered: