Tomohiru Nishino wrote:

> 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.)

Hi Tomohiru, thanks for chiming in.  The method I suggested works just
fine for me; no multiple copies.  As a remark later in your message
suggests, I believe that, to update your PDFs, you are using only "View
-> PDF (pdflatex)" rather than "View-> Update -> PDF (pdflatex)", as I'd
suggested.   Updating that way WILL in fact run a new copy of TeXShop if
you configure things according to my suggestion.

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

That is certainly more "OS X"-ish, and in light of the above, it is
marginally preferable since it saves you a mouse gesture (though it
works out the same for appropriate keystroke macros, which is my
preferred method of previewing/updating).

> Then, do as Chris suggests and use "View->PDF(pdflatex)" to preview
> documents.  

Almost, but not quite, what I'd suggested! :-)

> 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.

That would, for me, be "major" in the sense of "show stopper"!

-chris

Reply via email to