source code

2004-11-15 Thread GERALD STIEBEL
first, excuse my bad english!
i'm a lyx amateur but i want write my thesis with it.
new i have a lot of source code which i have to integrate.
my question:

| how can i to induce lyx to show my source code in a frame and colored?
| perhaps it's possible to mutate the file stdfloats.inc!?

| thank you for your help!

greetings
gerald



Re: source code

2004-11-15 Thread Juergen Spitzmueller
GERALD  STIEBEL wrote:
 | how can i to induce lyx to show my source code in a frame and colored?
 | perhaps it's possible to mutate the file stdfloats.inc!?

Use the listings package:
http://www.ctan.org/tex-archive/macros/latex/contrib/listings/

Unfortunately, LyX has no native listings support (yet). So you are stuck on 
ERT (TeX mode).

HTH,
Jürgen


memory problem

2004-11-15 Thread Sebastien Garrigues
Hi,
exporting to dvi  a .lyx file containing  different include  file, I 
have this error message
TeX capacity exceeded, sorry [pool size=70946].
...univ_corrunivlaiactlaiapp_Alpilles01_500}
 \includegraphics[%
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

Could somebody help me ?
thanks
Sebastien


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: Maths in a short title

2004-11-15 Thread Jean-Marc Lasgouttes
 Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

Jean-Marc This is now bug 1739:
Jean-Marc http://bugzilla.lyx.org/show_bug.cgi?id=1739

The bug is now fixed in cvs (for 1.4.0 and 1.3.6).

JMarc


Lyx works with R Sweave. Followup question enclosed

2004-11-15 Thread Paul Johnson
I followed along with the LyX noweb instructions and have succeeded in 
using LyX to create NoWeb documents that can be sent to the statistical 
program R and turned into LaTex by R's Sweave program.

I was using Emacs for things like this, but found I made about 9 times 
more errors writing equations in the old LaTeX way than I make with LyX. 
Because I figure I will have to do this on 10 different computers with 
10 different users, I wrote down how I did it and pasted it below.

Here's my question.  I would like to make LyX send code chunks to R 
interactively, so that I don't have to process the whole monstrously 
huge LyX document and all attendant R code.  If I'm using Emacs, there's 
a package called ESS that allows me to open an R session and then pipe 
command chunks over.

How about telling me how I can do that with LyX?

HOWTO info---
For information on the statistical program R, consult 
http://www.r-project.org.

For more info on Sweave in R, you can consult the FAQ from the author of 
Sweave, the R component that does the processing of the Rnw file.

http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html
There are 3 steps to make LyX work with Sweave.
1. Put the batch script for processing Rnw files into an executable 
file and save it in your path.  That file is in the Sweave 
documentation, but here it is again for reference. I named it Rweave. 
The version recommended by the Sweave author is this:

Rweave:
#!/bin/sh
echo library(tools); Sweave(\$1\) | R --no-save --no-restore
I've seen various renditions of this script.
2. Fool LyX into thinking you have the whole of Noweb installed.  Noweb 
is a package you can download and install, but you don't need it all. 
All you need is the noweb.sty file, the LaTeX style file.  Install that 
in your LaTeX, I put it under

/usr/local/share/texmf/tex/latex/noweb
because that's a standard place to store user added latex files.  If you 
want, I could package up my /usr/local/share/texmf directory and you 
could untar into your system.  I also have the LaTeX files for the 
beamer presentations I make in LyX, those are the ones I show in Pols 
110 when I don't use Powerpoint.

After dropping the noweb.sty file in, then run
 texhash
to make sure your LaTeX system knows about the file.
3. Configure LyX.
First, open LyX, choose edit and reconfigure and let it run. You 
should notice in the output it finds the noweb style and now you get new 
document classes.

Close LyX, restart.
Now you need to configure LyX. LyX needs to know that your file is a 
NoWeb file and that it has to be post processed. Ordinarly, LyX goes 
directly from *.lyx format to *.tex format, but now it will go from 
*.lyx to *.nw format. You have to tell it how to handle the nw file.

In Lyx, you will see the document classes now include Noweb variants. 
Choose article(Noweb).  THat tells Lyx that you want to process your 
file through another program.  Now you have to tell LyX what that other 
program is.  In Lyx's Edit / Preferences dialog, choose the Converters 
option.  This menu interface is confusing. Here's the way it should go.

a. In the From pulldown, choose NoWeb
b. In the To pulldown, choose LaTeX
c. Hit the new button toward the bottom.
d. Make sure the Converter NoWeb-LaTeX is chosen, and then in the box 
called Converter type the name of the batch script you saved above. 
Mine was called Rweave, so I put Rweave in there.   THe syntax should be

Rweave $$i
--
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Change bar patch for 1.3.5

2004-11-15 Thread Jane McKean
Greetigs:

Mea culpa for the delay in posting this patch back to the group. It is
several months overdue!

We've just put a beta version of our 64-compiler with OpenMP for Fortran
into the testing queue, and finished a week of demos at Supercomputing
in Pittsburgh. All of the compiler and debugger docs are written in LyX!

So now, finally, I have the change bar patches for LyX 1.3.5. I've been
using them with great success with 1.3.4, and (with the help of an
engineer here) I have them ported into the 1.3.5 release of LyX. 

This is the patch that Johnathan Burchill adapted from John Levon's
change tracking code. 99.9% of the work was done by the original
author(s). We incorporated the change bars into the 1.3.4 and then the
1.3.5 version and made a couple of small bug fixes.

The patches were too large to this email. I have a zip file of the patch
plus a plain text file of the diffs. Can someone point me to the
appropriate Wiki page to post them there? Or tell me how and were to
post them? 

Many thanks again to this group for all its help. I love using LyX and
you all make it possible. 

Thanks!
--jane

-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]



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 


