G. Milde wrote:
On 28.11.07, Nicolás wrote:

Now I have found that if you have a label inside a LyX Note, it appears in the cross-reference dialog.
...
For me this is again a bug. Would like to hear opinions from other users before I file a bug report. Thanks

For me, this is a nice loophole:

  If I include some raw latex (e.g. a latex file) in my doucment that
  contains a label, I can put a dummy label in a note and then use it "the
  normal way" to create cross-references with the GUI.
Although this is not necessary. You can just write yourself the name of the 
label in the cross-reference dialog.


This means that if you place some text that includes a label inside a LyX Note, and then you continue using that the same label in the document body, two labels with the same name will appear in the cross-reference dialog. I will never want to make a reference to a label inside a LyX Note, but if a want to make a reference to the label in the document body, how can I differentiate it from the one inside the LyX Note?

The "label inside the LyX note" will be invisible for LaTeX and therefore
not influence the cross references in the final output.

So, no problem with identically named labels should appear.
The danger is rather with cross references to labels that only exist in a
note: they will generate a latex error.


You are right! I did not think about this. So there is no problem at all. 
Forget everything! :-)

Günter


Reply via email to