I am writing my thesis using LyX's thesis template, and each chapter is a different file (chapter-x.lyx).
However, sometimes, I need to refer to a section from another chapter, which is in a different file. So for example:
chapter-2.lyx:
this is explained further in chapter \ref{chap:White-Box-Testing}
chapter-3.lyx:
\begin_layout Chapter
White Box Testing
\begin_inset CommandInset label
LatexCommand label
name "chap:White-Box-Testing"
The problem is that when I generate the PDF document from Thesis.lyx, which has the pointers to all the chapter-x.lyx files, I get broken links in the output document.
How would I go about fixing this?