+++ This bug was initially created as a clone of Bug #861300 +++ Description of problem: When using pandoc on F18, I get: File 'ifluatex.sty' not found Version-Release number of selected component (if applicable): 1.9.4.5-2.fc18 How reproducible: Create a simple pandoc input.txt file. Try to convert it into a pdf using: $ pandoc -t beamer input.txt -o input.pdf Actual results: pandoc: Error producing PDF from TeX source. ! LaTeX Error: File `ifluatex.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. <read *> l.6 \usepackage Expected results: A pdf should be created Additional info: This does not appear to be fixed, even though it says it should be fixed in 861300
Did you install the pandoc-pdf package? Perhaps it needs to be more discoverable...
Yes sir, I do: [thoraxe@t510dora ~]$ yum list installed '*pandoc*' '*pdf*' Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages ghc-pandoc-types.x86_64 1.9.1-5.fc18 @fedora libreoffice-pdfimport.x86_64 1:3.6.6.2-3.fc18 @updates pandoc.x86_64 1.9.4.5-2.fc18 @fedora pandoc-pdf.x86_64 1.9.4.5-2.fc18 @fedora texlive-pdftex.noarch 2:svn29349.1.40.11-20.fc18 @updates texlive-pdftex-bin.x86_64 2:svn27321.0-20.20130321_r29448.fc18 @updates texlive-thumbpdf.noarch 2:svn26689.3.15-20.fc18 @updates texlive-thumbpdf-bin.noarch 2:svn6898.0-20.20130321_r29448.fc18 @updates [thoraxe@t510dora ~]$ rpm -ql pandoc-pdf | grep ifluatex [thoraxe@t510dora ~]$ Looks like it comes from this: 1:texlive-ifluatex-1.3.svn26725-8.fc18.noarch Perhaps that needs to be required by pandoc-pdf?
After installing ifluatex, you then get this error: [thoraxe@t510dora sme]$ pandoc -o sme-meeting-130429.pdf sme-meeting-130429.md pandoc: Error producing PDF from TeX source. ! LaTeX Error: File `pdftex.def' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: def) Enter file name: ! Emergency stop. <read *> l.131 ...d{ver@\Gin@driver}{\input{\Gin@driver}}{} Which is provided by: texlive-pdftex-def And after installing that, it finally works. Looks like there are some dependency chains here not met well.
Thanks for reporting this. I guess the recent texlive updates changed/broke it. I did some testing with: $ echo hello | pandoc -o test.pdf and found that the simplest though not smallest solution seems to be to install texlive-collection-latexrecommended: but texlive-collection-latex + texlive-ec seems to be sufficient for basic pdflatex use with T1 font encoding. So for now I will just make pandoc-pdf depend on texlive-collection-latex and texlive-ec I think. For --latex-engine=xelatex, texlive-collection-xetex is needed, and for lualatex, texlive-collection-luatex.
This is should be fixed in pandoc-1.11.1-2.fc19. F18 backport is still pending.
This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.