Blank TOC in DVI preview

2004-11-15 Thread Maximilien Kintz
Hi,
I use Lyx under Windows XP (and I don't know if it matters).
When I try to view the DVI preview of a document, the TOC sometimes 
doesn't appear, I only see Table of Contents and there is blank space, 
but the TOC isn't generated. I also have sometimes this problem with the 
Export/PDF(pdflatex) function. I have noticed that if I add a section 
and then delete it and try to view the DVI preview again, it works and 
the TOC appears correctly.

How can I fix this? It is annoying to have to try several times before 
my document works...

And something else: I am looking for layouts for French documents, do 
you now where I can find that (for example something to write maths, but 
in French, with Théorème instead of Theorem, and so on).

Maximilien 



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: Change bar patch for 1.3.5

2004-11-15 Thread John Levon
On Mon, Nov 15, 2004 at 11:12:12AM -0800, Jane McKean wrote:

 in Pittsburgh. All of the compiler and debugger docs are written in LyX!
 
 So now, finally, I have the change bar patches for LyX 1.3.5. I've been

Cool! Glad you found them useful.

 1.3.5 version and made a couple of small bug fixes.

What bug fixes?

 The patches were too large to this email. I have a zip file of the patch
 plus a plain text file of the diffs. Can someone point me to the
 appropriate Wiki page to post them there? Or tell me how and were to
 post them? 

http://wiki.lyx.org/pmwiki.php/Tips/ChangeTrackingLyx1-3-2 I suppose.

A pity that there's nowhere we can put these patches and officially
release them...

regards
john


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: Change bar patch for 1.3.5

2004-11-15 Thread Kevin Pfeiffer
John Levon writes:
 A pity that there's nowhere we can put these patches and officially
 release them...

Lyx doesn't have a Sourceforge (or similar) site?

-K
-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


source code

2004-11-15 Thread GERALD STIEBEL
first, excuse my bad english!
i'm a lyx amateur but i want write my thesis with it.
new i have a lot of source code which i have to integrate.
my question:

| how can i to induce lyx to show my source code in a frame and colored?
| perhaps it's possible to mutate the file stdfloats.inc!?

| thank you for your help!

greetings
gerald



Re: source code

2004-11-15 Thread Juergen Spitzmueller
GERALD  STIEBEL wrote:
 | how can i to induce lyx to show my source code in a frame and colored?
 | perhaps it's possible to mutate the file stdfloats.inc!?

Use the listings package:
http://www.ctan.org/tex-archive/macros/latex/contrib/listings/

Unfortunately, LyX has no native listings support (yet). So you are stuck on 
ERT (TeX mode).

HTH,
Jürgen


memory problem

2004-11-15 Thread Sebastien Garrigues
Hi,
exporting to dvi  a .lyx file containing  different include  file, I 
have this error message
TeX capacity exceeded, sorry [pool size=70946].
...univ_corrunivlaiactlaiapp_Alpilles01_500}
 \includegraphics[%
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.

Could somebody help me ?
thanks
Sebastien


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: Maths in a short title

2004-11-15 Thread Jean-Marc Lasgouttes
 Jean-Marc == Jean-Marc Lasgouttes [EMAIL PROTECTED] writes:

Jean-Marc This is now bug 1739:
Jean-Marc http://bugzilla.lyx.org/show_bug.cgi?id=1739

The bug is now fixed in cvs (for 1.4.0 and 1.3.6).

JMarc


Lyx works with R Sweave. Followup question enclosed

2004-11-15 Thread Paul Johnson
I followed along with the LyX noweb instructions and have succeeded in 
using LyX to create NoWeb documents that can be sent to the statistical 
program R and turned into LaTex by R's Sweave program.

I was using Emacs for things like this, but found I made about 9 times 
more errors writing equations in the old LaTeX way than I make with LyX. 
Because I figure I will have to do this on 10 different computers with 
10 different users, I wrote down how I did it and pasted it below.

Here's my question.  I would like to make LyX send code chunks to R 
interactively, so that I don't have to process the whole monstrously 
huge LyX document and all attendant R code.  If I'm using Emacs, there's 
a package called ESS that allows me to open an R session and then pipe 
command chunks over.

How about telling me how I can do that with LyX?

HOWTO info---
For information on the statistical program R, consult 
http://www.r-project.org.

For more info on Sweave in R, you can consult the FAQ from the author of 
Sweave, the R component that does the processing of the Rnw file.

http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html
There are 3 steps to make LyX work with Sweave.
1. Put the batch script for processing Rnw files into an executable 
file and save it in your path.  That file is in the Sweave 
documentation, but here it is again for reference. I named it Rweave. 
The version recommended by the Sweave author is this:

Rweave:
#!/bin/sh
echo library(tools); Sweave(\$1\) | R --no-save --no-restore
I've seen various renditions of this script.
2. Fool LyX into thinking you have the whole of Noweb installed.  Noweb 
is a package you can download and install, but you don't need it all. 
All you need is the noweb.sty file, the LaTeX style file.  Install that 
in your LaTeX, I put it under

/usr/local/share/texmf/tex/latex/noweb
because that's a standard place to store user added latex files.  If you 
want, I could package up my /usr/local/share/texmf directory and you 
could untar into your system.  I also have the LaTeX files for the 
beamer presentations I make in LyX, those are the ones I show in Pols 
110 when I don't use Powerpoint.

After dropping the noweb.sty file in, then run
 texhash
to make sure your LaTeX system knows about the file.
3. Configure LyX.
First, open LyX, choose edit and reconfigure and let it run. You 
should notice in the output it finds the noweb style and now you get new 
document classes.

Close LyX, restart.
Now you need to configure LyX. LyX needs to know that your file is a 
NoWeb file and that it has to be post processed. Ordinarly, LyX goes 
directly from *.lyx format to *.tex format, but now it will go from 
*.lyx to *.nw format. You have to tell it how to handle the nw file.

In Lyx, you will see the document classes now include Noweb variants. 
Choose article(Noweb).  THat tells Lyx that you want to process your 
file through another program.  Now you have to tell LyX what that other 
program is.  In Lyx's Edit / Preferences dialog, choose the Converters 
option.  This menu interface is confusing. Here's the way it should go.

a. In the From pulldown, choose NoWeb
b. In the To pulldown, choose LaTeX
c. Hit the new button toward the bottom.
d. Make sure the Converter NoWeb-LaTeX is chosen, and then in the box 
called Converter type the name of the batch script you saved above. 
Mine was called Rweave, so I put Rweave in there.   THe syntax should be

Rweave $$i
--
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Change bar patch for 1.3.5

2004-11-15 Thread Jane McKean
Greetigs:

Mea culpa for the delay in posting this patch back to the group. It is
several months overdue!

We've just put a beta version of our 64-compiler with OpenMP for Fortran
into the testing queue, and finished a week of demos at Supercomputing
in Pittsburgh. All of the compiler and debugger docs are written in LyX!

So now, finally, I have the change bar patches for LyX 1.3.5. I've been
using them with great success with 1.3.4, and (with the help of an
engineer here) I have them ported into the 1.3.5 release of LyX. 

This is the patch that Johnathan Burchill adapted from John Levon's
change tracking code. 99.9% of the work was done by the original
author(s). We incorporated the change bars into the 1.3.4 and then the
1.3.5 version and made a couple of small bug fixes.

The patches were too large to this email. I have a zip file of the patch
plus a plain text file of the diffs. Can someone point me to the
appropriate Wiki page to post them there? Or tell me how and were to
post them? 

Many thanks again to this group for all its help. I love using LyX and
you all make it possible. 

Thanks!
--jane

-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]



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 


