封门村人鬼同居之谜:误入者梦到女子洗澡高烧不退
百度 为中国人民谋幸福、为中华民族谋复兴是中国共产党人的初心和使命。
package implements a system for eXternal References (cross referencing to any `\label`s in external files)
136 questions
16
votes
1
answer
744
views
Cleveref mistakenly showing filename in external references
I am using a combination of xr-hyper, hyperref and cleveref with multiple files. Old code that I have is no longer working correctly. The external references now include the file name of the ...
12
votes
2
answers
13k
views
Using the xr package and - missing aux file? "Warning: No file SupplementalMaterial.aux LABELS NOT IMPORTED"
I'm using Overleaf to write a paper with supplementary material and have been having substantial trouble with separating out Supplemental Material while maintaining references. My MWE is as follows - ...
12
votes
1
answer
5k
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 ...
11
votes
1
answer
8k
views
Cross references and subfiles
I want to take references between subfiles for a big project, the main
structure is for the main files is main.tex:
\documentclass[12pt]{book}
\usepackage{subfiles}
\usepackage{xr}
\...
9
votes
2
answers
2k
views
Restate theorem in separate file
I state a theorem in the main body of a document and prove it in the appendix. I use thmtools's restatable environment to restate the theorem there. However, I now need to have my appendix in a ...
7
votes
4
answers
5k
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 Eq.~\ref{eqn:...
7
votes
1
answer
1k
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 ...
7
votes
1
answer
1k
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 a ...
7
votes
0
answers
962
views
How can I automatically copy a LyX-generated .aux file to the working directory for cross referencing?
This is a follow up to: Using the xr package in LyX (for cross-referencing an external LyX document)
I have two LyX documents, called draft.lyx and supplement.lyx. I need to compile them into ...
6
votes
2
answers
3k
views
Cross Reference problem
I have a problem when I use a cross-reference from other files. I have a folder in which there is a main.tex file and a subfolder (Chapter) containing Chapter1.tex and Chapter2.tex.
In the main file, ...
6
votes
1
answer
13k
views
Cross-referencing between two files in overleaf
I have two files, SI.tex and main.tex. There is a subsection in main.tex that is labeled subsec:A. I want to reference this subsection from SI.tex. I'm doing this in overleaf, just in case that makes ...
6
votes
3
answers
911
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 ...
6
votes
0
answers
558
views
Include bibliography of xr (xcite) citations, that only contains the relevant entries
Short description of my Question:
I am using the xr or xcite package in my derivative project supplementary.tex to give references/citations the same number that they already have in an external ...
5
votes
1
answer
3k
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}
\crefname{...
5
votes
1
answer
207
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 cross-...