underscore bug fix? simple script?

2002-10-01 Thread Jorgen Johansson
Hello, I have like some other lyx user used underscore in my equation labels. So far I have only opened the 2 latest chapters with lyx 1.2.1 (win32) so only some 50 equations are affected. I wonder if someone has created simple shell or other script that could go through all equations lables

Re: underscore bug fix? simple script?

2002-10-01 Thread Andre Poenitz
On Wed, Oct 02, 2002 at 12:57:25AM +0900, Jorgen Johansson wrote: Such a scripte would be highly appreciated. As I broke it I'd better fix it... Make a backup of your LyX and repeat perl -pi -e 's:(\\label\{[^}_]*)_([^}]*):\1-\2:g' file.lyx up to the maximum number of underscores in a

Re: underscore bug fix? simple script?

2002-10-01 Thread Andre Poenitz
On Tue, Oct 01, 2002 at 06:09:33PM +0200, Andre' Poenitz wrote: Make a backup of your LyX and repeat Your .lyx file of course... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: underscore bug fix? simple script?

2002-10-01 Thread Dekel Tsur
On Tue, Oct 01, 2002 at 06:09:33PM +0200, Andre Poenitz wrote: On Wed, Oct 02, 2002 at 12:57:25AM +0900, Jorgen Johansson wrote: Such a scripte would be highly appreciated. As I broke it I'd better fix it... Make a backup of your LyX and repeat perl -pi -e

underscore bug fix? simple script?

2002-10-01 Thread Jorgen Johansson
Hello, I have like some other lyx user used underscore in my equation labels. So far I have only opened the 2 latest chapters with lyx 1.2.1 (win32) so only some 50 equations are affected. I wonder if someone has created simple shell or other script that could go through all equations lables

Re: underscore bug fix? simple script?

2002-10-01 Thread Andre Poenitz
On Wed, Oct 02, 2002 at 12:57:25AM +0900, Jorgen Johansson wrote: Such a scripte would be highly appreciated. As I broke it I'd better fix it... Make a backup of your LyX and repeat perl -pi -e 's:(\\label\{[^}_]*)_([^}]*):\1-\2:g' file.lyx up to the maximum number of underscores in a

Re: underscore bug fix? simple script?

2002-10-01 Thread Andre Poenitz
On Tue, Oct 01, 2002 at 06:09:33PM +0200, Andre' Poenitz wrote: Make a backup of your LyX and repeat Your .lyx file of course... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: underscore bug fix? simple script?

2002-10-01 Thread Dekel Tsur
On Tue, Oct 01, 2002 at 06:09:33PM +0200, Andre Poenitz wrote: On Wed, Oct 02, 2002 at 12:57:25AM +0900, Jorgen Johansson wrote: Such a scripte would be highly appreciated. As I broke it I'd better fix it... Make a backup of your LyX and repeat perl -pi -e

underscore bug fix? simple script?

2002-10-01 Thread Jorgen Johansson
Hello, I have like some other lyx user used underscore in my equation labels. So far I have only opened the 2 latest chapters with lyx 1.2.1 (win32) so only some 50 equations are affected. I wonder if someone has created simple shell or other script that could go through all equations lables

Re: underscore bug fix? simple script?

2002-10-01 Thread Andre Poenitz
On Wed, Oct 02, 2002 at 12:57:25AM +0900, Jorgen Johansson wrote: > Such a scripte would be highly appreciated. As I broke it I'd better fix it... Make a backup of your LyX and repeat perl -pi -e 's:(\\label\{[^}_]*)_([^}]*):\1-\2:g' file.lyx up to the maximum number of underscores in a

Re: underscore bug fix? simple script?

2002-10-01 Thread Andre Poenitz
On Tue, Oct 01, 2002 at 06:09:33PM +0200, Andre' Poenitz wrote: > Make a backup of your LyX and repeat "Your .lyx file" of course... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)

Re: underscore bug fix? simple script?

2002-10-01 Thread Dekel Tsur
On Tue, Oct 01, 2002 at 06:09:33PM +0200, Andre Poenitz wrote: > On Wed, Oct 02, 2002 at 12:57:25AM +0900, Jorgen Johansson wrote: > > Such a scripte would be highly appreciated. > > As I broke it I'd better fix it... > > Make a backup of your LyX and repeat > > perl -pi -e