[XeTeX] bug fmtcount with xelatex?

Zdenek Wagner zdenek.wagner at gmail.com
Wed Nov 5 02:02:34 CET 2014


\uccode`\è=`\È
\uccode`\È=`\È

It might be useful to set \lccode similarly:
\lccode`\È=`\è
\lccode`\è=`\è

2014-11-04 17:34 GMT+01:00 François Patte <francois.patte at mi.parisdescartes.fr>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bonjour,
>
> Try this MWE: with pdflatex the result is correct, with xelatex for
> the second chapter I get:
>
> DEUXIèME instead of: DEUXIÈME
>
> How to correct this?
>
>
> <--------MWE
> \documentclass[11pt,twoside]{report}
>
> % \usepackage{fontspec}
>
> % \setmainfont{FreeSerif}[%
> % Mapping=tex-text,%
> % ]
>
> \usepackage[T1]{fontenc}
> \usepackage[utf8x]{inputenc}
>
> \usepackage[french]{babel}
>
> \usepackage[french]{fmtcount}
>
> \usepackage{titlesec}
>
> \titleformat{\chapter}%
> [display]%
> {\filcenter}%
> {\MakeUppercase{\chaptername}~\ORDINALstring{chapter}}%
> {12pt}%
> {\MakeUppercase}
>
> \begin{document}
>
> \chapter{Toto}
>
> \chapter{Tata}
>
> È
>
> \end{document}
>
> <----- end MWE
>
> - --
> 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
>
> iEYEARECAAYFAlRY//wACgkQdE6C2dhV2JVxAQCff96d/7MUuBoaVWWyxGYQqyve
> 9tcAoMhbXxeCss8TwnuWEDC+XHF+l9v3
> =/1G7
> -----END PGP SIGNATURE-----
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>   http://tug.org/mailman/listinfo/xetex



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list