[OS X TeX] [SPAM] Re: separators in label names

jfbu jfbu at free.fr
Sun Oct 13 21:41:35 CEST 2019


Hi Murray,

I belatedly learn that crossreftools is a package which
provides **expandable** macros.

This means that it can not turn on or off the babel
provided toggle \if at safe@actives

My proposal was a shot in the dark, where dark is to be
read as black hole.

You got an expandable construct on TeX-Live list from D.C.

Do you really need **expandable** macros ???

Anyway glad it appeared to be solved for you.

Best,

Jean-François

Le 12/10/2019 à 22:55, Murray Eisenberg a écrit :
> Jean-François,
> 
> I have utterly no understanding of where and how to use \@safe at activestrue.
> 
> Could you show me an example of where and how relevant to my crossreftools problems?
> 
> Murray
> 
>> On 12 Oct2019, at 4:38 PM, jfbu <jfbu at free.fr> wrote:
>>
>> Le 12/10/2019 à 22:19, Piet van Oostrum a écrit :
>>> 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
>>
>>
>> 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
>>
>> or see hyperref code on how to do this in a way which will work
>> even without babel \if at safe@actives
>>
>> I don't read tex.sx, so perhaps this has been mentioned
>>
>> I hardly read this thread either, so I may be making noise.
>>
>> But clearly, it is on crossreftools to adapt to babel shorthands
>>
>> Jean-François
>>
>> ----------- 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
> 
> ---
> Murray Eisenberg			murrayeisenberg at gmail.com
> 503 King Farm Blvd #101	Home (240)-246-7240
> Rockville, MD 20850-6667	Mobile (413)-427-5334
> 
> 
> ----------- 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
> 


----------- 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