[tex-hyphen] Hyphenating words with apostrophes in French

Manuel Pégourié-Gonnard mpg at elzevir.fr
Mon Nov 17 15:06:14 CET 2008


Hi,

(X-posting on the XeTeX and hyphenation mailing lists)

I'm under the impression that words following an apostrophe cannot be
hyphenated in French using XeLaTeX, xltxtra and babel with appropriate
hyphenation patterns. In the following example, hyphenation is correct
using pdftex, but under XeTeX the first paragraph has an overfull \hbox.

\documentclass[a4paper]{article}
\usepackage{ifxetex}
\ifxetex
  \usepackage{xltxtra}
\else
  \usepackage[utf8]{inputenc}
  \usepackage[T1]{fontenc}
  \usepackage{textcomp}
  \usepackage{lmodern}
  \usepackage{fixltx2e}
\fi
\usepackage[british, frenchb]{babel}

\begin{document}
Une ligne avec du texte \mbox{pour remplir la ligne un peu : les
coupures} n'apparaissent \mbox{pas toujours correctement}.\par
Une ligne avec du texte \mbox{pour remplir la ligne un peu : les
coupures} apparaissent \mbox{pas toujours correctement}.
\end{document}

Am I doing something wrong? Is this a known problem?

Thanks,
Manuel.



More information about the tex-hyphen mailing list