reLyX bug

2003-10-08 Thread Mark van Rossum
THe attached valid latex file , leads to bad lyx code. (Only option is to kill lyx) reLyX -f test.tex ; lyx test.lyx THis is Lyx 1.3.2 on RH 9.0 -- [EMAIL PROTECTED] = http://brackla.anc.ed.ac.uk/ Mark van Rossum, ANC, University of Edinburgh. Rm D7, 5 Forrest Hill,

Re: reLyX bug

2003-10-08 Thread Angus Leeming
Mark van Rossum wrote: THe attached valid latex file, leads to bad lyx code. (Only option is to kill lyx) Nasty. Hundreds of ERROR (Paragraph::DepthHook): no hook. Ok there are lots of problems here. First, (fighting back ;-), underscores are generally regarded as not valid in label entries.

Re: reLyX bug

2003-10-08 Thread Jose' Matos
On Wednesday 08 October 2003 12:07, Angus Leeming wrote: Mark van Rossum wrote: THe attached valid latex file, leads to bad lyx code. (Only option is to kill lyx) Nasty. Hundreds of ERROR (Paragraph::DepthHook): no hook. But not with current cvs. :-) Ok there are lots of problems

Re: reLyX bug

2003-10-08 Thread Angus Leeming
Jose' Matos wrote: I think this bug is declared in the BUGS file of reLyX. No. The 'depth hook' book is nothing to do with the underscore in the label. If the underscore is removed, the 'depth hook' nastiness still occurs. -- Angus

Re: reLyX bug

2003-10-08 Thread Jose' Matos
On Wednesday 08 October 2003 13:13, Angus Leeming wrote: Jose' Matos wrote: I think this bug is declared in the BUGS file of reLyX. No. The 'depth hook' book is nothing to do with the underscore in the label. If the underscore is removed, the 'depth hook' nastiness still occurs. That

Re: reLyX bug

2003-10-08 Thread Angus Leeming
Jose' Matos wrote: Nasty. Hundreds of ERROR (Paragraph::DepthHook): no hook. But not with current cvs. :-) No, that has its own problems. Try and click on the comment button :-( -- Angus

reLyX bug

2003-10-08 Thread Mark van Rossum
THe attached valid latex file , leads to bad lyx code. (Only option is to kill lyx) reLyX -f test.tex ; lyx test.lyx THis is Lyx 1.3.2 on RH 9.0 -- <[EMAIL PROTECTED]> = http://brackla.anc.ed.ac.uk/ Mark van Rossum, ANC, University of Edinburgh. Rm D7, 5 Forrest Hill,

Re: reLyX bug

2003-10-08 Thread Angus Leeming
Mark van Rossum wrote: > THe attached valid latex file, leads to bad lyx code. > (Only option is to kill lyx) Nasty. Hundreds of ERROR (Paragraph::DepthHook): no hook. Ok there are lots of problems here. First, (fighting back ;-), underscores are generally regarded as not valid in label

Re: reLyX bug

2003-10-08 Thread Jose' Matos
On Wednesday 08 October 2003 12:07, Angus Leeming wrote: > Mark van Rossum wrote: > > THe attached valid latex file, leads to bad lyx code. > > (Only option is to kill lyx) > > Nasty. Hundreds of > ERROR (Paragraph::DepthHook): no hook. But not with current cvs. :-) > Ok there are lots of

Re: reLyX bug

2003-10-08 Thread Angus Leeming
Jose' Matos wrote: > I think this bug is declared in the BUGS file of reLyX. No. The 'depth hook' book is nothing to do with the underscore in the label. If the underscore is removed, the 'depth hook' nastiness still occurs. -- Angus

Re: reLyX bug

2003-10-08 Thread Jose' Matos
On Wednesday 08 October 2003 13:13, Angus Leeming wrote: > Jose' Matos wrote: > > I think this bug is declared in the BUGS file of reLyX. > > No. The 'depth hook' book is nothing to do with the underscore in the > label. If the underscore is removed, the 'depth hook' nastiness still > occurs.

Re: reLyX bug

2003-10-08 Thread Angus Leeming
Jose' Matos wrote: >> Nasty. Hundreds of >> ERROR (Paragraph::DepthHook): no hook. > > But not with current cvs. :-) No, that has its own problems. Try and click on the comment button :-( -- Angus

