dotfiles/texmf/tex/latex/frank_tex/tracklang.sty
2016-01-22 17:39:58 +01:00

179 lines
7.8 KiB
TeX

%%
%% This is file `tracklang.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tracklang.dtx (with options: `tracklang.sty,package')
%%
%% tracklang.dtx
%% Copyright 2014 Nicola Talbot
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license of (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 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Nicola Talbot.
%%
%% This work consists of the files tracklang.dtx and tracklang.ins and the derived files tracklang.sty, tracklang.tex.
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{tracklang}[2014/11/21 v1.1 (NLCT) Track Languages]
\providecommand*{\@tracklang@declareoption}[1]{%
\DeclareOption{#1}{\TrackPredefinedDialect{#1}}%
}
\input{tracklang}
\let\@tracklang@declaredoptions\@declaredoptions
\ProcessOptions
\let\@tracklang@declareoption\@gobble
\ifx\@tracklang@languages\@empty
\@ifundefined{bbl@loaded}%
{%
\@ifundefined{trans@languages}
{%
\@ifpackageloaded{ngerman}%
{%
\@tracklang@add@ngerman
}%
{%
\@ifpackageloaded{polyglossia}
{%
\@for\this@language:=albanian,amharic,arabic,armenian,asturian,%
bahasai,bahasam,basque,bengali,brazil,breton,bulgarian,%
catalan,coptic,croatian,czech,danish,divehi,dutch,english,%
esperanto,estonian,farsi,finnish,french,friulan,galician,%
german,greek,hebrew,hindi,icelandic,interlingua,irish,%
italian,kannada,lao,latin,latvian,lithuanian,lsorbian,%
magyar,malayalam,marathi,nko,norsk,nynorsk,occitan,%
piedmontese,polish,portuges,romanian,romansh,russian,%
samin,sanskrit,scottish,serbian,slovak,slovenian,spanish,%
swedish,syriac,tamil,telugu,thai,tibetan,turkish,turkmen,%
ukrainian,urdu,usorbian,vietnamese,welsh\do{%
\@ifundefined{\this@language @loaded}%
{}%
{%
\@ifundefined{@tracklang@add@\this@language}%
{%
\PackageWarning{tracklang}%
{Adding unknown language `\this@language'}%
\AddTrackedLanguage\this@language
}%
{%
\@nameuse{@tracklang@add@\this@language}%
}%
}%
}%
}%
{%
\@ifpackageloaded{babel}
{%
\PackageInfo{tracklang}{babel loaded but
\string\bb@loaded\space not defined. Will attempt
to track known languages.}%
\@for\this@language:=\@tracklang@declaredoptions\do{%
\@ifundefined{captions\this@language}%
{}%
{\@nameuse{@tracklang@add@\this@language}}%
}%
}%
{}%
}%
}%
}%
{%
\let\@tracklang@add@Acadian\@tracklang@add@acadian
\let\@tracklang@add@French\@tracklang@add@french
\let\@tracklang@add@Afrikaans\@tracklang@add@afrikaans
\let\@tracklang@add@Dutch\@tracklang@add@dutch
\let\@tracklang@add@AmericanEnglish\@tracklang@add@american
\let\@tracklang@add@Austrian\@tracklang@add@austrian
\@namedef{@tracklang@add@Austrian1997}{\@tracklang@add@naustrian}
\let\@tracklang@add@Bahasa\@tracklang@add@bahasa
\let\@tracklang@add@Basque\@tracklang@add@basque
\let\@tracklang@add@Brazilian\@tracklang@add@brazil
\let\@tracklang@add@Portuguese\@tracklang@add@portuguese
\let\@tracklang@add@Breton\@tracklang@add@breton
\let\@tracklang@add@BritishEnglish\@tracklang@add@british
\let\@tracklang@add@Bulgarian\@tracklang@add@bulgarian
\let\@tracklang@add@Canadian\@tracklang@add@canadian
\let\@tracklang@add@Canadien\@tracklang@add@canadien
\let\@tracklang@add@Catalan\@tracklang@add@catalan
\let\@tracklang@add@Croatian\@tracklang@add@croatian
\let\@tracklang@add@Czech\@tracklang@add@czech
\let\@tracklang@add@Danish\@tracklang@add@danish
\let\@tracklang@add@Dutch\@tracklang@add@dutch
\let\@tracklang@add@English\@tracklang@add@english
\let\@tracklang@add@Esperanto\@tracklang@add@esperanto
\let\@tracklang@add@Estonian\@tracklang@add@estonian
\let\@tracklang@add@Finnish\@tracklang@add@finnish
\let\@tracklang@add@French\@tracklang@add@french
\let\@tracklang@add@Galician\@tracklang@add@galician
\let\@tracklang@add@German\@tracklang@add@german
\@namedef{@tracklang@add@German1997}{\@tracklang@add@ngerman}
\let\@tracklang@add@Greek\@tracklang@add@greek
\let\@tracklang@add@Polutoniko\@tracklang@add@polutoniko
\let\@tracklang@add@Hebrew\@tracklang@add@hebrew
\let\@tracklang@add@Hungarian\@tracklang@add@hungarian
\let\@tracklang@add@Icelandic\@tracklang@add@icelandic
\let\@tracklang@add@Irish\@tracklang@add@irish
\let\@tracklang@add@Italian\@tracklang@add@italian
\let\@tracklang@add@Latin\@tracklang@add@latin
\let\@tracklang@add@LowerSorbian\@tracklang@add@lowersorbian
\let\@tracklang@add@Magyar\@tracklang@add@magyar
\let\@tracklang@add@Nynorsk\@tracklang@add@nynorsk
\let\@tracklang@add@Norsk\@tracklang@add@norsk
\let\@tracklang@add@Polish\@tracklang@add@polish
\let\@tracklang@add@Portuguese\@tracklang@add@portuguese
\let\@tracklang@add@Romanian\@tracklang@add@romanian
\let\@tracklang@add@Russian\@tracklang@add@russian
\let\@tracklang@add@Scottish\@tracklang@add@scottish
\let\@tracklang@add@Serbian\@tracklang@add@serbian
\let\@tracklang@add@Slovak\@tracklang@add@slovak
\let\@tracklang@add@Slovene\@tracklang@add@slovene
\let\@tracklang@add@Spanish\@tracklang@add@spanish
\let\@tracklang@add@Swedish\@tracklang@add@swedish
\let\@tracklang@add@Turkish\@tracklang@add@turkish
\let\@tracklang@add@Ukrainian\@tracklang@add@ukrainian
\let\@tracklang@add@UpperSorbian\@tracklang@add@uppersorbian
\let\@tracklang@add@Welsh\@tracklang@add@welsh
\@for\this@language:=\trans@languages\do{%
\@ifundefined{@tracklang@add@\this@language}{}%
{\@nameuse{@tracklang@add@\this@language}}%
}%
}%
}%
{%
\@for\this@language:=\bbl@loaded\do{%
\@ifundefined{@tracklang@add@\this@language}%
{%
\PackageWarning{tracklang}{Adding unknown language `\this@language'}%
\AddTrackedLangage{\this@language}%
}%
{\@nameuse{@tracklang@add@\this@language}}%
}%
}
\fi
\endinput
%%
%% End of file `tracklang.sty'.