Настройка языка
This commit is contained in:
parent
1e6be68f0d
commit
0057609d83
@ -35,10 +35,25 @@
|
||||
|
||||
\ProcessOptions\relax
|
||||
|
||||
\ifXESPD@given@encoding
|
||||
\RequirePackage{inputenc}
|
||||
\RequirePackage{csquotes}
|
||||
\RequirePackage{ifxetex}
|
||||
\ifxetex
|
||||
\RequirePackage{textcase}
|
||||
\RequirePackage{xltxtra}
|
||||
\RequirePackage{xunicode}
|
||||
\RequirePackage{xecyr}
|
||||
\RequirePackage{polyglossia}
|
||||
\setmainlanguage{\XESPD@lang}
|
||||
\let\cyr\relax
|
||||
\setkeys{\XESPD@lang}{babelshorthands=true}
|
||||
\setotherlanguage{english}
|
||||
\else
|
||||
\RequirePackage{cmap}
|
||||
\ifXESPD@given@encoding
|
||||
\RequirePackage{inputenc}
|
||||
\fi
|
||||
\RequirePackage[\XESPD@lang]{babel}
|
||||
\fi
|
||||
|
||||
\RequirePackage[\XESPD@lang]{babel}
|
||||
\input{xespd\XESPD@lang.def}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user