Hi Richard, thanks for the help, However I cannot even get to step 1.
More precisely:
On 9 Feb, 2007, at 12:42 PM, Richard Heck wrote:
Stefano Franchi wrote:
I am still fighting with LyX/LaTeX cross-referencing facilities.
While it's rather clear how to use it to refer to page numbers and
equation numbers within a single file, I am in the dark on how:
1. cross-referencing to a separate file
2. having the section title appear in the cross-referencing document.
In fact, I am not even sure whether (1) or (2) are possible at all.
(1) is easy, but not terribly intuitive. You need to have both files
open in LyX: The one you want to reference and the one you're editing.
Now Insert>Cross-reference, and at the top of the dialog box is a
drop-down box marked "Labels in". Choose the target file, and the
labels in that file will appear in the dialog box.
I had gotten this far, but I cannot get it to work. I do see the label
I defined in the other document and I can insert it into the
cross-referencing doc, but the pdf file produced has question marks in
it where the reference should appear. And indeed the LaTeX log
complains of an undefined reference.
So I assume I am doing something wrong, but I don't know what.
I read in the LaTeX companion that external references are possible
with the package xr. Is this the package LyX uses to achieve a similar
effect? When I look at the raw LyX file I have produced, I can only see
a simple \ref command.
I must be missing something here.
S.
__________________________________________________
Stefano Franchi
Department of Philosophy Ph: (64) 9 373-7599 x83940
University Of Auckland Fax: (64) 9 373-8768
Private Bag 92019 [EMAIL PROTECTED]
Auckland
New Zealand