[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
support xr-hyper (xr) in auctex and reftex
From: |
Uwe Brauer |
Subject: |
support xr-hyper (xr) in auctex and reftex |
Date: |
Fri, 01 Oct 2021 09:42:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi
Only by now I realised that xr-hyper allows me to set a (hyperref)
reference to an external document.
Here is a minimal example
master
,----
| \documentclass[12pt]{article}
| \usepackage{amsmath,amsthm}
| \usepackage{xr-hyper}
| \usepackage[colorlinks]{hyperref}
|
| \begin{document}
| this is an equation
| \begin{equation}
| \label{eq:master1}
| \int f dx
| \end{equation}
| \end{document}
`----
,----
| \documentclass[12pt]{article}
| \usepackage{xr-hyper}
| \usepackage[colorlinks]{hyperref}
| \externaldocument{master}
| \begin{document}
|
| This is true
| \ref{eq:master1}
|
| \end{document}
|
`----
To have a separate style for xr or xr-hyper seems a bit pathetic since
it only would need
(TeX-add-symbols
'("externaldocument" [ "Option" ] "LaTeX Dokument" "PDF-document"))
However, it would be very helpful to have reftex support that.
Right now reftex supports input, include and subfiles but not xr-hyper.
Anybody interested in this?
Regards
Uwe Brauer
- support xr-hyper (xr) in auctex and reftex,
Uwe Brauer <=
- Re: support xr-hyper (xr) in auctex and reftex, Arash Esbati, 2021/10/03
- Re: support xr-hyper (xr) in auctex and reftex, Uwe Brauer, 2021/10/03
- Re: support xr-hyper (xr) in auctex and reftex, Arash Esbati, 2021/10/04
- Re: support xr-hyper (xr) in auctex and reftex, Uwe Brauer, 2021/10/04
- Re: support xr-hyper (xr) in auctex and reftex, Uwe Brauer, 2021/10/10
- [SOLVED] (was: support xr-hyper (xr) in auctex and reftex), Uwe Brauer, 2021/10/10
- Re: [SOLVED], Arash Esbati, 2021/10/11
- Re: [SOLVED], Uwe Brauer, 2021/10/11