[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reftex+catchfilebetweentags, reftex support for catchfilebetweentags
From: |
Uwe Brauer |
Subject: |
Re: reftex+catchfilebetweentags, reftex support for catchfilebetweentags tags |
Date: |
Thu, 01 Dec 2022 07:53:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:
> Hi
> The logic of catchfilebetweentags is as follows.
> In an external file a text snippet has to be surrounded by tags like
> this
> ,----
> | %<*external-catches:1>
> | This is important information
> |
> |
> | %</external-catches:1>
> `----
> While in the main file this snipped can be inserted by
> ,----
> | \ExecuteMetaData[external-catches.tex]{external-catches:1}
> `----
> Now in the current implementation of ExecuteMetaData
> ,----
> |(TeX-add-symbols
> | ("ExecuteMetaData"
> | ;; Act like \include and not like \input:
> | [TeX-arg-input-file "File" t] "Tag"))
> `----
> the file name of the external file can be easily inserted, however to
> select the correct tag is more difficult. Even with
> ,----
> | \usepackage{xr-hyper}
> | \usepackage[colorlinks]{hyperref}
> | \externaldocument[A-]{external-catches}
> `----
> Reftex does not support tags like <*external-catches:1>
I tried
(setq reftex-label-alist
("ExecuteMetaData" ?c "%f:" "{%s}" nil ("ExecCuteMetaDate"))
But it did not work, any help is appreciated.
smime.p7s
Description: S/MIME cryptographic signature
- Re: reftex+catchfilebetweentags, reftex support for catchfilebetweentags tags,
Uwe Brauer <=