[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: XeTeX encoding problem
From: |
Gavin Smith |
Subject: |
Re: XeTeX encoding problem |
Date: |
Sun, 7 Feb 2016 14:57:49 +0000 |
On 7 February 2016 at 14:20, Masamichi HOSODA <address@hidden> wrote:
> \def\DeclareUnicodeCharacterNative#1#2{%
> \catcode"#1=\active
> - \begingroup
> - \uccode`\~="#1\relax
> - \uppercase{\gdef~}{#2}%
> - \endgroup}
> + \ifnativeunicodereplace
> + \begingroup
> + \uccode`\~="#1\relax
> + \uppercase{\gdef~}{#2}%
> + \endgroup
> + \else
> + \begingroup
> + \uccode`\.="#1\relax
> + \uppercase{\endgroup \def\UTFNativeTmp{.}}%
> + \begingroup
> + \uccode`\~="#1\relax
> + \uppercase{\endgroup \edef~}{\UTFNativeTmp}%
> + \fi
> +}
I'm not sure if this is correct: shouldn't the conditional be inside a
single definition, instead of two definitions (starting \gdef~ and
\edef~) inside the conditional?
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/02/03
- Re: XeTeX encoding problem, Gavin Smith, 2016/02/07
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/02/07
- Re: XeTeX encoding problem, Gavin Smith, 2016/02/07
- Re: XeTeX encoding problem,
Gavin Smith <=
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/02/07
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/02/07
- Re: XeTeX encoding problem, Gavin Smith, 2016/02/07
- Re: XeTeX encoding problem, Masamichi HOSODA, 2016/02/08
- Re: XeTeX encoding problem, Gavin Smith, 2016/02/08