Ask Your Question

How can I locate broken Cross References? [closed]

asked 2014-07-02 23:49:00 +0100

taylorh140 gravatar image

updated 2014-07-15 23:49:53 +0100

bencomp gravatar image

How do you find broken cross references? the ones that say : "Error: Reference source not found" and make you look silly when people are reviewing your papers?

Also it bothers me how silently these appear, I was moving something broke the cross reference and never knew? disturbing.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-29 16:54:52.604725

2 Answers

Sort by » oldest newest most voted

answered 2014-07-15 22:24:05 +0100

taylorh140 gravatar image

Using the Alternative Find and Replace

in conjununction with


Will pull up broken cross reference, although I admit, this isn't the easiest way.

edit flag offensive delete link more


export as pdf and search in the pdf.

toxygen gravatar imagetoxygen ( 2016-03-17 12:45:39 +0100 )edit

I used to use this extension too, but it somehow refuses to appear in LO now. Has something in LO changed so that it's no longer compatible? Are you still able to use it in recent versions of LO?

Prince gravatar imagePrince ( 2016-10-10 04:53:38 +0100 )edit

Never mind. I've updated it and it appears now.

Prince gravatar imagePrince ( 2016-10-10 05:39:05 +0100 )edit

Like to add this for the less-savvy: Remember to enable "Regular expressions" in the Options box.

Prince gravatar imagePrince ( 2016-10-10 05:44:04 +0100 )edit

answered 2014-07-03 07:45:08 +0100

oweng gravatar image

updated 2014-07-16 02:29:21 +0100

There has never been a facility built into LO to search for cross-references. The text of the displayed error is "Error: Reference source not found". This can only be searched for using external tools, such as an extension, or by unzipping the ODT, extracting the content.xml file, and searching the text of the XML for the error message. For example under GNU/Linux:

 $ unzip -p source.odt content.xml | xmllint --format - | grep -e "Error: Reference source not found"

This will indicate if there are any broken cross-references. There does not appear to be any related open bug report for this issue, however Apache OpenOffice issues aoo#37648 and aoo#87541 seem to be requests for such a facility.

The old Apache OpenOffice XrefManager extension may also be worth a look. EDIT: Refer answer by @taylorh140.

edit flag offensive delete link more

Question Tools



Asked: 2014-07-02 23:49:00 +0100

Seen: 1,640 times

Last updated: Jul 16 '14