% Language definition file (part of polyglossia v2.2 -- 2024/07/15) % \ProvidesFile{gloss-bulgarian.ldf}[polyglossia: module for Bulgarian] \PolyglossiaSetup{bulgarian}{ bcp47=bg, bcp47-language=bg, bcp47-region=BG, bcp47-script=Cyrl, script=Cyrillic, scripttag=cyrl, langtag=BGR, hyphennames={bulgarian}, hyphenmins={2,2}, frenchspacing=true, fontsetup %TODO localalph=bulgarian@alph } % BCP-47 compliant aliases \setlanguagealias*{bulgarian}{bg} \def\bulgarian@Alph#1{% \ifcase#1\or А\or Б\or В\or Г\or Д\or Е\or Ж\or З\or И\or Й\or К\or Л\or М\or Н\or О\or П\or Р\or С\or Т\or У\or Ф\or Х\or Ц\or Ч\or Ш\or Щ\or Ъ\or Ю\or Я\else \xpg@ill@value{#1}{bulgarian@Alph}\fi}% \def\bulgarian@alph#1{% \ifcase#1\or а\or б\or в\or г\or д\or е\or ж\or з\or и\or й\or к\or л\or м\or н\or о\or п\or р\or с\or т\or у\or ф\or х\or ц\or ч\or ш\or щ\or ъ\or ь\or ю\or я\else \xpg@ill@value{#1}{bulgarian@alph}\fi}% \def\bulgarian@numbers{% \let\@Alph\bulgarian@Alph% \let\@alph\bulgarian@alph% } \def\nobulgarian@numbers{% \let\@Alph\latin@Alph% \let\@alph\latin@alph% } \def\captionsbulgarian{% \def\refname{Литература}% \def\abstractname{Абстракт}% \def\bibname{Библиография}% \def\prefacename{Предговор}% \def\chaptername{Глава}% \def\appendixname{Приложение}% \def\contentsname{Съдържание}% \def\listfigurename{Списък на фигурите}% \def\listtablename{Списък на таблиците}% \def\indexname{Азбучен указател}% \def\figurename{Фигура}% \def\tablename{Таблица}% %\def\thepart{}% \def\partname{Част}% \def\pagename{Стр.}% \def\seename{вж.}% \def\alsoname{вж.\ също и}% \def\enclname{Приложения}% \def\ccname{копия}% \def\headtoname{За}% \def\proofname{Доказателство}% \def\glossaryname{Притурка}% } \def\datebulgarian{% \def\today{\number\day~\ifcase\month\or януари\or февруари\or март\or април\or май\or юни\or юли\or август\or септември\or октомври\or ноември\or декември\fi% \ \number\year~г.}% \def\month@Roman{\expandafter\@Roman\month}% \def\todayRoman{\number\day.\,\month@Roman.\,\number\year~г.}% } \endinput %% TODO? %% this is from Babel: \def\Romannumeral#1{\uppercase\expandafter{\romannumeral #1}} \def\todayRoman{\number\day.\Romannumeral{\month}.\number\year~г.} % % If you implement this, add an option mathfunction as in gloss-russian.ldf \def\sh{\mathop{\operator@font sh}\nolimits} \def\ch{\mathop{\operator@font ch}\nolimits} \def\tg{\mathop{\operator@font tg}\nolimits} \def\arctg{\mathop{\operator@font arctg}\nolimits} \def\arcctg{\mathop{\operator@font arcctg}\nolimits} \def\ctg{\mathop{\operator@font ctg}\nolimits} \def\cth{\mathop{\operator@font cth}\nolimits} \def\cosec{\mathop{\operator@font cosec}\nolimits} \DeclareRobustCommand{\No}{% \ifmmode{\nfss@text{\textnumero}}\else\textnumero\fi}