First of all, many thanks to the developers from implementing the support for 
cross-
references to external documents.  It's been 20+ years since I suggested this 
feature:
https://www.mail-archive.com/[email protected]/msg43282.html[1]
All this time, I've been using the xr and xr-hyper packs and doing the X-refs 
manually.

Now, In my first tests, I've been noticing some strange behavior.  I think I'm 
doing 
everything as per the instructions in section 6.1.1 of the User Guide.

The attached files contain my simple tests.  First I edited test_cross1.lyx 
(TC1).  Then, while 
editing test_cross2.lyx (TC2), I opened TC1 in order to insert the refereces 
into the 
referring document.  The x-refs worked all right.  
More interestingly, if I close all documents and then open only TC2, the x-refs 
will still 
work.  This is how I created the attached test_cross2.pdf.

However, in test_cross3.lyx I inserted x-refs from both TC1 and TC2 and now the 
equation 
numbers from TC2 were rendered weirdly, as you can see in test_cross3.pdf.  
Again, if I 
close everything and then open only TC3, the equation numbers seem to be 
identified, 
despite the ugly red boxes, but the renderization of the references from TC2 
are once 
again weird.

Could you run my tests and verify if you get the same outputs?

In fact, I'm trying to employ the feature with a new text I'm editing right 
now, which refers 
to several equations in several very large earlier documents.  In this 
"real-world" usage 
case, the behavior is even weirder. 
At first, with only two docs being referred-to, the x-refs seemed to work, but 
after some 
additional text and refs from a third doc were included, the feature stopped 
working 
altogether, regardless on whether I open all documents or not.
-- 
Rudi Gaelzer
Physics Institute - UFRGS
BRAZIL
Registered Linux user # 153741


--------
[1] https://www.mail-archive.com/[email protected]/msg43282.html

Attachment: test_cross2.lyx
Description: application/lyx

Attachment: test_cross1.lyx
Description: application/lyx

Attachment: test_cross3.lyx
Description: application/lyx

Attachment: test_cross2.pdf
Description: Adobe PDF document

Attachment: test_cross3.pdf
Description: Adobe PDF document

-- 
lyx-users mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-users

Reply via email to