diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/babel/babel.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/babel/babel.sty | 222 |
1 files changed, 222 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/babel/babel.sty b/Master/texmf-dist/tex/generic/babel/babel.sty new file mode 100644 index 00000000000..2944cdff252 --- /dev/null +++ b/Master/texmf-dist/tex/generic/babel/babel.sty @@ -0,0 +1,222 @@ +%% +%% This is file `babel.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% babel.dtx (with options: `package') +%% This is a generated file. +%% +%% Copyright 1989-2005 Johannes L. Braams and any individual authors +%% listed elsewhere in this file. All rights reserved. +%% +%% This file was generated from file(s) of the Babel system. +%% --------------------------------------------------------- +%% +%% It 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". +%% +%% The Current Maintainer of this work is Johannes Braams. +%% +%% This file may only be distributed together with a copy of the Babel +%% system. You may however distribute the Babel system without +%% such generated files. +%% +%% The list of all files belonging to the Babel distribution is +%% given in the file `manifest.bbl'. See also `legal.bbl for additional +%% information. +%% +%% The list of derived (unpacked) files belonging to the distribution +%% and covered by LPPL is defined by the unpacking scripts (with +%% extension .ins) which are part of the distribution. +%% +\NeedsTeXFormat{LaTeX2e}[1998/06/01] +%% File 'babel.dtx' +%%\ProvidesFile{babel.dtx}[2005/05/21 v3.8g The Babel package] +%% Babel package for LaTeX2e. +%% Copyright (C) 1989 -- 2005 by Johannes Braams, +%% TeXniek +%% all rights reserved. +%% Please report errors to: J.L. Braams +%% babel at braams.cistron.nl +\ProvidesPackage{babel} + [2005/05/21 v3.8g % + The Babel package] +\ifx\LdfInit\@undefined\input babel.def\relax\fi +\DeclareOption{acadian}{\input{frenchb.ldf}} +\DeclareOption{afrikaans}{\input{dutch.ldf}} +\DeclareOption{american}{\input{english.ldf}} +\DeclareOption{australian}{\input{english.ldf}} +\DeclareOption{austrian}{\input{germanb.ldf}} +\DeclareOption{bahasa}{\input{bahasa.ldf}} +\DeclareOption{basque}{\input{basque.ldf}} +\DeclareOption{brazil}{\input{portuges.ldf}} +\DeclareOption{brazilian}{\input{portuges.ldf}} +\DeclareOption{breton}{\input{breton.ldf}} +\DeclareOption{british}{\input{english.ldf}} +\DeclareOption{bulgarian}{\input{bulgarian.ldf}} +\DeclareOption{canadian}{\input{english.ldf}} +\DeclareOption{canadien}{\input{frenchb.ldf}} +\DeclareOption{catalan}{\input{catalan.ldf}} +\DeclareOption{croatian}{\input{croatian.ldf}} +\DeclareOption{czech}{\input{czech.ldf}} +\DeclareOption{danish}{\input{danish.ldf}} +\DeclareOption{dutch}{\input{dutch.ldf}} +\DeclareOption{english}{\input{english.ldf}} +\DeclareOption{esperanto}{\input{esperanto.ldf}} +\DeclareOption{estonian}{\input{estonian.ldf}} +\DeclareOption{finnish}{\input{finnish.ldf}} +\DeclareOption{francais}{\input{frenchb.ldf}} +\DeclareOption{frenchb}{\input{frenchb.ldf}} +\DeclareOption{french}{\input{frenchb.ldf}}% +\DeclareOption{galician}{\input{galician.ldf}} +\DeclareOption{german}{\input{germanb.ldf}} +\DeclareOption{germanb}{\input{germanb.ldf}} +\DeclareOption{greek}{\input{greek.ldf}} +\DeclareOption{polutonikogreek}{% + \input{greek.ldf}% + \languageattribute{greek}{polutoniko}} +\DeclareOption{hebrew}{% + \input{rlbabel.def}% + \input{hebrew.ldf}} +\DeclareOption{hungarian}{\input{magyar.ldf}} +\DeclareOption{icelandic}{\input{icelandic.ldf}} +\DeclareOption{interlingua}{\input{interlingua.ldf}} +\DeclareOption{irish}{\input{irish.ldf}} +\DeclareOption{italian}{\input{italian.ldf}} +\DeclareOption{latin}{\input{latin.ldf}} +\DeclareOption{lowersorbian}{\input{lsorbian.ldf}} +\DeclareOption{magyar}{\input{magyar.ldf}} +\DeclareOption{naustrian}{\input{ngermanb.ldf}} +\DeclareOption{newzealand}{\input{english.ldf}} +\DeclareOption{ngerman}{\input{ngermanb.ldf}} +\DeclareOption{norsk}{\input{norsk.ldf}} +\DeclareOption{samin}{\input{samin.ldf}} +\DeclareOption{nynorsk}{\input{norsk.ldf}} +\DeclareOption{polish}{\input{polish.ldf}} +\DeclareOption{portuges}{\input{portuges.ldf}} +\DeclareOption{portuguese}{\input{portuges.ldf}} +\DeclareOption{romanian}{\input{romanian.ldf}} +\DeclareOption{russian}{\input{russianb.ldf}} +\DeclareOption{scottish}{\input{scottish.ldf}} +\DeclareOption{serbian}{\input{serbian.ldf}} +\DeclareOption{slovak}{\input{slovak.ldf}} +\DeclareOption{slovene}{\input{slovene.ldf}} +\DeclareOption{spanish}{\input{spanish.ldf}} +\DeclareOption{swedish}{\input{swedish.ldf}} +\DeclareOption{turkish}{\input{turkish.ldf}} +\DeclareOption{ukrainian}{\input{ukraineb.ldf}} +\DeclareOption{uppersorbian}{\input{usorbian.ldf}} +\DeclareOption{welsh}{\input{welsh.ldf}} +\DeclareOption{UKenglish}{\input{english.ldf}} +\DeclareOption{USenglish}{\input{english.ldf}} +\DeclareOption*{% + \InputIfFileExists{\CurrentOption.ldf}{}{% + \PackageError{babel}{% + Language definition file \CurrentOption.ldf not found}{% + Maybe you misspelled the language option?}}% + } +\InputIfFileExists{bblopts.cfg}{% + \typeout{*************************************^^J% + * Local config file bblopts.cfg used^^J% + *}% + }{} +\DeclareOption{activeacute}{} +\DeclareOption{activegrave}{} +\DeclareOption{KeepShorthandsActive}{} +\ProcessOptions* +\ifx\bbl@main@language\@undefined + \PackageError{babel}{% + You haven't specified a language option}{% + You need to specify a language, either as a global + option\MessageBreak + or as an optional argument to the \string\usepackage\space + command; \MessageBreak + You shouldn't try to proceed from here, type x to quit.} + \input{babel.def} +\fi +\def\substitutefontfamily#1#2#3{% + \lowercase{\immediate\openout15=#1#2.fd\relax}% + \immediate\write15{% + \string\ProvidesFile{#1#2.fd}% + [\the\year/\two@digits{\the\month}/\two@digits{\the\day} + \space generated font description file]^^J + \string\DeclareFontFamily{#1}{#2}{}^^J + \string\DeclareFontShape{#1}{#2}{m}{n}{<->ssub * #3/m/n}{}^^J + \string\DeclareFontShape{#1}{#2}{m}{it}{<->ssub * #3/m/it}{}^^J + \string\DeclareFontShape{#1}{#2}{m}{sl}{<->ssub * #3/m/sl}{}^^J + \string\DeclareFontShape{#1}{#2}{m}{sc}{<->ssub * #3/m/sc}{}^^J + \string\DeclareFontShape{#1}{#2}{b}{n}{<->ssub * #3/bx/n}{}^^J + \string\DeclareFontShape{#1}{#2}{b}{it}{<->ssub * #3/bx/it}{}^^J + \string\DeclareFontShape{#1}{#2}{b}{sl}{<->ssub * #3/bx/sl}{}^^J + \string\DeclareFontShape{#1}{#2}{b}{sc}{<->ssub * #3/bx/sc}{}^^J + }% + \closeout15 + } +\@onlypreamble\substitutefontfamily +\AtBeginDocument{% + \@ifpackageloaded{ifthen}{% + \bbl@redefine@long\ifthenelse#1#2#3{% + \let\bbl@tempa\pageref + \let\pageref\org@pageref + \@safe@activestrue + \org@ifthenelse{#1}{% + \let\pageref\bbl@tempa + \@safe@activesfalse + #2}{% + \let\pageref\bbl@tempa + \@safe@activesfalse + #3}% + }% + }{}% + } +\AtBeginDocument{% + \@ifpackageloaded{varioref}{% + \bbl@redefine\@@vpageref#1[#2]#3{% + \@safe@activestrue + \org@@@vpageref{#1}[#2]{#3}% + \@safe@activesfalse}% + \bbl@redefine\vrefpagenum#1#2{% + \@safe@activestrue + \org@vrefpagenum{#1}{#2}% + \@safe@activesfalse}% + \expandafter\def\csname Ref \endcsname#1{% + \protected@edef\@tempa{\org@ref{#1}}\expandafter\MakeUppercase\@tempa} + }{}% + } +\AtBeginDocument{% + \@ifpackageloaded{hhline}% + {\expandafter\ifx\csname normal@char\string:\endcsname\relax + \else + \makeatletter + \def\@currname{hhline}\input{hhline.sty}\makeatother + \fi}% + {}} +\DeclareRobustCommand{\FOREIGNLANGUAGE}[1]{% + \lowercase{\foreignlanguage{#1}}} +%% +%% \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 \~} +\endinput +%% +%% End of file `babel.sty'. |