Re: ugly latex code

2004-02-18 Thread Angus Leeming
Andre Poenitz wrote: > I don't mean by using a script but rather by mathed's "native" I/O. I understood. However, you talked about "replace '\[' by '\[%\n '". I was pointing out that it looks like that case is handled already. Instead running a lyx 1.3.x file through the script replaced 'foo\['

Re: ugly latex code

2004-02-18 Thread Andre Poenitz
On Wed, Feb 18, 2004 at 10:24:22AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > It would be cheap and 'harmless' to replace '\[' by '\[%\n ' etc > > from within LyX. > > > > Should I do that? > > I think that happens already. Here's an example of what the script I > posted did on stuf

Re: ugly latex code

2004-02-18 Thread Angus Leeming
Andre Poenitz wrote: > It would be cheap and 'harmless' to replace '\[' by '\[%\n ' etc > from within LyX. > > Should I do that? I think that happens already. Here's an example of what the script I posted did on stuff exported from lyx 1.3.x: mass to be conserved, this mass increase must be b

Re: ugly latex code

2004-02-18 Thread Andre Poenitz
On Wed, Feb 18, 2004 at 10:03:44AM +, Angus Leeming wrote: > Huaiyu Duan wrote: > > 2) Instead of including latex beautifying code into LyX, I suggest > > an independent script is used to do the work. The benefits are > > obvious. It won't introduce bugs into LyX. It won't have any impact > > o

Re: ugly latex code

2004-02-18 Thread Angus Leeming
Huaiyu Duan wrote: > 2) Instead of including latex beautifying code into LyX, I suggest > an independent script is used to do the work. The benefits are > obvious. It won't introduce bugs into LyX. It won't have any impact > on people who don't want the latex code. It may be less efficient to > gen

Re: ugly latex code

2004-02-17 Thread Andre Poenitz
On Tue, Feb 17, 2004 at 09:15:03AM -0600, Huaiyu Duan wrote: > I did and got the same result. It is a little bit wierd. Latex is > more or less like a programming language, but no one writes a > beautifying script for it. I guess that's simply because (La)TeX syntax is highly convoluted if not mes

Re: ugly latex code

2004-02-17 Thread Andre Poenitz
On Mon, Feb 16, 2004 at 08:24:14PM -0600, Huaiyu Duan wrote: > I use LyX a lot to document what I have done or write short technical > notes. It really saves time for me againts checking the grammar of latex > code. However, there is a problem when it comes to submiting papers to > journals. Th

Re: ugly latex code

2004-02-17 Thread Huaiyu Duan
From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> To: "Huaiyu Duan" <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: ugly latex code Date: Tue, 17 Feb 2004 16:40:50 +0100 I think that there are a lot of small things we could do to improve the output of equations. However,

Re: ugly latex code

2004-02-17 Thread Jean-Marc Lasgouttes
> "Huaiyu" == Huaiyu Duan <[EMAIL PROTECTED]> writes: Huaiyu> Hi, I use LyX a lot to document what I have done or write Huaiyu> short technical notes. It really saves time for me againts Huaiyu> checking the grammar of latex code. However, there is a Huaiyu> problem when it comes to submiting

Re: ugly latex code

2004-02-17 Thread Huaiyu Duan
- Original Message - From: "Helge Hafting" <[EMAIL PROTECTED]> To: "Huaiyu Duan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, February 17, 2004 4:07 AM Subject: Re: ugly latex code > Huaiyu Duan wrote: > > Hi, > > >

Re: ugly latex code

2004-02-17 Thread Helge Hafting
Huaiyu Duan wrote: Hi, I use LyX a lot to document what I have done or write short technical notes. It really saves time for me againts checking the grammar of latex code. However, there is a problem when it comes to submiting papers to journals. The equation part of the latex code exported by

ugly latex code

2004-02-16 Thread Huaiyu Duan
Hi, I use LyX a lot to document what I have done or write short technical notes. It really saves time for me againts checking the grammar of latex code. However, there is a problem when it comes to submiting papers to journals. The equation part of the latex code exported by LyX is really ugly