Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
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.

Chris Menzel



Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
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


Re: LyX/Mac X11 issue

2004-11-15 Thread Stefano Franchi

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

, click the Automatic Preview Update box in the TeXShop -
Preferences - Preview dialog.
There does not seem to be any such Preference in my version of TeXShop 
(1.19, just downloaded), though.
Automatic updating does not seem to happen either by selecting 
ViewPDF(Latex) or ViewUpdatePDF(latex)

S.

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
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
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



Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
 , click the Automatic Preview Update box in the TeXShop -
 Preferences - Preview dialog.
 
 
 There does not seem to be any such Preference in my version of TeXShop 
 (1.19, just downloaded), though.

?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google texshop.
Should be the first site.

 Automatic updating does not seem to happen either by selecting 
 ViewPDF(Latex) or ViewUpdatePDF(latex)

Right, not with pre-1.30 versions of TeXShop.  Let me know if you're
having trouble finding a recent version.

-chris



Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
On Nov 15, 2004, at 6:03 PM, Chris Menzel wrote:
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.

I tried it again, and you know what, you are absolutely right.  It both 
preview and update work properly with either specifying the full path 
or using the open -a method.  Go figure, must have had things 
configured incorrectly or something the last time I tried the full path 
method.

On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
There does not seem to be any such Preference in my version of TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
texshop.
Should be the first site.
Yup.  The latest version is 1.35.  The page for TeXShop is:
http://www.uoregon.edu/~koch/texshop/texshop.html
Just got it myself to try out previewing with TeXShop.  It never 
occurred to me to use TeXShop as a previewer, and I had resigned myself 
to the fact that I would just have to live with the fact the 
Preview/Acrobat does not support update.

Thanks for the tip Chris.
Tn


Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
On Nov 15, 2004, at 6:06 PM, Chris Menzel wrote:
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
, click the Automatic Preview Update box in the TeXShop -
Preferences - Preview dialog.
There does not seem to be any such Preference in my version of TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
texshop.
Should be the first site.
It just occurred to me.  TeXShop 1.35 only works with 10.2 and above.  
If Stefano is using still using 10.1, then he is stuck with 1.19, and 
no support for update.

Tn


Re: LyX/Mac X11 issue

2004-11-15 Thread Stefano Franchi
Thanks for the tip. I did indeed download it from the main site, but I 
was in a hurry and I must have clicked over the next line by mistake. 
(The two versions are just one after the other. I bet the site 
maintainer  never thought that could cause problems with hurried 
users...).  I am on 10.3.6, so no problems there.  Many thanks to 
Chris--as Tomoharu, I knew of TeXShop but never thought of using it as 
a previewer.

Cheers,
S.
On Nov 16, 2004, at 2:22 PM, Tomoharu Nishino wrote:
On Nov 15, 2004, at 6:06 PM, Chris Menzel wrote:
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
, click the Automatic Preview Update box in the TeXShop -
Preferences - Preview dialog.
There does not seem to be any such Preference in my version of 
TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
texshop.
Should be the first site.
It just occurred to me.  TeXShop 1.35 only works with 10.2 and above.  
If Stefano is using still using 10.1, then he is stuck with 1.19, and 
no support for update.

Tn
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
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.

Chris Menzel



Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
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


Re: LyX/Mac X11 issue

2004-11-15 Thread Stefano Franchi

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

, click the Automatic Preview Update box in the TeXShop -
Preferences - Preview dialog.
There does not seem to be any such Preference in my version of TeXShop 
(1.19, just downloaded), though.
Automatic updating does not seem to happen either by selecting 
ViewPDF(Latex) or ViewUpdatePDF(latex)

S.

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
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
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



Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
 , click the Automatic Preview Update box in the TeXShop -
 Preferences - Preview dialog.
 
 
 There does not seem to be any such Preference in my version of TeXShop 
 (1.19, just downloaded), though.

?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google texshop.
Should be the first site.

 Automatic updating does not seem to happen either by selecting 
 ViewPDF(Latex) or ViewUpdatePDF(latex)

Right, not with pre-1.30 versions of TeXShop.  Let me know if you're
having trouble finding a recent version.

-chris



Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
On Nov 15, 2004, at 6:03 PM, Chris Menzel wrote:
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.

I tried it again, and you know what, you are absolutely right.  It both 
preview and update work properly with either specifying the full path 
or using the open -a method.  Go figure, must have had things 
configured incorrectly or something the last time I tried the full path 
method.

