Roger McMurtrie wrote:
The PDF choice has disappeared from my View menu.
I think it probably disappeared after I did an Edit->reconfigure.
I have also recently added the Edit->Change tracking patch which seems to be
working fine.
Any help would be greatly appreciated.
Roger
Two possibilities: either LyX lost the name of the viewer to use, or it
lost the ability to produce PDF output.
First thing to check is Edit->Preferences->File formats->PDF and see if
the Viewer: field is filled in. If not, insert the name of the viewer
there, click Modify and then Save, and see if life gets better. I use
Acrobat Reader, and I can type in just "acrord32" (minus the quotes) and
have it work. Others, though, have reported that it doesn't work on
their systems, and they have to type a full path to it. If you need the
full path, and if the path contains spaces, I think you'll need to
enclose it in double quotes (but I'm not positive). Note that if this
is the problem, you may need to do the same for PDF (pdflatex) and PDF
(dvipdfm).
If the viewer field is correctly filled in, check whether File->Export
lists PDF as an option. If not, LyX has lost track of how to generate a
PDF. Have a look in Edit->Preferences->Converters. The usual route for
"plain" PDF (as opposed to the other two PDF options) is
LyX->LaTeX->DVI->Postscript->PDF prior to version 1.3.6,
LyX->LaTeX->DraftDVI->DVI->Postscript->PDF as of version 1.3.6. The
first step (LyX->LaTeX) is built in, but you'll need converters for each
of the remaining steps. The Postscript->PDF converter on my system
reads "ps2pdf13 $$i" (in the Converter: field). You'll need to recreate
any missing converters (or provide some other sequence that gets from
LaTeX to PDF).
HTH,
Paul