[OS X TeX] separators in label names

Piet van Oostrum piet-l at vanoostrum.org
Sun Oct 13 14:21:10 CEST 2019

jfbu <jfbu at free.fr> writes:

> Hi,
> sorry if completely off the mark, but doesn't babel provide the
> \@safe at activestrue
> toggle precisely for such \csname...\endcsname expansions ?
> Couldn't crossreftools in presence of babel do
> \@safe at activestrue
> ...
> \@safe at activesfalse
I have tried that, but because there are all kinds of expansions going on at different times, I couldn't get it working.

However, I found that I had made an error in my code. There was a r@{#1} that should be r@#1.

So the code should be:

\renewcommand{\@@crtextr at ct@ref}[2]{%
  \expandafter\@@@crtextr at ct@ref\expandafter{\detokenize{#2}}{#1}%
\newcommand{\@@@crtextr at ct@ref}[2]{%
  \expandafter\ifx\csname r@#1\endcsname\relax
  \crt at refundefined%
  \expandafter\expandafter\csname crt at ref@splitter@#2\endcsname\csname r@#1\endcsname%
Piet van Oostrum <piet-l at vanoostrum.org>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list