I have been working on improving error handling in my personal tree of 
lyx-1.1.6fix3... I have already written code which addresses some of 
these problems, but I have not contributed the patches. Some of the code 
required a large amount of infrastructure, and as such would not be 
accepted for a 'fix' release. I plan to port the code to 1.2, but at the 
moment I am under a lot of pressure to complete a thesis...

Ronald Holzloehner wrote:

>(2)  If I assign a label to an equation and then change my mind and
>don't want the equation number to appear anymore (and remove the label),
>the label would still sit in the lyx file. When I export it to latex,
>latex complains about duplicate labels. This happens often when I decide
>to break an equation line and want the equation number on the last line.
>It would be great if Lyx could do this automatically!
>
Well, I can take the duplicate label error from the LaTeX output and 
place an error box on every equation (or label object) containing that 
label, telling you that the label is multiply defined. This isn't 
exactly the answer you wanted, I know...

>(3)  BibTeX: When will LyX be able to tell that there are errors in
>BibTeX's result? In particular, am I supposed to check every reference
>in my document if a "[?]" appeared, instead of the citation number?
>Highly unsatisfactory.
>
My LyX can parse the BibTeX log file and extract errors, placing error 
boxes next to all undefined citations. It also places an error box next 
to the bibliography inset when there are errors detected in the 
bibliography database...

>(4)  How can I force a rerun of BibTeX? In particular, if I remove a
>citation, it won't be removed from the references list until I restart
>LyX. Guys, this is a serious bug.
>
My hacked LyX includes BibTeX bibliography databases in the DepTable, 
and as such will automatically detect changed .bib files and re-run 
BibTeX whenever you do a view DVI (or view PS) in LyX. In fact, the same 
mechanism works for updated .eps files as well...

>(5)  The citation insert dialog window is broken somehow: If you leave
>the window open (i.e. just use "Apply" rather than "OK") and edit
>different citation, sometimes the "Apply" and "OK" buttons become gray
>even when there are valid citations in the left field. One then either
>has to reopen the dialog or remove a citation from the left window and
>then reenter it.
>
Yes, I have observed this many times... but not fixed it.

>(6)  I just installed Lyx1.1.6fix3-1 (the binary rpm) on my RedHat 7.2
>box and now the rendering of eps figures in LyX is broken: It still says
>"rendering", but nothing appears. The same file works correctly under
>older RedHat versions.
>
This annoys me to, but people keep telling me it's an xforms bug and as 
such can't be fixed until GUII is complete.

I have begun investigating this myself, and can reliably reproduce it - 
for me, I just navigate around the document while the figures are 
rendering and usually the rendering queue stops. It's not actually LyX 
that's stopping the rendering - it seems to be that a ghostscript 
process is stopping. The problem with the architecture of rendering in 
LyX is that if one stops, then no more figures are rendered...

If anyone has more info on what's going on here I'd appreciate some 
discussion.

I don't know when I'll have time to get all these changes back into LyX, 
as I have to write furiously. I lost a significant amount of PhD writing 
time while making the changes, but they seem to work really well now, 
and are saving me time compared to the old method of searching log files 
for errors...

Ben Stanley.



Reply via email to