summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty77
1 files changed, 77 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty b/Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty
new file mode 100644
index 00000000000..c08e8af404b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty
@@ -0,0 +1,77 @@
+%%
+%% This is file `ginpenc.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% ginpenc.dtx (with options: `version,package')
+%%
+%% ginpenc package
+%%
+%% Copyright 2003 Harald Harders
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN
+%% archives in directory macros/latex/base/lppl.txt; either
+%% version 1 of the License, or any later version.
+%%
+%% h.harders@tu-bs.de
+%%
+\def\giefileversion{1.0}
+\def\giefiledate{2003/09/29}
+\def\giedocdate{2003/09/29}
+\ProvidesPackage{ginpenc}
+ [\giefiledate\space v\giefileversion\space
+ Replace \string\"a by "a with babel for German texts]
+\newif\ifginpenc@babel
+\AtBeginDocument{%
+ \let\inputenc\empty
+ \newcommand*\gie@inputencoding{}%
+ \let\gie@inputencoding\inputencoding
+ \def\inputencoding#1{%
+ \def\inputenc{#1}%
+ \gie@inputencoding{#1}%
+ \ifginpenc@babel
+ \IfFileExists{\inputenc.gie}{%
+ \input{\inputenc.gie}%
+ }{%
+ \PackageWarning{ginpenc}{Encoding file \inputenc.gie not
+ found}%
+ }%
+ \fi
+ }%
+ \begingroup
+ \expandafter\ifx\csname @inpenc@undefined\endcsname\relax
+ \edef\x{\endgroup}%
+ \else
+ \def\@inpenc@undefined@#1{\def\noexpand\inputenc{#1}}%
+ \edef\x{\endgroup
+ \@inpenc@undefined
+ }%
+ \fi
+ \x
+ \@ifpackageloaded{babel}{%
+ \ginpenc@babeltrue
+ \ifx\inputenc\empty
+ \else
+ \IfFileExists{\inputenc.gie}{%
+ \input{\inputenc.gie}%
+ \addto\extrasgerman{\umlautgerman}%
+ \addto\extrasngerman{\umlautgerman}%
+ \addto\extrasaustrian{\umlautgerman}%
+ \addto\extrasnaustrian{\umlautgerman}%
+ \addto\noextrasgerman{\umlautnotgerman}%
+ \addto\noextrasngerman{\umlautnotgerman}%
+ \addto\noextrasaustrian{\umlautnotgerman}%
+ \addto\noextrasnaustrian{\umlautnotgerman}%
+ \expandafter\selectlanguage\expandafter{\languagename}%
+ }{%
+ \PackageWarning{ginpenc}{Encoding file \inputenc.gie not
+ found}%
+ }%
+ \fi
+ }{}%
+ }
+\endinput
+%%
+%% End of file `ginpenc.sty'.