On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
There does not seem to be any such Preference in my version of TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
texshop.
Should be the first site.
Yup.  The latest version is 1.35.  The page for TeXShop is:
http://www.uoregon.edu/~koch/texshop/texshop.html
Just got it myself to try out previewing with TeXShop.  It never 
occurred to me to use TeXShop as a previewer, and I had resigned myself 
to the fact that I would just have to live with the fact the 
Preview/Acrobat does not support update.

Thanks for the tip Chris.
Tn


Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
On Nov 15, 2004, at 6:06 PM, Chris Menzel wrote:
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
, click the Automatic Preview Update box in the TeXShop -
Preferences - Preview dialog.
There does not seem to be any such Preference in my version of TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
texshop.
Should be the first site.
It just occurred to me.  TeXShop 1.35 only works with 10.2 and above.  
If Stefano is using still using 10.1, then he is stuck with 1.19, and 
no support for update.

Tn


Re: LyX/Mac X11 issue

2004-11-15 Thread Stefano Franchi
Thanks for the tip. I did indeed download it from the main site, but I 
was in a hurry and I must have clicked over the next line by mistake. 
(The two versions are just one after the other. I bet the site 
maintainer  never thought that could cause problems with hurried 
users...).  I am on 10.3.6, so no problems there.  Many thanks to 
Chris--as Tomoharu, I knew of TeXShop but never thought of using it as 
a previewer.

Cheers,
S.
On Nov 16, 2004, at 2:22 PM, Tomoharu Nishino wrote:
On Nov 15, 2004, at 6:06 PM, Chris Menzel wrote:
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
, click the Automatic Preview Update box in the TeXShop -
Preferences - Preview dialog.
There does not seem to be any such Preference in my version of 
TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
texshop.
Should be the first site.
It just occurred to me.  TeXShop 1.35 only works with 10.2 and above.  
If Stefano is using still using 10.1, then he is stuck with 1.19, and 
no support for update.

Tn
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
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.

Chris Menzel



Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
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


Re: LyX/Mac X11 issue

2004-11-15 Thread Stefano Franchi

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

, click the "Automatic Preview Update" box in the "TeXShop ->
Preferences -> Preview" dialog.
There does not seem to be any such Preference in my version of TeXShop 
(1.19, just downloaded), though.
Automatic updating does not seem to happen either by selecting 
"View>PDF(Latex) or View>Update>PDF(latex)

S.

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
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
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



Re: LyX/Mac X11 issue

2004-11-15 Thread Chris Menzel
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
> >>, click the "Automatic Preview Update" box in the "TeXShop ->
> >>Preferences -> Preview" dialog.
> >>
> 
> There does not seem to be any such Preference in my version of TeXShop 
> (1.19, just downloaded), though.

?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google "texshop".
Should be the first site.

> Automatic updating does not seem to happen either by selecting 
> "View>PDF(Latex) or View>Update>PDF(latex)

Right, not with pre-1.30 versions of TeXShop.  Let me know if you're
having trouble finding a recent version.

-chris



Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
On Nov 15, 2004, at 6:03 PM, Chris Menzel wrote:
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.

I tried it again, and you know what, you are absolutely right.  It both 
preview and update work properly with either specifying the full path 
or using the "open -a" method.  Go figure, must have had things 
configured incorrectly or something the last time I tried the full path 
method.

On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
There does not seem to be any such Preference in my version of TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
"texshop".
Should be the first site.
Yup.  The latest version is 1.35.  The page for TeXShop is:
http://www.uoregon.edu/~koch/texshop/texshop.html
Just got it myself to try out previewing with TeXShop.  It never 
occurred to me to use TeXShop as a previewer, and I had resigned myself 
to the fact that I would just have to live with the fact the 
Preview/Acrobat does not support "update".

Thanks for the tip Chris.
Tn


Re: LyX/Mac X11 issue

2004-11-15 Thread Tomoharu Nishino
On Nov 15, 2004, at 6:06 PM, Chris Menzel wrote:
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
, click the "Automatic Preview Update" box in the "TeXShop ->
Preferences -> Preview" dialog.
There does not seem to be any such Preference in my version of TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
"texshop".
Should be the first site.
It just occurred to me.  TeXShop 1.35 only works with 10.2 and above.  
If Stefano is using still using 10.1, then he is stuck with 1.19, and 
no support for "update".

Tn


Re: LyX/Mac X11 issue

