[XeTeX] bug fmtcount with xelatex?

François Patte francois.patte at mi.parisdescartes.fr
Wed Nov 5 11:27:23 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 05/11/2014 10:30, Zdenek Wagner a écrit :
> 2014-11-05 10:21 GMT+01:00 François Patte 
> <francois.patte at mi.parisdescartes.fr>: Le 05/11/2014 02:02, Zdenek 
> Wagner a écrit :
>>>> \uccode`\è=`\È \uccode`\È=`\È
>>>> 
>>>> It might be useful to set \lccode similarly: \lccode`\È=`\è 
>>>> \lccode`\è=`\è
> 
> Thanks Zdenek. But I am sorry to say that it does not work: è is 
> not transformed in uppercase... I think that fmtcount package does 
> not use \MakeUppercase command.
> 
>> The definitions above are interpreted by the \uppercase 
>> primitive. In the old TeX (without encTeX, without Lua) accented 
>> characters are not natively supported, the inputenc package 
>> converts them to LICR. That's why \MakeUppercase is needed 
>> because it first converts the argument to a form that can be 
>> handled by \uppercase and subsequently sent to the output via
>> the fontenc package. In XeTeX it is different. These packages are
>> not used because Unicode is directly supported. Thus even
>> \uppercase can be used.

Sorry, I was wrong, fmtcount uses \MakeUppercase command...

I don'y fully understand what you say (I am not a TeX languange
expert!) and I do not know how to correct this bug in fmtcount
package... even using an odd trick!

Thank you anyway.


- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRZ+4sACgkQdE6C2dhV2JWD2ACfUF6Emk/HUkr0ZGxt2KVeaCgg
NwwAoMiNRG0k417TuPak5vq4jGVfgkd6
=tK0Y
-----END PGP SIGNATURE-----


More information about the XeTeX mailing list