[Top][All Lists]

[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: Sun, 03 Oct 2021 14:40:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi Arash
> Hi Uwe,
> Uwe Brauer <> writes:

> \externaldocument provided by xr-hyper package takes these arguments:

>     \externaldocument[prefix][nocite]{document}[URL]

> So I think it could look like this in a style file:

>     (TeX-add-symbols
>      '("externaldocument"
>        ["Prefix"]
>        [TeX-arg-eval completing-read
>                      (TeX-argument-prompt t nil "Cite option")
>                      '("nocite")]
>        "LaTeX document"
>        ["Final document"]))

Ok thanks!!!

> RefTeX supports xr package[1].  As long as you don't give the nocite
> option, it should work fine.  I didn't test it with your files, but in
> RefTeX's label selection menu, hit 'x'.  This is the description[2]:

>  x
>     Reference a label from an external document.  With the LaTeX package
>     xr it is possible to reference labels defined in another document.
>     This key will switch to the label menu of an external document and
>     let you select a label from there (see section xr).

> Best, Arash

Well I tried that, but it did not work, typing x does not jump offer
anything from the master file.


When I run  reftex-reference and then ?

I see a long list of possibilities, how can I move the cursor down
because I don't see the whole list!



> Footnotes:
> [1]

> [2]

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

reply via email to

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