Opened 21 years ago

Closed 18 years ago

Last modified 16 years ago

#971 closed defect (fixed)

reLyX chokes on simple case $formula1$$formula2$

Reported by: lemire@… Owned by: kayvan@…
Priority: high Milestone: 1.4.0
Component: relyx Version: 1.3.1
Severity: normal Keywords:
Cc: ed.davison@…

Description

In my experiments, reLyX will choke on LaTeX containing something like

$formula1$$formula2$

Thanks!

Change History (9)

comment:1 by lasgouttes, 21 years ago

This bug is known (I thought it was already in bugzilla, but
could not find it), but the fact that reLyX uses regular expressions
for parsing makes it very difficult to fix properly.

comment:2 by lemire@…, 21 years ago

There are a few things that can be done, it seems:

1) Document the bug. The problem is easily fixed manually, so if the person
who encounters the bug can find documentation about it and the obvious
workaround, then it makes the problem much less of a problem.

2) I'm not sure why regular expressions are a problem. There is nothing in
regular expressions per se that appears to be a limitation here. It would seem
to be, but maybe I am being naive, that it is rather in the way that regular
expressions are used. So maybe, it would be possible to review the code a bit?
Sorry, I'm no perl programmer.


In any case, could we please, at the very least, have this bug listed
officially in the man page of reLyX and possibly suggest that it be included
in the notes or documentation for LyX and reLyX.

I no longer have a problem with this bug, because I know the workaround. It
still took me a good hour or more to figure it out. I don't want other people
to suffer like I did.

It is ok to not fix it if it is too much work, but we should at least document
it as a limitation. You do document many limitations of reLyX already. Why not
add this one?

What do you say?


comment:3 by levon, 21 years ago

There's no point trying to document it anywhere other than here.
The current list of bugs etc. in the docs is way way out of date. There are far
worse (more obscure to find) bugs in relyx than this anyway.

comment:4 by lasgouttes, 20 years ago

Cc: ed.davison@… added

comment:5 by lasgouttes, 20 years ago

* #1673 has been marked as a duplicate of this bug. *

comment:6 by lasgouttes, 20 years ago

I will just add that tex2lyx, which will become the default converter in 1.4.0,
does not suffer from this bug.

comment:7 by Juergen Spitzmueller, 19 years ago

Keywords: fixedintrunk added

comment:8 by Lars Gullik Bjønnes, 18 years ago

Milestone: 1.4.0
Resolution: fixed
Status: newclosed

fixed

comment:9 by ps@…, 16 years ago

Keywords: fixedintrunk removed
Note: See TracTickets for help on using tickets.