package implements a system for eXternal References (cross referencing to any `\label`s in external files)

learn more… | top users | synonyms

4
votes
1answer
23 views

substitute a character from one script to another

I am working in XeLaTeX + Memoir, and I have two documents: one typeset in English and another typeset in Arabic. As the two documents are related, I am using the package xr to establish ...
11
votes
1answer
116 views

Can one safely redefine \jobname?

I want to access labels from an external document -- in general this is not a problem with the xr package. But in this case both documents are compiled on sharelatex, and there \jobname is always set ...
3
votes
2answers
67 views

cross reference with xr fails (ShareLatex)

I try to use xr for cross referencing, and I get question marks instead of the reference and a warning: Reference updateEq on page 1 undefined on input line 93 on the document i am referring to ...
0
votes
0answers
16 views

Special cref display for sections and subsections in external documents

This is a variation of Special \cref display for \externaldocument where the solution by @David Carlisle takes us almost there. The question is how to get \cref to generate special prefixes for ...
2
votes
1answer
49 views

Correct ordering of xr-hyper, hyperref, and cleveref

I want to use \cref, external documents, and hyperrefs. Take the following file, label it main1.tex and compile it: \documentclass{article} \usepackage[capitalise,noabbrev]{cleveref} ...
3
votes
1answer
66 views

Special \cref display for \externaldocument

I am using cleveref pointing to equations within my document, as well as to a technical appendix in a separate file (loaded by \externaldocument) Setup Lets that the the first file was in main.tex, ...
3
votes
1answer
49 views

Using xr to refer to another document without hyperref

I have two documents A and B. I wish to refer to theorems and lemmas from A in B. To do this I am using the package xr in B. If I use the package hyperref in B then it's all fine. Otherwise, when I ...
1
vote
0answers
197 views

externaldocument references with standalone

I have a main document, /home/con/Documents/Thesis/thesis.tex, that loads a file /home/con/Documents/RNA/rna.tex with standalone. This works surprisingly well. However, there are 2 problems: 1. ...
1
vote
0answers
35 views

external reference with lyx [duplicate]

I am attempting to reference labels in an external LyX document. I have found how to do this using the xr package in .tex files. However, I see no way of doing this in LyX without having to export to ...
3
votes
1answer
70 views

Including title of document in external reference

I'm currently using xr to reference external documents. It's good in as much as I get linked via hyperref to the relevant result, but it would be helpful if it displayed the title of the document ...
1
vote
1answer
119 views

Problem with xr-hyper and xepersian latex packages

I had a problem with xr package and xepersian package; when I use these packages, I can not use options for external document command. File A: \documentclass{report} ...
4
votes
1answer
84 views

Memoir's \NumToName doesn't work with cross-referenced items

I got external references to work with memoir and hyperref here: hyperref and xr-hyper break memoir's \titleref, but references to external documents don't work with memoir \NumToName: ...
5
votes
2answers
361 views

hyperref and xr-hyper break memoir's \titleref

I have one document that has hyperref loaded, and works fine. I have a second document that I am using xr-hyper to reference the first. If I remove hyperref from the first document, the \titleref{} ...
4
votes
1answer
406 views

Referencing an article from a beamer document with xr-hyper

I'm trying to link to a label in an article from a beamer file. The reference itself works fine, but the hyperlink doesn't. It gets defaulted to page 1 of the beamer file. This is the article: ...
8
votes
1answer
132 views

using \ref for words in text - across files - and including urls

So, I have a couple of questions, I'll try to build it up progressively: I want to use labels and references for words or phrases instead of the usual reference to a section number or page. I found ...
4
votes
3answers
548 views

Automatically add prefix to references from another document?

I'm using xr to reference equations in supplemental material to a paper. I'd like equations from the supplement referenced in the paper to automatically be prefixed with "S", so that ...
4
votes
2answers
158 views

How to cross-reference labels between two documents without hyperlinks, while still creating hyperlinks to labels within the same document?

I have two documents (A and B) with labels. I would like to reference the labels in document A from document B. I would like to use the hyperref package to create hyperlinks in document B to the ...
2
votes
1answer
232 views

question marks appearing using xr

I am creating a document in LaTeX using TeXworks and I cannot get cross-referencing between separate files working. Every time I use \ref to a label I get two question marks. I have three separate ...
6
votes
1answer
529 views

Lyx cross-referencing between branches

I'm writing a paper in LyX, of which there are two versions -- a short and a long version. I've created two branches in the (single) LyX file, and will switch them on and off appropriately. I'd like ...
2
votes
1answer
901 views

xr and hyperref to link between two PDF documents [duplicate]

Possible Duplicate: Does hyperref work between two files? I am using the xr package to write a PDF document that contains references to another PDF document, like "in section bla of the ...