Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have a document with \ref{} references to \label{} labels within the document and to labels in another document that get replaced with the correct label number via the xr package. I use hyperref in this document to create hyperlinks for the references to the labels within the document and that works fine. hyperref also hyperlinks the references to the other document, but all of those hyperlinks just point to page 1. I know it's possible to set up the hyperlinks to point to the other document properly, but I don't want to do that (the other document is being published, so I don't have control over the final form that most people will actually have). I'd prefer that the broken links to the other document just not be hyperlinked at all. Is that possible?

This other question seems related, but I don't understand the answer or subsequent comments at all.

share|improve this question
Did you look at the xr-hyper package? –  egreg May 5 '13 at 15:14
Can't you simply use \ref*{...} for the external references? –  Ulrike Fischer May 5 '13 at 16:24
I have looked at xr-hyper a little bit, but I thought that was more for getting the links to actually point somewhere in the other document. I will look more closely at it for an option to turn off hyperlinks to the external document. –  ws_e_c421 May 5 '13 at 21:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.