[XeTeX] How to make hyphenation work in XeLaTeX?

Mojca Miklavec mojca.miklavec.lists at gmail.com
Sun Jan 21 20:04:33 CET 2007


I'm sorry for a newbie question (I'm most probably missing something
really obvious, but I almost never use LaTeX.): How do I get
(default?) LM + hyphenation to work under XeLaTeX?

I tried the following:

%\usepackage{fontspec} % do I need this ?


% should be:
lo-ko-mo-ti[-]va ču-ha-pu[-]ha

\def\a{lokomotiva čuhapuha}


I get some hyphens, but log file (slightly longer text) seems pretty
weird (no hyphens shown):

Overfull \hbox (0.82622pt too wide) in paragraph at lines 13--14
\EU1/lmr/m/n/10 prodajalna ne moralizirajo. Moja
Underfull \hbox (badness 10000) in paragraph at lines 17--17
[] \EU1/cmr/m/n/10 lokomotiva čuhapuha
[2] (./latex-slo.aux)

I also don't understand why there is "cmr" in the last line. (from

Thanks a lot,

More information about the XeTeX mailing list