I am using lyx to write a thesis in serbian cyrillic. For this, I use
xetex and polyglossia. But although I manage to hyphenate my text in
bulgarian, french, english, latin, I have problems to use serbian
cyrillic definitions and hyphenation patterns.
When I try to see my pdf(xelatex), I got the following answer:
Extra else\
and in the lower window:
\setkeys{serbian}{script}
I'm ignoring this; it doesn't match any \if.
Here is my LaTex Preamble:
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{polyglossia}
\setmainlanguage[script=cyrillic]{serbian}
\setotherlanguage {french}
\setotherlanguage{latin}
\setmainfont{Charis SIL}
\setsansfont{Liberation Sans}
\setmonofont{Liberation Mono}
\date{}
\chapterstyle{ell}
\isopage
\checkandfixthelayout
I hope that I was clear enough. I would be very grateful if you could
help me resolve my problem.
Happy new year!
Cordially,
Boban Stanojevic