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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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.