On Nov 15, 2004, at 6:24 AM, Chris Menzel wrote:

On Fri, Nov 12, 2004 at 04:18:09PM -0600, dcbns wrote:
I'm having problems getting LyX (1.3.5, precompiled QT) on Mac OS X
(10.3.6) to work with X11 programs like xdvi and gv.

Hi Dave,

In case you are not aware of this option, as an alternative to
xdvi and gv you might try using TeXShop as your previewer, as it is OS X
native and renders beautiful PDF
(http://www.uoregon.edu/~koch/texshop/texshop.html). To do so, set
"Preferences -> File formats -> PDF (pdflatex)" in LyX to
"/Applications/TeXShop.app/Contents/MacOS/TeXShop" and use "View -> PDF
(pdflatex)" to view your document. To have TeXShop refresh
automatically when you have LyX update via "View -> Update -> PDF
(pdflatex)", click the "Automatic Preview Update" box in the "TeXShop ->
Preferences -> Preview" dialog.



One minor correction. If you do it this way, the "View->Update->PDF(pdflatex)" doesn't work, and every time you try to preview a document will cause a new instance of TeXShop to run (you will get multiple copies of TeXShop running, and will see multiple TeXShop icons on the dock). (At least that is what happens on my machine.)


Instead, in "Preferences->File formats->PDF(pdflatex)" set the viewer field to:

open -a "TeXShop"

Then, do as Chris suggests and use "View->PDF(pdflatex)" to preview documents. This way, the automatic update works as well.

By the way, if you want to use Preview as your viewer, all you have to do is set the Preferences to:

open -a "Preview"

The major drawback is that Preview does not support updating of the document that is already open, so each time you want to see changes you have made, you have to close the previously open document in Preview.

Tn



Reply via email to