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.

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

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

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

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

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

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 e

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 int

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

Lyx/Relyx bug

1999-11-14 Thread Peter Drummond
Hi- If I try to import the new OSAmtg.tex template into Lyx (to make an abstract for the meetings next year), Relyx will exit with a fatal error. I use version 1.04. The special OSAmeet.sty file was downloaded into the same directory as OSAmtg.tex, if this is a relevant issue. Ordinary Latex is n

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: %-- \documentclass[12pt

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

reLyX bug report

1999-05-24 Thread Kayvan Aghaiepour Sylvan
The easiest way of getting reLyX to work on complex TeX files is to put the deep TeX tricks inside a \begin{reLyXskip} [...] \end{reLyXskip} block. Then, once the LyX file is generated, you can use LyX to fix up the document. ---Kayvan -- Kayvan Aghaiepour Sylvan | Pro

reLyX bug report

1999-05-24 Thread Chris Menzel
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. Thanks. -chris == Christopher Menzel # web: philebus.tamu.edu/~cmenzel Ph

Re: Lyx/Relyx bug

1999-01-17 Thread Peter Drummond
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. But why does it crash here with an empty brace, and not at your installatio

Re: Lyx/Relyx bug

1999-01-17 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Drummond <[EMAIL PROTECTED]> writes: Peter> OK, but how many tries? I have used Lyx since v0.1, and I could Peter> never get mouse selection to work properly inside a bracket or Peter> a fraction or a square root. What happens is that it is all or Peter> nothing - you can s

Re: Lyx/Relyx bug

1999-01-16 Thread Peter Drummond
Jean-Marc Lasgouttes wrote: > > Mouse selection does work, in fact, but it is really not precise. It > takes a lot of tries to select correctly. > > JMarc OK, but how many tries? I have used Lyx since v0.1, and I could never get mouse selection to work properly inside a bracket or a fraction

Re: Lyx/Relyx bug

1999-01-16 Thread Jean-Marc Lasgouttes
> "Peter" == Peter Drummond <[EMAIL PROTECTED]> writes: Peter> Oops, you are quite right, I'm actually confusing two different Peter> issues. What I mean is, suppose you place the cursor AFTER the Peter> last word of text, above an equation. The cursor sometimes will Peter> stay up there, but

Re: Lyx/Relyx bug

1999-01-16 Thread Ben Cazzolato
Guys, > > It would certainly be useful, but means work. In the meantime, you can > > do search/replace on the .lyx file, which is not worse than the latex > > file... > > Thanks, thats a useful idea - never thought of that... Maybe the > find-replace > popup could have a mode-less operation, so

Re: Lyx/Relyx bug

1999-01-15 Thread Peter Drummond
Jean-Marc Lasgouttes wrote: > > Peter> (3) I find that the convention where typing a space in front of > Peter> an equation pops you into math-mode, is quite unsettling - I > Peter> usually finish up typing things in the equation rather than > Peter> before it. I would prefer if a cursor movemen

Re: Lyx/Relyx bug

1999-01-15 Thread Peter Drummond
Amir Karger wrote: > > Sorry I didn't answer this earlier. The strange thing is that when I ran > reLyX on it, it worked just fine. Could you send me the output of reLyX -d? OK - attached - here is the screen printout: bethe:ABSTRACTS/ABSTRACTS-00> reLyX -d OSAmtg.tex > RELYX.dat reLyX, the La