auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: support xr-hyper (xr) in auctex and reftex


From: Uwe Brauer
Subject: Re: support xr-hyper (xr) in auctex and reftex
Date: Mon, 04 Oct 2021 12:30:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Uwe Brauer <oub@mat.ucm.es> writes:

> I tried it now with these 2 files:

> ,----[ This is uwe-xr.tex ]
> | \documentclass[12pt]{article}
> | \usepackage{xr-hyper}
> | \externaldocument{uwe-master}
> | \usepackage[colorlinks]{hyperref}
> | 
> | \begin{document}
> | 
> | This is true \ref{eq:master1}
> | 
> | (symbol-value reftex-docstruct-symbol)
> | 
> | \end{document}
> | 
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: t
> | %%% End:
> `----

> ,----[ This is uwe-master.tex ]
> | \documentclass[12pt]{article}
> | \usepackage{amsmath,amsthm}
> | \usepackage[colorlinks]{hyperref}
> | 
> | \begin{document}
> | this is an equation 
> | \begin{equation}
> |   \label{eq:master1}
> |   \int f dx
> | \end{equation}
> | \end{document}
> | 
> | %%% Local Variables:
> | %%% mode: latex
> | %%% TeX-master: t
> | %%% End:
> `----

> And it works.  In uwe-xr.tex, I hit `C-c ) RET SPACE x' and I get this
> in *RefTeX Select*:

> .                 \int f dx 

I copied your files into the same diectory and I repeated all your step
and it does not work for me,  

I am using GNU emacs master 83a915d3dfafd5f3d737afe1e13b75e4dd3aef96
which is relatively recent.

The culprit might be my reftex init file, I will try to debug it and
report back.


> Eval'ing the symbol-value form contains an entry for `xr-doc'.

> Are the files in the same directory?


> Good question, I have to check.

Thanks

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]