Tim Holy wrote: > Hello, > > I'm relatively new to using LyX. I'd played around with it a year or two ago, > but (perhaps out of inertia more than anything else) returned to directly > writing the latex with a text editor. Now I'm using LyX 1.4.3, and I have to > say that I'm quite impressed. Thanks to the developers for some great work! > > One of the many things that impressed me was the apparent ability to > cross-reference between documents. (Our use case is to refer back and forth > between the "main text" and "supplementary information" for a scientific > paper.) While LyX makes it easy to insert the cross-document cross-reference, > I have yet to figure out how to make that cross reference actually work in > the PDF-exported document---it appears as "??" when the PDF is generated. > > Attached are two small files that illustrate the problem. I open both files, > verify that the cross-reference from doc1 points to a label in doc2, and then > select View -> PDF (pdflatex). An internal cross-reference works just fine, > but the cross-document one does not. >
I suggest that, as Helge suggested, you create a master document that contains 'Input' tags for the two subdocuments. Then create your PDF by calling pdflatex on the master document. Then, if you really want to split the resulting sngle document back into separate PDFs, use 'pdftk' as a post-processing step. Cheers JP -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia http://pye.dyndns.org/