Thank you Claudio, all understood.
Claudio Beccari wrote:
> Your XeLaTeX MWE has \hyphenation in the wrong place. The explanation is
> that the \hyphenation exceptions introduced with command \hyphenation are
> connected with the current language. The russian language, the only one
>
Your XeLaTeX MWE has \hyphenation in the wrong place. See this MWE 3
% !TEX encoding = UTF-8 Unicode
% !TEX TS-program = XeLaTeX
\documentclass[twoside]{article}
\usepackage{fontspec}
\newfontfamily\cyrillicfont[Mapping=tex-text]{PT Serif}
\usepackage{polyglossia}
\setmainlanguage{russian}
Claudio Beccari >
wrote :
> That pattern is responsible of that error. But if you have a pattern
> such as 20301 in the pattern list the error should vanish; if code 2 is
> not sufficient to eliminate alla errors, maybe 4 is
Where should I place this pattern and what commands should I run after that?
2016-09-19 0:34 GMT+03:00 Claudio Beccari :
> That pattern is responsible of that error.
> But if you have a pattern such as 20301 in the pattern list the error
> should vanish; if code 2
ы1 is the only pattern of this kind, no other vowel has this pattern.
I edited hyph-ru.tex and rebuilt format files with
sudo tlmgr generate language.dat
sudo fmtutil-sys --all
But this did not give any effect :-(
иером. Пантелеимон (Королев) wrote:
> What file is responsible for the hyphenation patterns?
>
> Is it
> /usr/local/texlive/2015/texmf-dist/tex/generic/hyph-utf8/patterns/tex/hyph-ru.tex
> ?
>
> It contains line 4255
>
> ы1
>
> which means that any word can have a hyphen after «ы».
>
> Do I
I am trying to typeset a document in Russian with huge amount of accents,
almost in every word. They are typeset by U+0301, «combining acute accent».
And I get a problem that in some cases the accent goes to the next line and
I get something like:
мы-
́ши
instead of
мы́-
ши
An example image is