[tex-hyphen] Puzzling hyphenation with polyglossia and xelatex

Dominik Wujastyk wujastyk at gmail.com
Tue Jan 4 16:25:34 CET 2011


Yup, works perfectly with xltxtra.  Sorry for these elementary questions!

Thanks,
Dominik
<https://www.dropbox.com/referrals/NTIzNzI2MTY5>


On 4 January 2011 14:19, Jonathan Kew <jfkthame at googlemail.com> wrote:

> On 4 Jan 2011, at 12:44, Dominik Wujastyk wrote:
>
> > Minimal example, run with xelatex and TeXlive 2010:
> >
> > \documentclass{article}
> > \usepackage{polyglossia}
> > \begin{document}
> > \showhyphens{helicopter}
> > \end{document}
> >
> >
> > Why does my log file show
> >
> > Underfull \hbox (badness 10000) in paragraph at lines 4--4
> > [] \EU1/lmr/m/n/10 helicopter
> >
> > instead of
> >
> > Underfull \hbox (badness 10000) in paragraph at lines 4--4
> > [] \OT1/cmr/m/n/10 he-li-copter
> >
>
> Because the default LaTeX \showhyphens doesn't work with "native" fonts
> (i.e. those loaded without TFMs, etc) in xetex, and polyglossia loads
> fontspec which sets the default font to LM loaded as a "native" unicode
> font.
>
> If you try actually using "helicopter" in text, you'll find that it still
> hyphenates fine.
>
> To fix \showhyphens, try loading the xltxtra package.
>
> (There's discussion of this somewhere in the list archives, IIRC.)
>
> JK
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-hyphen/attachments/20110104/87b9ebd5/attachment.html>


More information about the tex-hyphen mailing list