diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-extref.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-extref.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-extref.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-extref.html index 4bb4baa8f8c..b9e13263f44 100644 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-extref.html +++ b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-extref.html @@ -2,28 +2,28 @@ <title>UK TeX FAQ -- question label extref</title> </head><body> <h3>Referring to labels in other documents</h3> -<p>When producing a set of inter-related documents, you'll often want to +<p>When producing a set of inter-related documents, you’ll often want to refer to labels in another document of the set; but LaTeX, of its -own accord, doesn't permit this. +own accord, doesn’t permit this. <p>So the package <i>xr</i> was written: if you say <blockquote> <pre> \usepackage{xr} \externaldocument{volume1} </pre> -</blockquote> +</blockquote><p> will load all the references from <i>volume1</i> into your present document. <p>But what if the documents both have a section labelled -"<code>introduction</code>" (likely enough, after all)? The +“<code>introduction</code>” (likely enough, after all)? The package provides a means to transform all the imported labels, so you -don't have to change label names in either document. For example: +don’t have to change label names in either document. For example: <blockquote> <pre> \usepackage{xr} \externaldocument[V1-]{volume1} </pre> -</blockquote> +</blockquote><p> loads the references from <i>volume1</i>, but prefixes every one with the string <code>V1-</code>. So you would refer to the introduction to volume 1 as: @@ -35,10 +35,10 @@ as: ... ... the introduction to volume1 (\ref{V1-introduction})... </pre> -</blockquote> +</blockquote><p> To have the facilities of <i>xr</i> working with <i>hyperref</i>, you need <i>xr-hyper</i>. For simple -hyper-cross-referencing (i.e., to a local PDF file you've just +hyper-cross-referencing (i.e., to a local PDF file you’ve just compiled), write: <blockquote> <pre> @@ -48,9 +48,9 @@ compiled), write: ... ... the \nameref{V1-introduction})... </pre> -</blockquote> +</blockquote><p> and the name reference will appear as an active link to the -"introduction" chapter of <i>volume1.pdf</i>. +“introduction” chapter of <i>volume1.pdf</i>. <p>To link to a PDF document on the Web, for which you happen to have the .aux file, write: <blockquote> @@ -62,7 +62,7 @@ have the .aux file, write: ... the \nameref{V1-introduction})... </pre> -</blockquote> +</blockquote><p> <dl> <dt><tt><i>xr.sty</i></tt><dd>Distributed as part of <a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.zip">macros/latex/required/tools</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/required/tools.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/required/tools/">browse</a>) <dt><tt><i>xr-hyper.sty</i></tt><dd>Distributed with <a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/hyperref.zip">macros/latex/contrib/hyperref</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/hyperref.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/hyperref/">browse</a>) |