>>> "UB" == Uwe Brauer <[email protected]> writes:

>>> "UB" == Uwe Brauer <[email protected]> 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