Claudio Beccari <[email protected] <mailto:[email protected]>>
wrote :
> That pattern is responsible of that error. But if you have a pattern
> such as 2^^^^0301 in the pattern list the error should vanish; if code 2 is
> not sufficient to eliminate alla errors, maybe 4 is OK (the lowest the best,
> but if 4 works and 2 doesn't, use 4 -- do not try to use 8, the highest value
> to forbid hyphenation).
>
But why is it, Claudio, that I can successfully over-ride the pattern using
\hyphenation {} using plain XeTeX but it cannot be over-ridden using
\hyphenation when using XeLaTeX & polyglossia ?
Philip Taylor
--------
Annexe 1 : MWE (XeTeX) :
% !TeX Program = XeLaTeX
\font \thisfont = "Palatino Linotype"
\uselanguage {russian}
\thisfont
\hsize = 1pt
\overfullrule = 0 pt
\XeTeXinputnormalization = 0
\hyphenation {ны́-не}
\noindent Почему́ перено́сы в словах ны́не и мы́ши ухо́дят на сле́дующую
стро́чку, а в мя́со брэ́кет слу́хи ворю́га — нет?
\end
Annexe 2 : MNWE (XeLaTeX)
% !TeX Program = XeLaTeX
\documentclass[twoside]{article}
\usepackage{fontspec}
\usepackage[T2A]{fontenc}
\newfontfamily\cyrillicfont[Mapping=tex-text]{PT Serif}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
\fontsize{10}{12}\selectfont
\hyphenation{ны́-не}
\begin{document}
\parbox{1pt}{Почему́ перено́сы в словах ны́не и мы́ши ухо́дят на сле́дующую
стро́чку, а в мя́со брэ́кет слу́хи ворю́га — нет?}
\end{document}