diff options
author | Karl Berry <karl@freefriends.org> | 2010-07-17 23:23:18 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-07-17 23:23:18 +0000 |
commit | 306b4622046e852e3a6d1a44b180adc65d5b2bdf (patch) | |
tree | 5629332acdda731ff35d5d94593e737b0f95cc20 /Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf | |
parent | 59346cd52c590f5aea686f78841e398040656feb (diff) |
polyglossia update (17jul10)
git-svn-id: svn://tug.org/texlive/trunk@19504 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf')
-rw-r--r-- | Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf | 55 |
1 files changed, 10 insertions, 45 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf index 5d7a8d9fc2d..af105ba28c8 100644 --- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf +++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-bulgarian.ldf @@ -1,10 +1,15 @@ \ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for bulgarian] \makeatletter - -\ifx\l@bulgarian\@undefined% - \xpg@nopatterns{Bulgarian}% - \adddialect\l@bulgarian\l@nohyphenation% -\fi +\PolyglossiaSetup{bulgarian}{ + script=Cyrillic, + scripttag=cyrl, + langtag=BGR, + hyphennames={bulgarian}, + hyphenmins={2,2}, + frenchspacing=true, + fontsetup + %TODO localalph=bulgarian@alph +} \def\bulgarian@Alph#1{% \ifcase#1\or @@ -79,46 +84,6 @@ \def\todayRoman{\number\day.\,\month@Roman.\,\number\year~г.}% } -\def\bulgarian@language{\language=\l@bulgarian} - -\def\bulgarian@font{% - \@ifundefined{bulgarianfont}{% - \@ifundefined{cyrillicfont}{% - \normalfontlatin% - \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt - \zf@check@ot@script{cyrl}% - \if@tempswa - \addfontfeature{Script=Cyrillic}% - \else - \PackageError{polyglossia}{^^J - The current font does not contain the Cyrillic script!^^J - Please define \string\cyrillicfont\space or \string\bulgarianfont\space with \string\newfontfamily}% - \fi - \zf@check@ot@lang{BGR}% - \if@tempswa\addfontfeature{Language=Bulgarian}\fi - }% - {\cyrillicfont% - \font\zf@basefont="\csname zf@family@fontdef\f@family\endcsname" at \f@size pt - \zf@check@ot@lang{BGR}% - \if@tempswa\addfontfeature{Language=Bulgarian}\fi - }}% - {\bulgarianfont}% -} - -\setlocalhyphenmins{bulgarian}{2}{2}% - -\def\noextras@bulgarian{% - \nonfrenchspacing% - } - -\def\blockextras@bulgarian{% - \frenchspacing% - } - -\def\inlineextras@bulgarian{% - \frenchspacing% - } - \endinput %% TODO? |