[OS X TeX] separators in label names

Piet van Oostrum piet-l at vanoostrum.org
Sat Oct 12 22:19:57 CEST 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]
----------- 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
                https://email.esm.psu.edu/pipermail/macosx-tex/
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