Re: reLyX bug

2001-09-05 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 06:01:31PM -0400, Amir Karger wrote: [...] You can add a __cal__ method to a class making it a functor, and using it everywhere a function can be used. I don't even dream it how to do it in perl... ;-) I'm *not* trying to start a flame war here. I'll point out,

Re: reLyX bug

2001-09-05 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 10:01:03PM +0200, Asger K. Alstrup Nielsen wrote: On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: Thank you Yves for restoring my mental health... Come on, Jose. We don't buy that after all this time. How can anyone restore what never was? Comming from

JMarc? [was Re: reLyX bug]

2001-09-05 Thread Amir Karger
On Tue, Sep 04, 2001 at 04:01:26PM +0200, Yves Bastide wrote: On Tue, Sep 04, 2001 at 02:22:56PM +0100, Jose Abilio Oliveira Matos wrote: As a curiosity, did reLyX worked before? I guess that if it work then we had a strange case of interaction beetween BLOCK and the variable

Re: reLyX bug

2001-09-05 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 06:01:31PM -0400, Amir Karger wrote: [...] > > You can add a __cal__ method to a class making it a functor, and using it > > everywhere a function can be used. I don't even dream it how to do it in > > perl... ;-) > > I'm *not* trying to start a flame war here. I'll

Re: reLyX bug

2001-09-05 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 10:01:03PM +0200, Asger K. Alstrup Nielsen wrote: > On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: > > > Thank you Yves for restoring my mental health... > > Come on, Jose. We don't buy that after all this time. > How can anyone restore what never was?

JMarc? [was Re: reLyX bug]

2001-09-05 Thread Amir Karger
On Tue, Sep 04, 2001 at 04:01:26PM +0200, Yves Bastide wrote: > On Tue, Sep 04, 2001 at 02:22:56PM +0100, Jose Abilio Oliveira Matos wrote: > > > > As a curiosity, did reLyX worked before? > > I guess that if it work then we had a strange case of interaction beetween > > BLOCK and the

Re: reLyX bug

2001-09-04 Thread Andre Poenitz
On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: You can add a __cal__ method to a class making it a functor, and using it everywhere a function can be used. Ah - well, after the overloading of the whitespace operator this was probably easy addition to seduce C++

Re: reLyX bug

2001-09-04 Thread Michael Schmitt
On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: I have commited, ok I'll do it after this message. *Please* Michael tell me that now this works! *Please*! GOOD NEWS: I can confirm that reLyX (latest cvs) works on my machine!!! Now you can sleep tight again. Michael --

Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote: On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: You can add a __cal__ method to a class making it a functor, and using it everywhere a function can be used. Ah - well, after the overloading of the

Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 11:01:56AM +0200, Michael Schmitt wrote: On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: I have commited, ok I'll do it after this message. *Please* Michael tell me that now this works! *Please*! GOOD NEWS: I can confirm that reLyX (latest cvs) works

Re: reLyX bug

2001-09-04 Thread Andre Poenitz
On Tue, Sep 04, 2001 at 02:17:04PM +0100, Jose Abilio Oliveira Matos wrote: On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote: On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: You can add a __cal__ method to a class making it a functor, and using it

Re: reLyX bug

2001-09-04 Thread Yves Bastide
On Tue, Sep 04, 2001 at 02:22:56PM +0100, Jose Abilio Oliveira Matos wrote: As a curiosity, did reLyX worked before? I guess that if it work then we had a strange case of interaction beetween BLOCK and the variable outside. Hardly what anyone would expect. BEGIN blocks are executed

Re: reLyX bug

2001-09-04 Thread Asger K. Alstrup Nielsen
On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: Thank you Yves for restoring my mental health... :-) Come on, Jose. We don't buy that after all this time. How can anyone restore what never was? Greets, Asger

Re: reLyX bug

2001-09-04 Thread Amir Karger
On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: On Mon, Sep 03, 2001 at 11:20:40PM +0200, Yves Bastide wrote: On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote: [ignore unimportant stuff about a bug] I really, really prefer

Re: reLyX bug

2001-09-04 Thread Andre Poenitz
On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: > You can add a __cal__ method to a class making it a functor, and using it > everywhere a function can be used. Ah - well, after the overloading of the whitespace operator this was probably easy addition to seduce C++

Re: reLyX bug

