diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:56:25 +0000 |
commit | 20bd76007ff3d36984fa9c32d23a79df17e16323 (patch) | |
tree | cd5d5b3a71d5184c602c89d47ef9c557b16447ec /Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty | |
parent | 3a733fd37be8d336197dc599527bc1966fb0c323 (diff) |
ginpenc
git-svn-id: svn://tug.org/texlive/trunk@954 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ginpenc/ginpenc.sty | 77 |
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'. |