2004-11-15 Thread Stefano Franchi
Thanks for the tip. I did indeed download it from the main site, but I 
was in a hurry and I must have clicked over the next line by mistake. 
(The two versions are just one after the other. I bet the site 
maintainer  never thought that could cause problems with hurried 
users...).  I am on 10.3.6, so no problems there.  Many thanks to 
Chris--as Tomoharu, I knew of TeXShop but never thought of using it as 
a previewer.

Cheers,
S.
On Nov 16, 2004, at 2:22 PM, Tomoharu Nishino wrote:
On Nov 15, 2004, at 6:06 PM, Chris Menzel wrote:
On Tue, Nov 16, 2004 at 11:08:37AM +1300, Stefano Franchi wrote:
, click the "Automatic Preview Update" box in the "TeXShop ->
Preferences -> Preview" dialog.
There does not seem to be any such Preference in my version of 
TeXShop
(1.19, just downloaded), though.
?? Latest version is 1.35.  Just picked it up myself.  Are you getting
it directly from Koch's site at University of Oregon?  Google 
"texshop".
Should be the first site.
It just occurred to me.  TeXShop 1.35 only works with 10.2 and above.  
If Stefano is using still using 10.1, then he is stuck with 1.19, and 
no support for "update".

Tn
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: LyX/Mac X11 issue

2004-11-13 Thread dcbns
I figured this out, but the FAQ didn't seem to work, because it says 
you don't need an environment.plist any more, but I had to create a 
.MacOSX/environment.plist to set the environment variables for PATH and 
DISPLAY (don't know which one was needed as I set them both up at once 
and it worked).

Also, in researching this I found a way to get X11 to execute if it's 
not already running.  Since the QT version of LyX doesn't require X11 
to be running, but gv and xdvi do, it's nice to have them start when 
you need them, rather than having to remember whether you've started 
X11.

There may be other ways of doing this, but here's how I did it.  Use a 
shell script to call gv rather than execute gv directly (so call the 
script rather than gv in preferneces, outputs, file formats).  My 
script is this:

#!/bin/sh
# make sure X11 is running
osascript EOF
tell app X11
  activate
