[OS X TeX] separators in label names
Piet van Oostrum
piet-l at vanoostrum.org
Sat Oct 12 16:19:57 EDT 2019
Piet van Oostrum <piet-l at vanoostrum.org> writes:
> Murray Eisenberg <murrayeisenberg at gmail.com> writes:
>
>> As I just commented on that tex.stackexchange answer:
>>
>> While that does fix the crossreftools+babel-french incompatibility for the crossreftoolscommand
>> crtlistoflabelsthat I raised, it does not fix the incompatibility with the other commands from
>> that package, including its redefinition of the version of \cref(from cleveref).
>>
There are more places where the \detokenize trick should be applied, e.g.
\renewcommand{\@@crtextr at ct@ref}[2]{%
\@@@crtextr at ct@ref{#1}{\detokenize{#2}}%
}
\newcommand{\@@@crtextr at ct@ref}[2]{%
\expandafter\ifx\csname r@{#2}\endcsname\relax
\crt at refundefined%
\else
\expandafter\expandafter\csname crt at ref@splitter@#1\endcsname\csname r@#2\endcsname%
\fi
}
Actually it might be necessary to apply this trick in all/some places where this pattern is used:
\expandafter\ifx\csname ...#1...\endcsname
--
Piet van Oostrum <piet-l at vanoostrum.org>
WWW: http://piet.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
More information about the MacOSX-TeX
mailing list