Question: What steps are required to use the xr package in LyX in order to reference items in other, independent LyX documents?
Steps already taken:
- The
toolspackage (that contains thexrpackage) has been installed in MikTeX. - The
xrpackage has been used in the referencing document (by adding\usepackage{xr}to the referencing document's preamble). - A pointer to the referenced document has been set in the referencing document (by adding
\externaldocument{referenced.lyx}to the referencing document's preamble). - A label in the referenced document has been cross-referenced in the the referencing document using the
\reftag.
Observed (undesired) behavior: The reference appears as "BROKEN" in the LyX editor. The PDF output shows "??" where the reference number is expected.
Relevant links:
Software used: LyX + MiKTeX + BibTeX on Windows 7
My level of Lyx/LaTeX proficiency: Beginner+