[XeTeX] bug fmtcount with xelatex?
François Patte
francois.patte at mi.parisdescartes.fr
Tue Nov 4 17:34:04 CET 2014
-----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-----
More information about the XeTeX
mailing list