[XeTeX] Avoiding hyphenation before a combining diacritical mark

Aleksandar Zec zealeksanman at gmail.com
Mon Nov 15 13:40:10 CET 2010


(Sorry if this appears twice on the list...)

Hello all,

Is there a simple way to tell xe(la)tex not to hyphenate *before* a
combining diacritical mark?

For example, please take a look at this minimal example. You must have
DejaVu Sans in order to see the acute sign at the beginning of the
second line.

------- test.tex -------
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{greek}
\setmainfont{DejaVu Sans}
\begin{document}
 \setlength{\fboxrule}{0.2pt}
 \setlength{\fboxsep}{0.0cm}
 \fbox{
 \begin{minipage}{3cm}
   \hspace*{2.33cm}βαι\char"0301 νο κτλ.
 \end{minipage}
 }
\end{document}
------------------------

Many thanks in advance,
Alex



More information about the XeTeX mailing list