LyX ⇒ cross-reference messed up
cross-reference messed up
i'm pretty new to lyx, so the question may be easy to answer.
I used lyx so far to write 50+ pages without any problems. Now I found that my cross-references don't work anymore as they're supposed to. They all point to the right labels in lyx, but when i generate a pdf, they point to the chapter, section, subsection .. wherever the label is in. For example i have a label for a float, and this reference to this float in PDF now points to the floats section which is somewhere else in the document.
And this is the same for all the other references. Yesterday it still worked as it should.
I of course removed one of the labels and references, and added them again etc. but this didnt help for me.
Is there any easy way i can solve this issue?
big thanks in advance
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
cross-reference messed up
I do not use LyX, but that behaviour usually comes from misplacing the \label command in floats; please make sure to place the \label command (in the figure and table environments) after the corresponding \caption command.