Transferred from lyx-users.

On 12 Jun 2001, Lars Gullik Bj�nnes wrote:

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

There is the even faster and easier signal/slot method for this that I
demonstrated about 2 years ago under a title of "Fun = Signals + Buffers +
Insets".  This gave instant access to all insets of a given type -- only
those insets it was useful for would make use of the signals.

Take a look at:
      http://www.mail-archive.com/[email protected]/msg02280.html
and:
      http://www.mail-archive.com/[email protected]/msg02504.html
and:
      http://www.mail-archive.com/[email protected]/msg02531.html

A lot of other ground was covered in that thread.  Well worth reading.

I also just noticed that mail-archive.com have extended the threading and
linkng capabilities of their site.  I hope the email numbers haven't
changed as a result.

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

class InsetLabel {
        bool automatic;
};

That'll get them started ;-)

Allan. (ARRae)

Reply via email to