On Wed, 10 May 2017 12:48:37 +0200
Ulrike Fischer <[email protected]> wrote:

> Am Wed, 10 May 2017 01:51:15 +0300 schrieb Nikola Lečić:
> 
> > Hi,
> > 
> > If you compile this document twice
> > 
> > \documentclass{article}
> > \usepackage{polyglossia}
> > \setmainlanguage{serbian}
> > \setmainfont{Old Standard}
> > \begin{document}
> > ко\char"0302 д
> > \end{document}
> > 
> > you should get
> > 
> > ! error:  (linebreak): invalid list tail, probably missing glue
> > !  ==> Fatal error occurred, no output PDF file produced!
> > 
> > It happens only with some fonts, not with others.  
> 
> I have reduced it to this plain tex example 
> 
> \catcode`\@=11
> \input switch.def
> \input babel.def
> \input luaotfload.sty
> 
> \bbl@patterns@lua{serbian}
> \righthyphenmin=3
> \catcode`\@=12
> 
> %\font\test={OldStandard:mode=node;script=cyrl.SRB;language=DFLT;+tlig;}
> %works
> \font\test={OldStandard:mode=node;script=latn;language=DFLT;+tlig;}
> %fail
> 
> \test
> 
> oo^^^^0302xx
> 
> \bye
> 
> The chars are all ascii, no cyrillic involved.
> 
> I have also reduced the pattern: One can remove almost everything
> from (local copies ...) of hyph-sh-latn.tex and hyph-sh-cyrl.tex. It
> breaks if this pattern remains:
> 
> \patterns{
> 2o1
> }

Just for the record, the same will happen with any diacritic sign that
can appear in Serbian (\char"0300, \char"0301, \char"\0302, \char"030F,
\char"0304, \char"0306) if they appear in the middle of a hyphen-able
word.

-- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Attachment: pgp8RrurclMQ5.pgp
Description: OpenPGP digital signature

Reply via email to