2001-09-04 Thread Michael Schmitt
On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: > I have commited, ok I'll do it after this message. > *Please* Michael tell me that now this works! *Please*! GOOD NEWS: I can confirm that reLyX (latest cvs) works on my machine!!! Now you can sleep tight again. Michael --

Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote: > On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: > > You can add a __cal__ method to a class making it a functor, and using it > > everywhere a function can be used. > > Ah - well, after the overloading

Re: reLyX bug

2001-09-04 Thread Jose Abilio Oliveira Matos
On Tue, Sep 04, 2001 at 11:01:56AM +0200, Michael Schmitt wrote: > On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: > > > I have commited, ok I'll do it after this message. > > *Please* Michael tell me that now this works! *Please*! > > GOOD NEWS: > > I can confirm that reLyX (latest

Re: reLyX bug

2001-09-04 Thread Andre Poenitz
On Tue, Sep 04, 2001 at 02:17:04PM +0100, Jose Abilio Oliveira Matos wrote: > On Tue, Sep 04, 2001 at 09:09:20AM +0200, Andre Poenitz wrote: > > On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: > > > You can add a __cal__ method to a class making it a functor, and

Re: reLyX bug

2001-09-04 Thread Yves Bastide
On Tue, Sep 04, 2001 at 02:22:56PM +0100, Jose Abilio Oliveira Matos wrote: > > As a curiosity, did reLyX worked before? > I guess that if it work then we had a strange case of interaction beetween > BLOCK and the variable outside. Hardly what anyone would expect. BEGIN blocks are

Re: reLyX bug

2001-09-04 Thread Asger K. Alstrup Nielsen
On Mon, 3 Sep 2001, Jose Abilio Oliveira Matos wrote: > Thank you Yves for restoring my mental health... :-) Come on, Jose. We don't buy that after all this time. How can anyone restore what never was? Greets, Asger

Re: reLyX bug

2001-09-04 Thread Amir Karger
On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: > On Mon, Sep 03, 2001 at 11:20:40PM +0200, Yves Bastide wrote: > > On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote: > > > [ignore unimportant stuff about a bug] > > > > I really, really

Re: reLyX bug

2001-09-03 Thread Jose Abilio Oliveira Matos
On Fri, Aug 31, 2001 at 01:02:41PM +0200, Yves Bastide wrote: On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: [snip] Yeah, that's OK too. Actually I have choosen your alternative, I really dislike the ()-, grrr... (sorry Yves, nothing personal, on the

Re: reLyX bug

