# [tex-live] \string in xetex

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Apr 28 20:41:29 CEST 2015

On 28/04/2015 18:26, David Carlisle wrote:
> On 28 April 2015 at 17:52, Joseph Wright <joseph.wright at morningstar2.co.uk>
> wrote:
>
>> On 28/04/2015 17:17, David Carlisle wrote:
>>> Sorry I just realised that the undefined command error is due to
>> different
>>> catcode defaults for xetex and
>>> luatex but if you add space after \string in \c and \e you get no error
>> but
>>> a log of
>>>
>>> A=B
>>> C=D
>>> C=E
>>> D=E
>>>
>>>
>>> which is still wrong, fixed test file attached.
>>>
>>> David
>>
>> I must be missing something here. Whilst there is a problem with XeTeX
>> (try \show\c) the fact that A = B and C = D = E looks right: the first
>> set are letters, the second set other chars.
>> --
>> Joseph Wright
>>
>>
> the updated test file starts with \catcode"1D400=12 so they should all be
> the same
> as reported by luatex.
>
> David

Well yes, like I said that's the well-know issue with \string, XeTeX and
high chars. [At least it's well-know to me :-)]
--
Joseph Wright