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

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. T

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 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 probl

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.

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 varia

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 poin

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? Commin

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 pref

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 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 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 usin

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 c

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 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-03 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-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,1

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: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 reLyXm

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-so

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 pe

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 t

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: > > > > > Y

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. Wa

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

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 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//

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 libera

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, nea

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 \documentcl

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 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-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 > > > /opt/loc

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-so

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 > /opt/local/perl5.004/lib

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

2000-06-06 Thread Kayvan A. Sylvan
On Tue, Jun 06, 2000 at 12:27:29PM +0200, Jean-Marc Lasgouttes wrote: > > "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? Yes. -- Kayvan A. Sylvan

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 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-05 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-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 t

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

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. >