[Bug 763] lyx2lyx adds gibberish to title

2003-02-07 Thread bugzilla-daemon
http://bugzilla.lyx.org/show_bug.cgi?id=763 [EMAIL PROTECTED] changed: What|Removed |Added Target Milestone|1.3.0 |1.3.1 --- Additional Comments From

[Bug 763] lyx2lyx adds gibberish to title

2003-02-07 Thread bugzilla-daemon
http://bugzilla.lyx.org/show_bug.cgi?id=763 [EMAIL PROTECTED] changed: What|Removed |Added Target Milestone|1.3.0 |1.3.1 --- Additional Comments From

[Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread bugzilla-daemon
http://bugzilla.lyx.org/show_bug.cgi?id=763 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL

[Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread bugzilla-daemon
http://bugzilla.lyx.org/show_bug.cgi?id=763 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments From

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 22:52, [EMAIL PROTECTED] wrote: Which LyX version produces such a thing? Andre' The file header says: #This file was created by dlj0 Thu Nov 20 17:46:00 1997 #LyX 0.11 (C) 1995-1997 Matthias Ettrich and the LyX Team One possible solution would be in the 215

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:02:48AM +, José Matos wrote: #This file was created by dlj0 Thu Nov 20 17:46:00 1997 #LyX 0.11 (C) 1995-1997 Matthias Ettrich and the LyX Team One possible solution would be in the 215 - 216 lyx2lyx step to search for such cases and remove the extra space.

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:05, Andre Poenitz wrote: The proper way would to determine up to which version LyX could read this... As lyx2lyx is new I'd even put that in the 218 - 220 script. If 0.11.x was the last version that used this style I propose to put the convertion code there

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:02:48AM +, José Matos wrote: What do you think? Aehm... how does LyX currently lengths like '1 true in'? Simply removing spaces would not help here... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: |Notice that 0.11 are not yet in lyx2lyx range, that will be for 1.4 but if | this is simple enough we could fix it now. | | So the target milestone should be changed. I got aware of it when asking | for thing with 1.3.0 target. I changed the

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:20:00AM +, José Matos wrote: If 0.11.x was the last version that used this style I propose to put the convertion code there and not later. Do as you like. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 11:18:40AM +0100, Lars Gullik Bjønnes wrote: One thing though: lyx2lyx should not try to do the best thing for formats it does not have, it should rather punt completely. A half converted format can be worse than having non at all... I agree if called from LyX. For

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars Andre Poenitz [EMAIL PROTECTED] writes: | Notice that 0.11 are Lars not yet in lyx2lyx range, that will be for 1.4 but if | this Lars is simple enough we could fix it now. Lars | Lars | So the target milestone should be changed. I got

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Lars Gullik Bjønnes
Andre Poenitz [EMAIL PROTECTED] writes: | On Wed, Jan 08, 2003 at 11:18:40AM +0100, Lars Gullik Bjønnes wrote: | One thing though: lyx2lyx should not try to do the best thing for | formats it does not have, it should rather punt completely. A half | converted format can be worse than having

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:18, Lars Gullik Bjønnes wrote: One thing though: lyx2lyx should not try to do the best thing for formats it does not have, it should rather punt completely. A half converted format can be worse than having non at all... The problem here is that 2.15 is not

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:23, Jean-Marc Lasgouttes wrote: It would be nice to cover 0.12, since this is basically KLyX format. I have tried to do it. I expect it to convert it without flaws, so I would appreciate to have users testing and reporting problems. JMarc -- José Abílio

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:18, Andre Poenitz wrote: Aehm... how does LyX currently lengths like '1 true in'? Simply removing spaces would not help here... Give me a general pattern and I will lift the Earth (or is it the other way) ;-) Andre' -- José Abílio

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: | | Lars Andre Poenitz [EMAIL PROTECTED] writes: | Notice that 0.11 are | Lars not yet in lyx2lyx range, that will be for 1.4 but if | this | Lars is simple enough we could fix it now. |

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:41:35AM +, José Matos wrote: On Wednesday 08 January 2003 10:18, Andre Poenitz wrote: Aehm... how does LyX currently lengths like '1 true in'? Simply removing spaces would not help here... Give me a general pattern and I will lift the Earth (or is it

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Jan 08, 2003 at 10:41:35AM +, José Matos wrote: On Wednesday 08 January 2003 10:18, Andre Poenitz wrote: Aehm... how does LyX currently lengths like '1 true in'? Simply removing spaces would not help here... Give me a

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 12:40:02PM +0100, Jean-Marc Lasgouttes wrote: The good fix in this case is to enclose the length inside double quotes (and make sure that lyxlex is asked to honor these quotes). Probably. Another fix might be as simple as use rest of line... What are the lyx tags

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Jan 08, 2003 at 12:40:02PM +0100, Jean-Marc Lasgouttes Andre wrote: The good fix in this case is to enclose the length inside double quotes (and make sure that lyxlex is asked to honor these quotes). Andre Probably. Another fix

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 12:57:29PM +0100, Jean-Marc Lasgouttes wrote: Of these, only \topmargin still exist in 1.3.0cvs. Do you mean that the others are kept unchanged by lyx2lyx? This would be very wrong. LyX ignores when reading the file... But indeed the code in buffer.C around line 765

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Jan 08, 2003 at 12:57:29PM +0100, Jean-Marc Lasgouttes Andre wrote: Of these, only \topmargin still exist in 1.3.0cvs. Do you mean that the others are kept unchanged by lyx2lyx? This would be very wrong. Andre LyX ignores when

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 01:58:55PM +0100, Jean-Marc Lasgouttes wrote: Andre LyX ignores when reading the file... But it spits an error, doesn't it? I did not see any. Anyway they should be removed by lyx2lyx. Probably. How do we learn which option went at what time? Andre Would be

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre Probably. Andre How do we learn which option went at what time? In OLD_CHANGES, I find: since 0.11.24 - changed from vmargin.sty to geometry.sty (Jug) - changed also the configure-stuff from vmargin to geometry (Jug) [...] since 0.11.19 -

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 11:26:43AM +0100, Lars Gullik Bjønnes wrote: | I agree if called from LyX. For calling lyx2lyx manually I really like to | have a 'do the best you can' mode... --force kind of thing? Would suffice. Andre' -- Those who desire to give up Freedom in order to gain

[Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread bugzilla-daemon
http://bugzilla.lyx.org/show_bug.cgi?id=763 [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] AssignedTo|[EMAIL

[Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread bugzilla-daemon
http://bugzilla.lyx.org/show_bug.cgi?id=763 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional Comments From

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 22:52, [EMAIL PROTECTED] wrote: > > Which LyX version produces such a thing? > > > Andre' The file header says: #This file was created by Thu Nov 20 17:46:00 1997 #LyX 0.11 (C) 1995-1997 Matthias Ettrich and the LyX Team One possible solution would be in the 215

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:02:48AM +, José Matos wrote: > #This file was created by Thu Nov 20 17:46:00 1997 > #LyX 0.11 (C) 1995-1997 Matthias Ettrich and the LyX Team > > One possible solution would be in the 215 -> 216 lyx2lyx step to search for > such cases and remove the extra

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:05, Andre Poenitz wrote: > > The proper way would to determine up to which version LyX could read > this... > > As lyx2lyx is new I'd even put that in the 218 -> 220 script. If 0.11.x was the last version that used this style I propose to put the convertion code

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:02:48AM +, José Matos wrote: > What do you think? Aehm... how does LyX currently lengths like '1 true in'? Simply removing spaces would not help here... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | > Notice that 0.11 are not yet in lyx2lyx range, that will be for 1.4 but if | > this is simple enough we could fix it now. | | So the target milestone should be changed. I got aware of it when asking | for thing with 1.3.0 target. I changed the

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:20:00AM +, José Matos wrote: > If 0.11.x was the last version that used this style I propose to put the > convertion code there and not later. Do as you like. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 11:18:40AM +0100, Lars Gullik Bjønnes wrote: > One thing though: lyx2lyx should not try to do the best thing for > formats it does not have, it should rather punt completely. A half > converted format can be worse than having non at all... I agree if called from LyX. For

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> Andre Poenitz <[EMAIL PROTECTED]> writes: | > Notice that 0.11 are Lars> not yet in lyx2lyx range, that will be for 1.4 but if | > this Lars> is simple enough we could fix it now. Lars> | Lars> | So the target milestone should

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Wed, Jan 08, 2003 at 11:18:40AM +0100, Lars Gullik Bjønnes wrote: | > One thing though: lyx2lyx should not try to do the best thing for | > formats it does not have, it should rather punt completely. A half | > converted format can be worse than

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:18, Lars Gullik Bjønnes wrote: > > One thing though: lyx2lyx should not try to do the best thing for > formats it does not have, it should rather punt completely. A half > converted format can be worse than having non at all... The problem here is that 2.15 is

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:23, Jean-Marc Lasgouttes wrote: > > It would be nice to cover 0.12, since this is basically KLyX format. I have tried to do it. I expect it to convert it without flaws, so I would appreciate to have users testing and reporting problems. > JMarc -- José Abílio

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread José Matos
On Wednesday 08 January 2003 10:18, Andre Poenitz wrote: > > Aehm... how does LyX currently lengths like '1 true in'? > > Simply removing spaces would not help here... Give me a general pattern and I will lift the Earth (or is it the other way) ;-) > Andre' -- José Abílio

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | | Lars> Andre Poenitz <[EMAIL PROTECTED]> writes: | > Notice that 0.11 are | Lars> not yet in lyx2lyx range, that will be for 1.4 but if | > this | Lars> is simple enough we could

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 10:41:35AM +, José Matos wrote: > On Wednesday 08 January 2003 10:18, Andre Poenitz wrote: > > > > Aehm... how does LyX currently lengths like '1 true in'? > > > > Simply removing spaces would not help here... > > Give me a general pattern and I will lift the Earth

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Jan 08, 2003 at 10:41:35AM +, José Matos wrote: >> On Wednesday 08 January 2003 10:18, Andre Poenitz wrote: >> > >> > Aehm... how does LyX currently lengths like '1 true in'? >> > >> > Simply removing spaces would not

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 12:40:02PM +0100, Jean-Marc Lasgouttes wrote: > The good fix in this case is to enclose the length inside double > quotes (and make sure that lyxlex is asked to honor these quotes). Probably. Another fix might be as simple as "use rest of line"... > What are the lyx tags

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Jan 08, 2003 at 12:40:02PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> The good fix in this case is to enclose the length inside double >> quotes (and make sure that lyxlex is asked to honor these quotes). Andre>

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 12:57:29PM +0100, Jean-Marc Lasgouttes wrote: > Of these, only \topmargin still exist in 1.3.0cvs. Do you mean that > the others are kept unchanged by lyx2lyx? This would be very wrong. LyX ignores when reading the file... > But indeed the code in buffer.C around line 765

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Jan 08, 2003 at 12:57:29PM +0100, Jean-Marc Lasgouttes Andre> wrote: >> Of these, only \topmargin still exist in 1.3.0cvs. Do you mean that >> the others are kept unchanged by lyx2lyx? This would be very wrong. Andre> LyX

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 01:58:55PM +0100, Jean-Marc Lasgouttes wrote: > Andre> LyX ignores when reading the file... > > But it spits an error, doesn't it? I did not see any. > Anyway they should be removed by lyx2lyx. Probably. How do we learn which option went at what time? > Andre> Would

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> Probably. Andre> How do we learn which option went at what time? In OLD_CHANGES, I find: since 0.11.24 - changed from vmargin.sty to geometry.sty (Jug) - changed also the configure-stuff from vmargin to geometry (Jug) [...]

Re: [Bug 763] lyx2lyx adds gibberish to title

2003-01-08 Thread Andre Poenitz
On Wed, Jan 08, 2003 at 11:26:43AM +0100, Lars Gullik Bjønnes wrote: > | I agree if called from LyX. For calling lyx2lyx manually I really like to > | have a 'do the best you can' mode... > > --force > > kind of thing? Would suffice. Andre' -- Those who desire to give up Freedom in order to