[XeTeX] polyglossia hyphenation questions: lonely words, punctuation, etc.

Aleksandar Zec zealeksanman at gmail.com
Sun May 16 19:05:58 CEST 2010


Hello XeTeX list,

Consider this example (results shown in the attached png). My questions:

a. the word "территориальное" is not hyphenated in (0) but it is in (1); why?

b. the same word is not hyphenated in (3); is the reason the same here
or the presence of "(" and ")" somehow stops hyphenation?

c. is there a way to be sure thay any punctuation character (dot, --,
---, :, etc.) doesn't stop hyphenation? hyphenat package provides this
for dash (-) only through \hyp{} command.

d. regarding the previous question, what is the right way to get
(5)--(6) hyphenated before and after "--"?

\documentclass[12pt,twoside]{report}
\usepackage{polyglossia}
\setmainlanguage{russian}
\setmainfont[Mapping=tex-text]{Minion Pro}
\begin{document}
\fbox{
\begin{minipage}{2cm}
 0.\par
 территориальное\par
 1.\par
 текст текст территориальное\par
 2.\par
 текст текст территориальное.\par
 3.\par
 (территориальное)\par
 4.\par
 текст текст
 (территориальное)\par
 5.\par
 административно--территориальное.\par
 6.\par
 (административно--территориальное)\par
 7.\par
 (административно--территориальное).
\end{minipage}
}
\end{document}

Thank you,
Aleks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: russian-hyph.png
Type: image/png
Size: 24147 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100516/feffe36f/attachment-0001.png>


More information about the XeTeX mailing list