Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| >>>>> "Ramon" == Ramon Felciano <[EMAIL PROTECTED]> writes:
| 
| Ramon> Yes, that's what I ended up doing. It was just a bit painful to
| Ramon> track or scan that log file by hand -- and I wasn't sure how to
| Ramon> do it automatically via some kind of Unix redirect -- so I
| Ramon> thought I'd drop a line to see if LyX supported it.
| 
| Ramon> Is there an official way to add something to the wishlist?
| 
| Yes, go to lyxbugs.sourceforge.net and file a bug (with the "Feature
| Request" category).

The framework in LaTeX.C is almost ready to handle warnings in
addition to the errors that it already does.

We should however test this case by scanning the document instead,
should actually be quite easy to do. The easiest is to use a two-pass
scan, where the first finds all the labels and the second all the
references. Then it is easy to find unreferenced labels and references
that does not point to a valid label. 

We could also take this into account when writing out the latex
document: never output an unreverenced label, or an reference that point to 
nowhere...(the second is more questionable)

This would also make it easier for us to have automatic lables for
sections and such without cluttering the resulting latex document with
unused labels.

This could be a nice project for someone...

-- 
        Lgb

Reply via email to