auctex-devel
[Top][All Lists]
Advanced

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

[Some news and problems] (was: [Good and bad news])


From: Uwe Brauer
Subject: [Some news and problems] (was: [Good and bad news])
Date: Thu, 01 Dec 2022 18:53:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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

>>> "UB" == Uwe Brauer <oub@mat.ucm.es> writes:
>> Thanks for your answer, but....

I set up a primitive cleanup/strip function that seems enough for my purpose 
for the moment
(defun strip-refs-catchfiletags ()
  "Cleanup/Strip constructs like `\ref{external-catches:1}' to 
`external-catches:1'"
  (interactive)
  (search-backward "{" 0 t 2)
  (kill-word 1)
  (search-forward "}"  nil) 
  (delete-char 1 nil))


What is a bit more serious is the following. 

As a dummy/auxiliary pkg I need to use 

\usepackage{xr-hyper}
\usepackage[colorlinks]{hyperref}
\externaldocument{external-catches}


So that reftex find external reference.

The problem is, if I have say two external files


\usepackage{xr-hyper}
\usepackage[colorlinks]{hyperref}
\externaldocument[A-]{external-catches}
\externaldocument[B-]{external-addons}


Then reftex inserts (correctly for xr-hyper) and additional prefix in the ref, 
that does not work with catchfilebetweentags.

But I think I can life with that as well for the moment

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


reply via email to

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