60 lines
1.5 KiB
TeX
60 lines
1.5 KiB
TeX
% Copyright 2006 Konstantin Korikov <lostclus@ua.fm>
|
|
%
|
|
% This work may be distributed and/or modified under the
|
|
% conditions of the LaTeX Project Public License, either version 1.3
|
|
% of this license or (at your option) any later version.
|
|
% The latest version of this license is in
|
|
% http://www.latex-project.org/lppl.txt
|
|
% and version 1.3 or later is part of all distributions of LaTeX
|
|
% version 2003/12/01 or later.
|
|
%
|
|
% This work has the LPPL maintenance status "maintained".
|
|
%
|
|
% This Current Maintainer of this work is Konstantin Korikov.
|
|
%
|
|
% This work consists of all files listed in manifest.txt.
|
|
%
|
|
|
|
%
|
|
% This is automaticaly generated file, do not edit it.
|
|
%
|
|
|
|
\NeedsTeXFormat{LaTeX2e}
|
|
\ProvidesPackage{xespdlang}[2020/03/20 v1.00 Language]
|
|
|
|
\newcommand{\XESPD@lang}{russian}
|
|
|
|
\newif\ifXESPD@given@encoding
|
|
\XESPD@given@encodingfalse
|
|
|
|
\DeclareOption{russian}{\renewcommand{\XESPD@lang}{russian}}
|
|
\DeclareOption{ukrainian}{\renewcommand{\XESPD@lang}{ukrainian}}
|
|
\DeclareOption*{%
|
|
\PassOptionsToPackage{\CurrentOption}{inputenc}%
|
|
\XESPD@given@encodingtrue}
|
|
|
|
\ProcessOptions\relax
|
|
|
|
\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
|
|
|
|
\input{xespd\XESPD@lang.def}
|
|
|