latex-style-esdpx/xespdlang.sty

60 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-07-01 03:29:20 +00:00
% 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}[2010/01/14 v0.98 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
2019-09-11 03:55:41 +00:00
\RequirePackage{csquotes}
2019-07-01 03:29:20 +00:00
\RequirePackage{ifxetex}
\ifxetex
2019-09-11 03:55:41 +00:00
% \RequirePackage[\XESPD@lang]{babel}
2019-07-01 03:29:20 +00:00
\RequirePackage{textcase}
\RequirePackage{xltxtra}
\RequirePackage{xunicode}
\RequirePackage{xecyr}
2019-09-11 03:55:41 +00:00
\RequirePackage{polyglossia}
\setmainlanguage{\XESPD@lang}
2019-07-01 03:29:20 +00:00
\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}