end tell
EOF
#start gv
gv $1
This runs a short applescript that activates X11 (meaning, launches it 
if it's not running, but if it is running simply give it the focus) and 
then starts gv.  I have a similar script for xdvi.  One nice thing 
about this is that your gv window is active, so you don't have to click 
it to make it active.

Just thought I'd share this with anyone following along.
Still can't get reverse DVI to work, however.
--Dave
On Nov 12, 2004, at 9:47 PM, Bennett Helm wrote:
On Nov 12, 2004, at 5:18 PM, 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.  Those viewers 
simply don't run when I start LyX by double clicking from the 
applications folder.  However, I have the paths and display correctly 
set for when I open terminals (both Apple's terminal and xterm in 
X11).  Further, if I use open /Applications/LyX.app from a terminal 
(either xterm or apple's terminal) to start LyX then everything works 
fine and gv and xdvi run from LyX.  But I simply can't get them to 
run if I simply double click LyX.
I've clarified the instructions somewhat on the wiki 
(http://wiki.lyx.org/pmwiki.php/LyX/Mac). That should help you.

Bennett



Re: LyX/Mac X11 issue

2004-11-13 Thread dcbns
I figured this out, but the FAQ didn't seem to work, because it says 
you don't need an environment.plist any more, but I had to create a 
.MacOSX/environment.plist to set the environment variables for PATH and 
DISPLAY (don't know which one was needed as I set them both up at once 
and it worked).

Also, in researching this I found a way to get X11 to execute if it's 
not already running.  Since the QT version of LyX doesn't require X11 
to be running, but gv and xdvi do, it's nice to have them start when 
you need them, rather than having to remember whether you've started 
X11.

There may be other ways of doing this, but here's how I did it.  Use a 
shell script to call gv rather than execute gv directly (so call the 
script rather than gv in preferneces, outputs, file formats).  My 
script is this:

#!/bin/sh
# make sure X11 is running
osascript EOF
tell app X11
  activate
end tell
EOF
#start gv
gv $1
This runs a short applescript that activates X11 (meaning, launches it 
if it's not running, but if it is running simply give it the focus) and 
then starts gv.  I have a similar script for xdvi.  One nice thing 
about this is that your gv window is active, so you don't have to click 
it to make it active.

Just thought I'd share this with anyone following along.
Still can't get reverse DVI to work, however.
--Dave
On Nov 12, 2004, at 9:47 PM, Bennett Helm wrote:
On Nov 12, 2004, at 5:18 PM, 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.  Those viewers 
simply don't run when I start LyX by double clicking from the 
applications folder.  However, I have the paths and display correctly 
set for when I open terminals (both Apple's terminal and xterm in 
X11).  Further, if I use open /Applications/LyX.app from a terminal 
(either xterm or apple's terminal) to start LyX then everything works 
fine and gv and xdvi run from LyX.  But I simply can't get them to 
run if I simply double click LyX.
I've clarified the instructions somewhat on the wiki 
(http://wiki.lyx.org/pmwiki.php/LyX/Mac). That should help you.

Bennett



Re: LyX/Mac X11 issue

2004-11-13 Thread dcbns
I figured this out, but the FAQ didn't seem to work, because it says 
you don't need an environment.plist any more, but I had to create a 
.MacOSX/environment.plist to set the environment variables for PATH and 
DISPLAY (don't know which one was needed as I set them both up at once 
and it worked).

Also, in researching this I found a way to get X11 to execute if it's 
not already running.  Since the QT version of LyX doesn't require X11 
to be running, but gv and xdvi do, it's nice to have them start when 
you need them, rather than having to remember whether you've started 
X11.

There may be other ways of doing this, but here's how I did it.  Use a 
shell script to call gv rather than execute gv directly (so call the 
script rather than gv in preferneces, outputs, file formats).  My 
script is this:

#!/bin/sh
# make sure X11 is running
osascript <
#start gv
gv "$1"
This runs a short applescript that activates X11 (meaning, launches it 
if it's not running, but if it is running simply give it the focus) and 
then starts gv.  I have a similar script for xdvi.  One nice thing 
about this is that your gv window is active, so you don't have to click 
it to make it active.

Just thought I'd share this with anyone following along.
Still can't get reverse DVI to work, however.
--Dave
On Nov 12, 2004, at 9:47 PM, Bennett Helm wrote:
On Nov 12, 2004, at 5:18 PM, 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.  Those viewers 
simply don't run when I start LyX by double clicking from the 
applications folder.  However, I have the paths and display correctly 
set for when I open terminals (both Apple's terminal and xterm in 
X11).  Further, if I use "open /Applications/LyX.app" from a terminal 
(either xterm or apple's terminal) to start LyX then everything works 
fine and gv and xdvi run from LyX.  But I simply can't get them to 
run if I simply double click LyX.
I've clarified the instructions somewhat on the wiki 
(). That should help you.

Bennett



Re: LyX/Mac X11 issue

2004-11-12 Thread Bennett Helm
On Nov 12, 2004, at 5:18 PM, 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.  Those viewers 
simply don't run when I start LyX by double clicking from the 
applications folder.  However, I have the paths and display correctly 
set for when I open terminals (both Apple's terminal and xterm in 
X11).  Further, if I use open /Applications/LyX.app from a terminal 
(either xterm or apple's terminal) to start LyX then everything works 
fine and gv and xdvi run from LyX.  But I simply can't get them to run 
if I simply double click LyX.
I've clarified the instructions somewhat on the wiki 
(http://wiki.lyx.org/pmwiki.php/LyX/Mac). That should help you.

Bennett


Re: LyX/Mac X11 issue

2004-11-12 Thread Bennett Helm
On Nov 12, 2004, at 5:18 PM, 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.  Those viewers 
simply don't run when I start LyX by double clicking from the 
applications folder.  However, I have the paths and display correctly 
set for when I open terminals (both Apple's terminal and xterm in 
X11).  Further, if I use open /Applications/LyX.app from a terminal 
(either xterm or apple's terminal) to start LyX then everything works 
fine and gv and xdvi run from LyX.  But I simply can't get them to run 
if I simply double click LyX.
I've clarified the instructions somewhat on the wiki 
(http://wiki.lyx.org/pmwiki.php/LyX/Mac). That should help you.

Bennett


Re: LyX/Mac X11 issue

2004-11-12 Thread Bennett Helm
On Nov 12, 2004, at 5:18 PM, 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.  Those viewers 
simply don't run when I start LyX by double clicking from the 
applications folder.  However, I have the paths and display correctly 
set for when I open terminals (both Apple's terminal and xterm in 
X11).  Further, if I use "open /Applications/LyX.app" from a terminal 
(either xterm or apple's terminal) to start LyX then everything works 
fine and gv and xdvi run from LyX.  But I simply can't get them to run 
if I simply double click LyX.
I've clarified the instructions somewhat on the wiki 
(). That should help you.

Bennett