Blank TOC in DVI preview

2004-11-15 Thread Maximilien Kintz
Hi,
I use Lyx under Windows XP (and I don't know if it matters).
When I try to view the DVI preview of a document, the TOC sometimes 
doesn't appear, I only see Table of Contents and there is blank space, 
but the TOC isn't generated. I also have sometimes this problem with the 
Export/PDF(pdflatex) function. I have noticed that if I add a section 
and then delete it and try to view the DVI preview again, it works and 
the TOC appears correctly.

How can I fix this? It is annoying to have to try several times before 
my document works...

And something else: I am looking for layouts for French documents, do 
you now where I can find that (for example something to write maths, but 
in French, with Théorème instead of Theorem, and so on).

Maximilien 



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: Change bar patch for 1.3.5

2004-11-15 Thread John Levon
On Mon, Nov 15, 2004 at 11:12:12AM -0800, Jane McKean wrote:

 in Pittsburgh. All of the compiler and debugger docs are written in LyX!
 
 So now, finally, I have the change bar patches for LyX 1.3.5. I've been

Cool! Glad you found them useful.

 1.3.5 version and made a couple of small bug fixes.

What bug fixes?

 The patches were too large to this email. I have a zip file of the patch
 plus a plain text file of the diffs. Can someone point me to the
 appropriate Wiki page to post them there? Or tell me how and were to
 post them? 

http://wiki.lyx.org/pmwiki.php/Tips/ChangeTrackingLyx1-3-2 I suppose.

A pity that there's nowhere we can put these patches and officially
release them...

regards
john


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: Change bar patch for 1.3.5

2004-11-15 Thread Kevin Pfeiffer
John Levon writes:
 A pity that there's nowhere we can put these patches and officially
 release them...

Lyx doesn't have a Sourceforge (or similar) site?

-K
-- 
Kevin Pfeiffer [EMAIL PROTECTED]
Tiros-Translations


source code

2004-11-15 Thread GERALD STIEBEL
first, excuse my bad english!
i'm a lyx amateur but i want write my thesis with it.
new i have a lot of source code which i have to integrate.
my question:

| how can i to induce lyx to show my source code in a frame and colored?
| perhaps it's possible to mutate the file stdfloats.inc!?

| thank you for your help!

greetings
gerald



Re: source code

2004-11-15 Thread Juergen Spitzmueller
GERALD  STIEBEL wrote:
> | how can i to induce lyx to show my source code in a frame and colored?
> | perhaps it's possible to mutate the file stdfloats.inc!?

Use the listings package:
http://www.ctan.org/tex-archive/macros/latex/contrib/listings/

Unfortunately, LyX has no native listings support (yet). So you are stuck on 
ERT (TeX mode).

HTH,
Jürgen


memory problem

2004-11-15 Thread Sebastien Garrigues
Hi,
exporting to dvi  a .lyx file containing  different "include"  file, I 
have this error message
""TeX capacity exceeded, sorry [pool size=70946].
...univ_corrunivlaiactlaiapp_Alpilles01_500}
 \includegraphics[%
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.""

Could somebody help me ?
thanks
Sebastien


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: Maths in a short title

2004-11-15 Thread Jean-Marc Lasgouttes
> "Jean-Marc" == Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

Jean-Marc> This is now bug 1739:
Jean-Marc> http://bugzilla.lyx.org/show_bug.cgi?id=1739

The bug is now fixed in cvs (for 1.4.0 and 1.3.6).

JMarc


Lyx works with R & Sweave. Followup question enclosed

2004-11-15 Thread Paul Johnson
I followed along with the LyX noweb instructions and have succeeded in 
using LyX to create NoWeb documents that can be sent to the statistical 
program R and turned into LaTex by R's Sweave program.

I was using Emacs for things like this, but found I made about 9 times 
more errors writing equations in the old LaTeX way than I make with LyX. 
Because I figure I will have to do this on 10 different computers with 
10 different users, I wrote down how I did it and pasted it below.

Here's my question.  I would like to make LyX send code chunks to R 
interactively, so that I don't have to process the whole monstrously 
huge LyX document and all attendant R code.  If I'm using Emacs, there's 
a package called ESS that allows me to open an R session and then pipe 
command chunks over.

How about telling me how I can do that with LyX?

HOWTO info---
For information on the statistical program R, consult 
http://www.r-project.org.

For more info on Sweave in R, you can consult the FAQ from the author of 
Sweave, the R component that does the processing of the Rnw file.

http://www.ci.tuwien.ac.at/~leisch/Sweave/FAQ.html
There are 3 steps to make LyX work with Sweave.
1. Put the "batch" script for processing Rnw files into an executable 
file and save it in your path.  That file is in the Sweave 
documentation, but here it is again for reference. I named it Rweave. 
The version recommended by the Sweave author is this:

Rweave:
#!/bin/sh
echo "library(tools); Sweave(\"$1\")" | R --no-save --no-restore
I've seen various renditions of this script.
2. Fool LyX into thinking you have the whole of Noweb installed.  Noweb 
is a package you can download and install, but you don't need it all. 
All you need is the noweb.sty file, the LaTeX style file.  Install that 
in your LaTeX, I put it under

/usr/local/share/texmf/tex/latex/noweb
because that's a standard place to store user added latex files.  If you 
want, I could package up my /usr/local/share/texmf directory and you 
could untar into your system.  I also have the LaTeX files for the 
"beamer" presentations I make in LyX, those are the ones I show in Pols 
110 when I don't use Powerpoint.

After dropping the noweb.sty file in, then run
> texhash
to make sure your LaTeX system knows about the file.
3. Configure LyX.
First, open LyX, choose "edit" and "reconfigure" and let it run. You 
should notice in the output it finds the noweb style and now you get new 
document classes.

Close LyX, restart.
Now you need to configure LyX. LyX needs to know that your file is a 
NoWeb file and that it has to be "post processed". Ordinarly, LyX goes 
directly from *.lyx format to *.tex format, but now it will go from 
*.lyx to *.nw format. You have to tell it how to handle the nw file.

In Lyx, you will see the document classes now include "Noweb" variants. 
Choose article(Noweb).  THat tells Lyx that you want to process your 
file through another program.  Now you have to tell LyX what that other 
program is.  In Lyx's Edit / Preferences dialog, choose the "Converters" 
option.  This menu interface is confusing. Here's the way it should go.

a. In the "From" pulldown, choose NoWeb
b. In the "To" pulldown, choose LaTeX
c. Hit the "new" button toward the bottom.
d. Make sure the Converter NoWeb->LaTeX is chosen, and then in the box 
called "Converter" type the name of the batch script you saved above. 
Mine was called Rweave, so I put Rweave in there.   THe syntax should be

Rweave $$i
--
Paul E. Johnson   email: [EMAIL PROTECTED]
Dept. of Political Sciencehttp://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas  Office: (785) 864-9086
Lawrence, Kansas 66044-3177   FAX: (785) 864-5700


Change bar patch for 1.3.5

2004-11-15 Thread Jane McKean
Greetigs:

Mea culpa for the delay in posting this patch back to the group. It is
several months overdue!

We've just put a beta version of our 64-compiler with OpenMP for Fortran
into the testing queue, and finished a week of demos at Supercomputing
in Pittsburgh. All of the compiler and debugger docs are written in LyX!

So now, finally, I have the change bar patches for LyX 1.3.5. I've been
using them with great success with 1.3.4, and (with the help of an
engineer here) I have them ported into the 1.3.5 release of LyX. 

This is the patch that Johnathan Burchill adapted from John Levon's
change tracking code. 99.9% of the work was done by the original
author(s). We incorporated the change bars into the 1.3.4 and then the
1.3.5 version and made a couple of small bug fixes.

The patches were too large to this email. I have a zip file of the patch
plus a plain text file of the diffs. Can someone point me to the
appropriate Wiki page to post them there? Or tell me how and were to
post them? 

Many thanks again to this group for all its help. I love using LyX and
you all make it possible. 

Thanks!
--jane

-- 
Jane McKean
Technical Documentation
PathScale, Inc.
[EMAIL PROTECTED]



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 


Blank TOC in DVI preview

2004-11-15 Thread Maximilien Kintz
Hi,
I use Lyx under Windows XP (and I don't know if it matters).
When I try to view the DVI preview of a document, the TOC sometimes 
doesn't appear, I only see "Table of Contents" and there is blank space, 
but the TOC isn't generated. I also have sometimes this problem with the 
Export/PDF(pdflatex) function. I have noticed that if I add a section 
and then delete it and try to view the DVI preview again, it works and 
the TOC appears correctly.

How can I fix this? It is annoying to have to try several times before 
my document "works"...

And something else: I am looking for layouts for French documents, do 
you now where I can find that (for example something to write maths, but 
in French, with "Théorème" instead of Theorem, and so on).

Maximilien 



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: Change bar patch for 1.3.5

2004-11-15 Thread John Levon
On Mon, Nov 15, 2004 at 11:12:12AM -0800, Jane McKean wrote:

> in Pittsburgh. All of the compiler and debugger docs are written in LyX!
> 
> So now, finally, I have the change bar patches for LyX 1.3.5. I've been

Cool! Glad you found them useful.

> 1.3.5 version and made a couple of small bug fixes.

What bug fixes?

> The patches were too large to this email. I have a zip file of the patch
> plus a plain text file of the diffs. Can someone point me to the
> appropriate Wiki page to post them there? Or tell me how and were to
> post them? 

http://wiki.lyx.org/pmwiki.php/Tips/ChangeTrackingLyx1-3-2 I suppose.

A pity that there's nowhere we can put these patches and officially
release them...

regards
john


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: Change bar patch for 1.3.5

2004-11-15 Thread Kevin Pfeiffer
John Levon writes:
> A pity that there's nowhere we can put these patches and officially
> release them...

Lyx doesn't have a Sourceforge (or similar) site?

-K
-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations