Am 20.09.24 um 11:50 schrieb Andreas Plihal via lyx-users:
Dear community,
In a KOMA book, I include numerous graphics that I want to refer to with cross-references. As soon as I have established an index of figures, the numbers in the cross-references are no longer correct. They correspond to the outline number of the respective text section. The generated page number is also that of the index of figures, not that of the graphic.

Looks like a bug in LyX. It puts a \protect before a \label if it is inside a \caption. This leads to a "multiply defined label"  problemwith the wrong figure number.
Put the label after the caption, means  _outside_ of it.  Then you need
to delete the auxiliary files or save, close and reopen the LyX file.

Herbert
--
lyx-users mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to