-
Notifications
You must be signed in to change notification settings - Fork 161
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
Impossible to include a PDF image with '.' in filename #187
Comments
To prevent issues with `\includegraphics` for both pdflatex and tectonic, see tectonic-typesetting/tectonic#187 . Also, consolidate `$$opts{rasterize}`, `$$opts{pdf_plots}` and `$$opts{fmt}` variables in `$$opts{img_fmt}`, which could support other formats in the future (e.g. eps).
Try to add square brackets before the suffix: |
@pd3 Thanks, that works! I'll leave to the Tectonic maintainers if the workaround is enough to close this issue. |
To prevent issues with `\includegraphics` for both pdflatex and tectonic, see tectonic-typesetting/tectonic#187 . Also, consolidate `$$opts{rasterize}`, `$$opts{pdf_plots}` and `$$opts{fmt}` variables in `$$opts{img_fmt}`, which could support other formats in the future (e.g. eps).
Thanks for the workaround @pd3! If |
This appears to be bug-compatible with I believe Also, FYI, there is an alternative solution using \documentclass{article}
\usepackage{graphicx}
\usepackage{grffile}
\begin{document}
\includegraphics[width=15cm]{indels.0.pdf}
\end{document} Since this issue exists in XeTeX and appears to work as intended, I don't think Tectonic should be changed at this point in time. |
From a comment in a relevant discussion in pandoc's issue tracker, this should be getting fixed upstream: |
For this simple document:
pdflatex test.tex
fails with:while
tectonic test.tex
fails with:After renaming
indels.0.pdf
toindels_0.pdf
, and updatingtest.tex
to:both
pdflatex
andtectonic
work.It is possible to workaround the problem for
pdflatex
by modifyingtest.tex
to:pdflatex test.tex
works, whiletectonic test.tex
fails with:which is probably a separate issue.
Versions:
Tectonic installed from conda-forge.
The text was updated successfully, but these errors were encountered: