Closed davidjr82 closed 2 years ago
I got this error when running from the application, but if I run the exact command in the bash, I get the PDF:
lstat(./pdflatex) failed: ./pdflatex: No such file or directory kpathsea: Can't get directory of program name: ./pdflatex
Any ideas why is this happening?
pandoc --version
pandoc 2.17.0.1
pdflatex--version
pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
I will answer myself. From the symfony process, pandoc cannot find the pdflatex engine. It is solved adding the full path of the pdf engine as an option:
(...)->option('pdf-engine', '/usr/bin/pdflatex')
Thanks!
I got this error when running from the application, but if I run the exact command in the bash, I get the PDF:
lstat(./pdflatex) failed: ./pdflatex: No such file or directory kpathsea: Can't get directory of program name: ./pdflatex
Any ideas why is this happening?
pandoc --version
outputspandoc 2.17.0.1
(and more)pdflatex--version
outputspdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
(and more)