LyX ⇒ LyX: No information for exporting the format PDF (pdflatex)
LyX: No information for exporting the format PDF (pdflatex)
I have Texwork and MiKtex installed on my laptop as well as Lyx but I'm not able to compile my Lyx documents using the PdfLatex tool.
When I open my Lyx documents I get a message that says: 'The the layout file layout.file by this document is not usable. This is probably because a LaTex class or style file require by it is not available.'
And when I ignore that, open the file and use the pdflatex tool I get a messsage that says: 'No information for exporting the format PDF (pdflatex).'
Please help if you know what is going on.
By the way I'm able to produce pfd files using texworks on my laptop.
Thanks you very much in advance.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: PDFLaTeX
1. Tools > Reconfigure. Restart LyX after reconfiguration is done.
2. Tools > TeX Information. Check "Show Path" checkbox and see if the path is correct (you may try with "Rescan" if the path isn't recognized).
If all fails, you should check your MikTeX path (path to binaries like pdflatex), and enter that path in Tools > Preferences > Paths > PATH Prefix. If you aren't able to tell the path, take a look at TeXWorks preferences, it should be there, in "Typesetting" tab, the first one in the list. Of course, after you set the path manually, you should repeat steps 1. and 2. mentioned above too.
Re: PDFLaTeX
When I go try Tools > Reconfigure I get this warning:
The system reconfiguration has failed. Default texclass is used but Lyx may not be able to work properly. Please reconfigure again if needed.
And when I go to tools > TeX information I get this error:
Lyx: Could not update this information.
The script <the directiroy I have lyx in>/scripts/Texfiles.py'failed.
Any ideas?
Many Thanks!
LyX: No information for exporting the format PDF (pdflatex)
Since this seems to be a technical problem, you may get more relevant answer on LyX's Mailing List. Also, check Gmane archive for "Texfiles.py", there were some issues regarding python in the past, maybe you'll find something useful.