2001-09-03 Thread Yves Bastide
On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote: Do you have any idea why Michael has problems with the reLyX path detection? Hmm. Michael, I don't understand this: Can't locate reLyXmain.pl in @INC (@INC contains: /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin

Re: reLyX bug

2001-09-03 Thread Jose Abilio Oliveira Matos
On Mon, Sep 03, 2001 at 11:20:40PM +0200, Yves Bastide wrote: On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote: Do you have any idea why Michael has problems with the reLyX path detection? Hmm. Michael, I don't understand this: Can't locate reLyXmain.pl in

Re: reLyX bug

2001-09-03 Thread Yves Bastide
On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: FOUND! diff -u -p -r1.5 reLyX.in --- lib/reLyX//reLyX.in 2001/08/31 07:54:05 1.5 +++ lib/reLyX//reLyX.in 2001/09/03 21:46:38 @@ -14,11 +14,13 @@ $^W = 1; # same as 'perl -w' use vars qw($lyxdir $lyxname); my

Re: reLyX bug

2001-09-03 Thread Jose Abilio Oliveira Matos
On Mon, Sep 03, 2001 at 11:55:45PM +0200, Yves Bastide wrote: On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: FOUND! diff -u -p -r1.5 reLyX.in --- lib/reLyX//reLyX.in 2001/08/31 07:54:05 1.5 +++ lib/reLyX//reLyX.in 2001/09/03 21:46:38 @@ -14,11 +14,13

Re: reLyX bug

2001-09-03 Thread Jose Abilio Oliveira Matos
On Fri, Aug 31, 2001 at 01:02:41PM +0200, Yves Bastide wrote: > On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: > [snip] > > > > > > Yeah, that's OK too. > > > > Actually I have choosen your alternative, I really dislike the ()->, grrr... > > (sorry Yves, nothing

Re: reLyX bug

2001-09-03 Thread Yves Bastide
On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote: > > Do you have any idea why Michael has problems with the reLyX path detection? Hmm. Michael, I don't understand this: > > Can't locate reLyXmain.pl in @INC (@INC contains: > >

Re: reLyX bug

2001-09-03 Thread Jose Abilio Oliveira Matos
On Mon, Sep 03, 2001 at 11:20:40PM +0200, Yves Bastide wrote: > On Mon, Sep 03, 2001 at 07:17:38PM +0100, Jose Abilio Oliveira Matos wrote: > > > > Do you have any idea why Michael has problems with the reLyX path detection? > > Hmm. Michael, I don't understand this: > > > Can't locate

Re: reLyX bug

2001-09-03 Thread Yves Bastide
On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: > FOUND! diff -u -p -r1.5 reLyX.in --- lib/reLyX//reLyX.in 2001/08/31 07:54:05 1.5 +++ lib/reLyX//reLyX.in 2001/09/03 21:46:38 @@ -14,11 +14,13 @@ $^W = 1; # same as 'perl -w' use vars qw($lyxdir $lyxname); my

Re: reLyX bug

2001-09-03 Thread Jose Abilio Oliveira Matos
On Mon, Sep 03, 2001 at 11:55:45PM +0200, Yves Bastide wrote: > On Mon, Sep 03, 2001 at 10:45:16PM +0100, Jose Abilio Oliveira Matos wrote: > > > > FOUND! > > diff -u -p -r1.5 reLyX.in > --- lib/reLyX//reLyX.in 2001/08/31 07:54:05 1.5 > +++ lib/reLyX//reLyX.in 2001/09/03 21:46:38 > @@

Re: reLyX bug

2001-08-31 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 05:18:49PM -0400, Amir Karger wrote: On Thu, Aug 30, 2001 at 04:50:48PM +0100, Jose Abilio Oliveira Matos wrote: On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: I'm pretty sure that the problem here is that you're missing a . I think you have to

Re: reLyX bug

2001-08-31 Thread Yves Bastide
On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: [snip] Yeah, that's OK too. Actually I have choosen your alternative, I really dislike the ()-, grrr... (sorry Yves, nothing personal, on the other hand since today is friday it is after all). Ok. Wait till

Re: reLyX bug

2001-08-31 Thread Amir Karger
On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: On Thu, Aug 30, 2001 at 05:18:49PM -0400, Amir Karger wrote: On Thu, Aug 30, 2001 at 04:50:48PM +0100, Jose Abilio Oliveira Matos wrote: On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: Yeah,

Re: reLyX bug

2001-08-31 Thread dochawk
Amir admitted On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: On Thu, Aug 30, 2001 at 05:18:49PM -0400, Amir Karger wrote: Right. So it's just that Perl didn't have the sophisticated understanding of $foo(bar) beforehand. (Of course, this opens up the

Re: reLyX bug

2001-08-31 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 05:18:49PM -0400, Amir Karger wrote: > On Thu, Aug 30, 2001 at 04:50:48PM +0100, Jose Abilio Oliveira Matos wrote: > > On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: > > > > > I'm pretty sure that the problem here is that you're missing a &. > > > I think

Re: reLyX bug

2001-08-31 Thread Yves Bastide
On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: [snip] > > > > Yeah, that's OK too. > > Actually I have choosen your alternative, I really dislike the ()->, grrr... > (sorry Yves, nothing personal, on the other hand since today is friday it > is after all). Ok.

Re: reLyX bug

2001-08-31 Thread Amir Karger
On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: > On Thu, Aug 30, 2001 at 05:18:49PM -0400, Amir Karger wrote: > > On Thu, Aug 30, 2001 at 04:50:48PM +0100, Jose Abilio Oliveira Matos wrote: > > > On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: > > > > >

Re: reLyX bug

2001-08-31 Thread dochawk
Amir admitted > On Fri, Aug 31, 2001 at 11:30:32AM +0100, Jose Abilio Oliveira Matos wrote: > > On Thu, Aug 30, 2001 at 05:18:49PM -0400, Amir Karger wrote: > > > Right. So it's just that Perl didn't have the sophisticated understanding of > > > $foo(bar) beforehand. (Of course, this opens up

Re: reLyX bug

2001-08-30 Thread Yves Bastide
On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote: [snip] 305 if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) { 306 my $geom_options = $1; 307 my $op; 308 foreach $op (keys %Geometry_Options) { 309 $geom_options =~

Re: reLyX bug

2001-08-30 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 12:48:28PM +0200, Yves Bastide wrote: On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote: [snip] 305 if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) { 306 my $geom_options = $1; 307 my $op; 308 foreach

Re: reLyX bug

2001-08-30 Thread Yves Bastide
On Thu, Aug 30, 2001 at 12:07:39PM +0100, Jose Abilio Oliveira Matos wrote: [snip] Unless you have other features/bug fixes it easier to add it my self than to have all the trouble with patching and unpatching. ;-) :-) If you ask so: - reLyXmain.pl: 97 \\documentclass, not

Re: reLyX bug

2001-08-30 Thread Amir Karger
On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote: On Wed, Aug 29, 2001 at 03:28:53PM +0200, Michael Schmitt wrote: On Wed, 29 Aug 2001, Jose Abilio Oliveira Matos wrote: syntax error at /home/schmitt/LyX/lyx-devel/lib/reLyX/MakePreamble.pm line 310, near }(

Re: reLyX bug

2001-08-30 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 01:16:09PM +0200, Yves Bastide wrote: If you ask so: - reLyXmain.pl: 97 \\documentclass, not \documentclass That one was running from me, everytime I saw the warning I looked to the previous \\documentclass and that is ok. :-) - many regexes: you could liberally

Re: reLyX bug

2001-08-30 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: 305 if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) { 306 my $geom_options = $1; 307 my $op; 308 foreach $op (keys %Geometry_Options) { 309 $geom_options =~ s/$op// do {

Re: reLyX bug

2001-08-30 Thread Amir Karger
On Thu, Aug 30, 2001 at 04:50:48PM +0100, Jose Abilio Oliveira Matos wrote: On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: I'm pretty sure that the problem here is that you're missing a . I think you have to write: $LyX_Preamble .= {$Geometry_Options{$op}}();

Re: reLyX bug

2001-08-30 Thread Yves Bastide
On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote: [snip] > > 305 if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) { > 306 my $geom_options = $1; > 307 my $op; > 308 foreach $op (keys %Geometry_Options) { > 309 $geom_options

Re: reLyX bug

2001-08-30 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 12:48:28PM +0200, Yves Bastide wrote: > On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote: > [snip] > > > > 305 if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) { > > 306 my $geom_options = $1; > > 307 my $op; > > 308

Re: reLyX bug

2001-08-30 Thread Yves Bastide
On Thu, Aug 30, 2001 at 12:07:39PM +0100, Jose Abilio Oliveira Matos wrote: [snip] > > Unless you have other features/bug fixes it easier to add it my self than > to have all the trouble with patching and unpatching. ;-) :-) If you ask so: - reLyXmain.pl: 97 \\documentclass, not

Re: reLyX bug

2001-08-30 Thread Amir Karger
On Wed, Aug 29, 2001 at 06:42:11PM +0100, Jose Abilio Oliveira Matos wrote: > On Wed, Aug 29, 2001 at 03:28:53PM +0200, Michael Schmitt wrote: > > On Wed, 29 Aug 2001, Jose Abilio Oliveira Matos wrote: > > > > syntax error at /home/schmitt/LyX/lyx-devel/lib/reLyX/MakePreamble.pm line > > 310,

Re: reLyX bug

2001-08-30 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 01:16:09PM +0200, Yves Bastide wrote: > If you ask so: > > - reLyXmain.pl: 97 \\documentclass, not \documentclass That one was running from me, everytime I saw the warning I looked to the previous \\documentclass and that is ok. :-) > - many regexes: you could

Re: reLyX bug

2001-08-30 Thread Jose Abilio Oliveira Matos
On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: > > > > 305 if( $Latex_Preamble =~ /\\geometry\{(.*)\}/) { > > 306 my $geom_options = $1; > > 307 my $op; > > 308 foreach $op (keys %Geometry_Options) { > > 309 $geom_options =~

Re: reLyX bug

2001-08-30 Thread Amir Karger
On Thu, Aug 30, 2001 at 04:50:48PM +0100, Jose Abilio Oliveira Matos wrote: > On Thu, Aug 30, 2001 at 08:49:49AM -0400, Amir Karger wrote: > > > I'm pretty sure that the problem here is that you're missing a &. > > I think you have to write: > > > > $LyX_Preamble .=

reLyX bug

2001-08-29 Thread Michael Schmitt
Hi, I get the following message if I start reLyX: Can't locate reLyXmain.pl in @INC (@INC contains: /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin /opt/local/perl5.004/lib/5.00502/sun4-solaris /opt/local/perl5.004/lib/5.00502 /opt/local/perl5.004/lib/site_perl/5.005/sun4-solaris

Re: reLyX bug

2001-08-29 Thread Michael Schmitt
Hi, after adding a few symbolic links I get the following message: sif:/home/schmitt.503 % reLyX foo.tex syntax error at /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin/MakePreamble.pm line 310, near }( Any idea? Michael --

Re: reLyX bug

2001-08-29 Thread Jose Abilio Oliveira Matos
On Wed, Aug 29, 2001 at 12:55:25PM +0200, Michael Schmitt wrote: Hi, I get the following message if I start reLyX: Can't locate reLyXmain.pl in @INC (@INC contains: /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin /opt/local/perl5.004/lib/5.00502/sun4-solaris

Re: reLyX bug

2001-08-29 Thread Michael Schmitt
On Wed, 29 Aug 2001, Jose Abilio Oliveira Matos wrote: Can't locate reLyXmain.pl in @INC (@INC contains: /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin /opt/local/perl5.004/lib/5.00502/sun4-solaris /opt/local/perl5.004/lib/5.00502 /opt/local/perl5.004/lib/site_perl/5.005/sun4-solaris

Re: reLyX bug

2001-08-29 Thread Jose Abilio Oliveira Matos
On Wed, Aug 29, 2001 at 03:28:53PM +0200, Michael Schmitt wrote: On Wed, 29 Aug 2001, Jose Abilio Oliveira Matos wrote: Can't locate reLyXmain.pl in @INC (@INC contains: /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin /opt/local/perl5.004/lib/5.00502/sun4-solaris

reLyX bug

2001-08-29 Thread Michael Schmitt
Hi, I get the following message if I start reLyX: Can't locate reLyXmain.pl in @INC (@INC contains: /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin /opt/local/perl5.004/lib/5.00502/sun4-solaris /opt/local/perl5.004/lib/5.00502 /opt/local/perl5.004/lib/site_perl/5.005/sun4-solaris

Re: reLyX bug

2001-08-29 Thread Michael Schmitt
Hi, after adding a few symbolic links I get the following message: sif:/home/schmitt.503 % reLyX foo.tex syntax error at /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin/MakePreamble.pm line 310, near "}(" Any idea? Michael --

Re: reLyX bug

2001-08-29 Thread Jose Abilio Oliveira Matos
On Wed, Aug 29, 2001 at 12:55:25PM +0200, Michael Schmitt wrote: > Hi, > > I get the following message if I start reLyX: > > Can't locate reLyXmain.pl in @INC (@INC contains: > /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin > /opt/local/perl5.004/lib/5.00502/sun4-solaris >

Re: reLyX bug

2001-08-29 Thread Michael Schmitt
On Wed, 29 Aug 2001, Jose Abilio Oliveira Matos wrote: > > Can't locate reLyXmain.pl in @INC (@INC contains: > > /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin > > /opt/local/perl5.004/lib/5.00502/sun4-solaris > > /opt/local/perl5.004/lib/5.00502 > >

Re: reLyX bug

2001-08-29 Thread Jose Abilio Oliveira Matos
On Wed, Aug 29, 2001 at 03:28:53PM +0200, Michael Schmitt wrote: > On Wed, 29 Aug 2001, Jose Abilio Oliveira Matos wrote: > > > > Can't locate reLyXmain.pl in @INC (@INC contains: > > > /home/schmitt/Programme/lyx-1.2.0cvs-sol/bin > > > /opt/local/perl5.004/lib/5.00502/sun4-solaris > > >

Re: reLyX bug

2000-06-06 Thread Kayvan A. Sylvan
On Mon, Jun 05, 2000 at 11:52:38PM +0200, Tomasz Motylewski wrote: On Mon, 5 Jun 2000, Amir Karger wrote: $newfile = "$basename.lyx"; } else { # keep relative path, e.g. Just change suffix - ($newfile = $fil) =~ s/$suffix/.lyx/; +

Re: reLyX bug

2000-06-06 Thread Jean-Marc Lasgouttes
"Kayvan" == Kayvan A Sylvan [EMAIL PROTECTED] writes: Kayvan Tomasz's version looks right to me and I don't think it breaks Kayvan anything. So shall I commit it? JMarc

Re: reLyX bug

2000-06-06 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: | "Kayvan" == Kayvan A Sylvan [EMAIL PROTECTED] writes: | | Kayvan Tomasz's version looks right to me and I don't think it breaks | Kayvan anything. | | So shall I commit it? Be quick if you are going to.. Lgb

Re: reLyX bug

2000-06-06 Thread Kayvan A. Sylvan
On Mon, Jun 05, 2000 at 11:52:38PM +0200, Tomasz Motylewski wrote: > On Mon, 5 Jun 2000, Amir Karger wrote: > > > $newfile = "$basename.lyx"; > > } else { # keep relative path, e.g. Just change suffix > > - ($newfile = $fil) =~ s/$suffix/.lyx/; > > +

Re: reLyX bug

2000-06-06 Thread Jean-Marc Lasgouttes
> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: Kayvan> Tomasz's version looks right to me and I don't think it breaks Kayvan> anything. So shall I commit it? JMarc

Re: reLyX bug

2000-06-06 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: | | Kayvan> Tomasz's version looks right to me and I don't think it breaks | Kayvan> anything. | | So shall I commit it? Be quick if you are going to.. Lgb

reLyX bug

2000-06-05 Thread Amir Karger
OK. I haven't touched reLyX in months, and I haven't been latexing either. And I don't have the energy to look through the reLyX source. So I'm not entirely sure whether there this is the right thing to do. However, I've fixed what might be a bug. --- ../CVS/lyx-devel/lib/reLyX/LastLyX.pm

Re: reLyX bug

2000-06-05 Thread Tomasz Motylewski
On Mon, 5 Jun 2000, Amir Karger wrote: $newfile = "$basename.lyx"; } else { # keep relative path, e.g. Just change suffix - ($newfile = $fil) =~ s/$suffix/.lyx/; + ($newfile = $fil) =~ s/$suffix$/.lyx/; Well, in my opinion this is the

reLyX bug

2000-06-05 Thread Amir Karger
OK. I haven't touched reLyX in months, and I haven't been latexing either. And I don't have the energy to look through the reLyX source. So I'm not entirely sure whether there this is the right thing to do. However, I've fixed what might be a bug. --- ../CVS/lyx-devel/lib/reLyX/LastLyX.pm

Re: reLyX bug

2000-06-05 Thread Tomasz Motylewski
On Mon, 5 Jun 2000, Amir Karger wrote: > $newfile = "$basename.lyx"; > } else { # keep relative path, e.g. Just change suffix > - ($newfile = $fil) =~ s/$suffix/.lyx/; > + ($newfile = $fil) =~ s/$suffix$/.lyx/; Well, in my opinion this is

Re: Lyx/Relyx bug

1999-11-21 Thread Amir Karger
On Sat, Nov 20, 1999 at 01:57:51PM +1000, Peter Drummond wrote: Dear Amir, thanks for your time. As I understand it, the empty brace after \begin{thebibliography}{} is the reason why reLyX crashes here. I therefore changed this to: \begin{thebibliography}{10} Everything worked fine.

Re: Lyx/Relyx bug

1999-11-21 Thread Amir Karger
On Sat, Nov 20, 1999 at 01:57:51PM +1000, Peter Drummond wrote: > Dear Amir, > > thanks for your time. As I understand it, the empty brace after > \begin{thebibliography}{} is the reason why reLyX crashes here. > > I therefore changed this to: \begin{thebibliography}{10} > > Everything worked

Re: Lyx/Relyx bug

1999-11-17 Thread Jean-Marc Lasgouttes
"Peter" == Peter Drummond [EMAIL PROTECTED] writes: Peter If I try to import the new OSAmtg.tex template into Lyx (to Peter make an abstract for the meetings next year), Relyx will exit Peter with a fatal error. I use version 1.04. The special OSAmeet.sty Peter file was downloaded into the same

Re: Lyx/Relyx bug

1999-11-17 Thread Amir Karger
On Wed, Nov 17, 1999 at 05:12:31PM +0100, Jean-Marc Lasgouttes wrote: "Peter" == Peter Drummond [EMAIL PROTECTED] writes: Peter If I try to import the new OSAmtg.tex template into Lyx (to Peter make an abstract for the meetings next year), Relyx will exit Peter with a fatal error. I use

Re: Lyx/Relyx bug

1999-11-17 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Drummond <[EMAIL PROTECTED]> writes: Peter> If I try to import the new OSAmtg.tex template into Lyx (to Peter> make an abstract for the meetings next year), Relyx will exit Peter> with a fatal error. I use version 1.04. The special OSAmeet.sty Peter> file was downloaded

Re: Lyx/Relyx bug

1999-11-17 Thread Amir Karger
On Wed, Nov 17, 1999 at 05:12:31PM +0100, Jean-Marc Lasgouttes wrote: > > "Peter" == Peter Drummond <[EMAIL PROTECTED]> writes: > > Peter> If I try to import the new OSAmtg.tex template into Lyx (to > Peter> make an abstract for the meetings next year), Relyx will exit > Peter> with a fatal

Re: relyx bug report: crashes parsing \def or \newcommand

1999-11-16 Thread Ken Miller
"-" == Amir Karger [EMAIL PROTECTED] writes: - If you look at BUGS in the reLyX directory, you'll see that \end in a - \newcommand breaks reLyX. So does \begin, for the same reason. The TeX - parser thinks when it sees "\begin" that you're going to start a new - environment. When you don't, it

Re: relyx bug report: crashes parsing \def or \newcommand

1999-11-16 Thread Ken Miller
> "-" == Amir Karger <[EMAIL PROTECTED]> writes: -> If you look at BUGS in the reLyX directory, you'll see that \end in a -> \newcommand breaks reLyX. So does \begin, for the same reason. The TeX -> parser thinks when it sees "\begin" that you're going to start a new -> environment. When you

Re: relyx bug report: crashes parsing \def or \newcommand

1999-11-11 Thread Amir Karger
On Wed, Nov 10, 1999 at 09:36:21PM -0800, Ken Miller wrote: I'm running reLyX Revision date 1999/05/02 on red hat 6.0 linux on an intel machine (dual pentium) with "perl, version 5.005_03 built for i386-linux". The following simple tex file test.tex causes reLyX to fail:

Re: relyx bug report: crashes parsing \def or \newcommand

1999-11-11 Thread Amir Karger
On Wed, Nov 10, 1999 at 09:36:21PM -0800, Ken Miller wrote: > I'm running reLyX Revision date 1999/05/02 on red hat 6.0 linux on an > intel machine (dual pentium) with "perl, version 5.005_03 built for > i386-linux". The following simple tex file test.tex causes reLyX to fail: > >

relyx bug report: crashes parsing \def or \newcommand

1999-11-10 Thread Ken Miller
I'm running reLyX Revision date 1999/05/02 on red hat 6.0 linux on an intel machine (dual pentium) with "perl, version 5.005_03 built for i386-linux". The following simple tex file test.tex causes reLyX to fail: %--

relyx bug report: crashes parsing \def or \newcommand

1999-11-10 Thread Ken Miller
I'm running reLyX Revision date 1999/05/02 on red hat 6.0 linux on an intel machine (dual pentium) with "perl, version 5.005_03 built for i386-linux". The following simple tex file test.tex causes reLyX to fail: %--

Re: reLyX bug report

1999-05-28 Thread Amir Karger
On Mon, May 24, 1999 at 09:25:26AM -0500, Chris Menzel wrote: Howdy. reLyX is crashing on a LaTeX file of mine. The problem appears to be in the TeX.pm perl module. Sorry I can't be of any greater help. Oh, but you can. See below. Sorry in return that I took so long. I moved this week.

Re: reLyX bug report

1999-05-28 Thread Amir Karger
On Mon, May 24, 1999 at 09:25:26AM -0500, Chris Menzel wrote: > Howdy. reLyX is crashing on a LaTeX file of mine. The problem appears > to be in the TeX.pm perl module. Sorry I can't be of any greater help. Oh, but you can. See below. Sorry in return that I took so long. I moved this week.

  1   2   >