Stefano Franchi wrote:
I need to recover the ability to generate (and see) a Pdf file via the dvips route. I lost the relevant items in the "View" menu a long time ago and never bother fixing the problem, because I was happy with pdftex. But now I have problems with the latter (after installing some fancy fonts) and need to go the other route. Can anyone remind me how to reinstruct LyX to perform the proper conversions?

I am on a Mac, 10.3.9, running LyX 1.3.6 with Gerben Wierda's version of TeTex. dvips and company work fine when used from the console and/or TexShop.


The following assumes that Ghostscript is also installed and working, since you need it for the Postscript->PDF conversion (unless something else is used on Macs).

Go to the Edit->Preferences->Converters dialog. You need two converters, DVI->Postscript and Postscript->PDF. On my system (Win XP, but this should be platform-independent) the Converter: line for DVI->Postscript is 'dvips -o $$o $$i' with no extra flags; for Postscript->PDF it is 'ps2pdf13 $$i', again with no flags. (You may want to experiment with other converters from the Ghostscript lib directory, such as ps2pdf14.)

If a converter is present but the Converter: line is empty, you can fill in the field and click Modify and then Save. If a converter is completely missing, set the From: and To: drop down lists, fill in the Converter: line, then click New followed by Save.

Paul

Reply via email to