LyXPDF View and Export fails

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
jaykay
Posts: 1
Joined: Sun Apr 21, 2013 12:43 pm

PDF View and Export fails

Post by jaykay »

I've been using LyX for over a year, and this is the first time that I'm experiencing a problem with it.

I recently upgraded Adobe Acrobat XI, and since then, I have been unable to view LyX files and to export them, as the following warning message displays:
File does not exist:
C:/Users/User1/AppData/Local/Temp/lyx_tempdir.Hp2448/lyx_tmpbuf2/newfile1.pdf
I've already tried to uninstall and install LyX and MiKTeX several times, as well as deleting all preferences and all register entries, but nothing works. If it is an Adobe Acrobat problem, I have to point out that it works perfectly but for this problem.

What can I do to solve it?

Thank you in advance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: PDF View and Export fails

Post by scottkosty »

Hi, yes the problem is possibly with Adobe Acrobat. There are lots or problems with it working well with LyX. One thing you could try is Tools > Reconfigure. Restart LyX and try again. If that doesn't work well, you can experiment with the viewer command in Tools > Preferences > File Formats.

If that doesn't work, there are many alternatives. You could try Sumatra, MuPDF, or others.
87234asdffdd
Posts: 7
Joined: Mon Jul 06, 2015 4:46 pm

PDF View and Export fails

Post by 87234asdffdd »

jaykay wrote:I've been using LyX for over a year, and this is the first time that I'm experiencing a problem with it.

I recently upgraded Adobe Acrobat XI, and since then, I have been unable to view LyX files and to export them, as the following warning message displays:
File does not exist:
C:/Users/User1/AppData/Local/Temp/lyx_tempdir.Hp2448/lyx_tmpbuf2/newfile1.pdf
I've already tried to uninstall and install LyX and MiKTeX several times, as well as deleting all preferences and all register entries, but nothing works. If it is an Adobe Acrobat problem, I have to point out that it works perfectly but for this problem.

What can I do to solve it?
I was having this same problem. Looking at the Lyx Process/Debug Messages was helpful. In my case, some missing stuff was causing an error that caused the PDF file to be deleted. I think this is technically a bug in LyX, since the message to the user is very misleading. However, in my case, the problem was the following:
Lyx Process/Debug Messages wrote:09:24:00.914: Trying to make PK font phvr8r at 600 DPI...
09:24:00.914: Running miktex-makemf.exe...
09:24:00.961: miktex-makepk: The application file ttf2pk.exe could not be found.
09:24:00.961:
09:24:00.961: xdvipdfmx:fatal: Cannot proceed without .vf or "physical" font for PDF output...
09:24:00.961:
09:24:00.961: Output file removed.
KateBI
Posts: 2
Joined: Thu Jul 23, 2015 4:07 pm

Re: PDF View and Export fails

Post by KateBI »

After reinstalling new version of LYX 2.1.3, i faced with the problem, that it does not read .emf format files, as previous versions of LYX did. How to solve this problem?? (if not converting .emf files into .pdf files)
Post Reply