You are not logged in.
I try to use Pandoc to export a pdf file:
pandoc appunti.md -o appunti.pdf but I have this error back:
pdflatex not found. Please select a different --pdf-engine or install pdflatexI looked for in the web and forum but I dont find how to install this pdf-engine named pdflatex
At really I dont find any information about what is a pdf-engine
Somebody know where I can find some reference ?
Thanks.
Last edited by clingonboy (2020-12-21 21:06:03)
Offline
Did you check the optional dependencies for pandoc?
....
Optional Deps : pandoc-citeproc: for citation rendering with pandoc-citeproc filter
pandoc-crossref: for numbering figures, equations, tables and cross-references to them with pandoc-crossref filter
texlive-core: for pdf outputLast edited by loqs (2020-12-21 20:12:34)
Offline
I don't know how to do that
Offline
See Pacman#Querying_package_databases .
See also Pacman#Search_for_a_package_that_contains_a_specific_file so you could locate pdflatex.
Offline
If I try:
pacman -F pdflatex
extra/texlive-bin 2020.54586-7
usr/bin/pdflatexbut in any case if I try:
pandoc appunti.md --pdf-engine=pdflatex -o appunti.pdf I have the error:
pdflatex not found. Please select a different --pdf-engine or install pdflatexOffline
pandoc lists texlive-core as an optional dependency with the description "for pdf output". Installing texlive-core would install its dependency textlive-bin which provides /usr/bin/pdflatex.
Offline
I don't understand why if i try
pacman -Ss pdflatex
I don't have any result
Offline
The pacman -F command you've used showed you that texlive-bin is the package you want to install as that contains pdflatex
Offline
pdflatex is not a package name and is not listed in the description of any package, so no matches. You found it from the file search which told you which package provided /usr/bin/pdflatex.
The options dependencies also listed what to install for PDF support in pandoc.
Offline
Now is clear.
I installed texlive-core and now it works.
sorry I'm slow also because my connection is poor and this was other 450Mb
Thanks for your help.
Offline
pdflatex is not a package name and is not listed in the description of any package, so no matches. You found it from the file search which told you which package provided /usr/bin/pdflatex.
The options dependencies also listed what to install for PDF support in pandoc.
Now I have understand enother point, I need to study better all the pacman options and how it works.
Offline