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
[LaTeX]: file ending ".tex" is required for \input{} #8092
Comments
Thanks for the report. Can you please try with the newest pandoc version? See https://pandoc.org/installing.html |
Hoi, unfortunately the output is exactly the same.
|
See 11810ed for the reason. |
Wait a second. I just tried compiling a simple tex file with
using pdflatex, which complained:
So pandoc seems to be doing exactly what pdflatex is doing here. If so, I don't see that a change is warranted. |
Interesting. For me, pdflatex and lualatex both compile just fine. I'm not very super proficient in reading TeX, but page 340 of source2e sounds to me as if the I tested this by inserting
and the second one
I am using pdflatex from TeX Live from the Fedora repository.
|
I think I was being sloppy; I tried with |
Explain the problem.
When exporting an Inkscape drawing as PDF, there is an option "Omit text in PDF and create LaTeX file". In addition to
foo.pdf
, a filefoo.pdf_tex
is created which is meant to be included using\input{foo.pdf_tex}
. This all works well, but pandoc adds.tex
to the input file and then complains it doesn't find it:(See MRE attached mre.zip)
Proposed solution
Try to find input file exactly as specified and only add
.tex
if it cannot be found.Pandoc version?
Using Fedora 36, pandoc and texlive 2021 from the official repositories.
The text was updated successfully, but these errors were encountered: