diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-11 23:53:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-11 23:53:45 +0000 |
commit | 9550a156059a7fa4b7de6ee8350486bf8d5e4e4b (patch) | |
tree | 38404633d22752692d7ed39a6d3e2bf66da65234 /Master/texmf-dist/source/latex/ginpenc | |
parent | af35443030382afccdd685177cb11dcf161b5a4d (diff) |
trunk/Master/texmf-dist/source/latex/ginpenc
git-svn-id: svn://tug.org/texlive/trunk@309 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/ginpenc')
-rw-r--r-- | Master/texmf-dist/source/latex/ginpenc/Makefile | 75 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ginpenc/ginpenc.dtx | 834 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/ginpenc/ginpenc.ins | 43 |
3 files changed, 952 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/ginpenc/Makefile b/Master/texmf-dist/source/latex/ginpenc/Makefile new file mode 100644 index 00000000000..f2ffecdaedf --- /dev/null +++ b/Master/texmf-dist/source/latex/ginpenc/Makefile @@ -0,0 +1,75 @@ + +SRCDIR=ginpenc +INSTALLDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/tex/latex/ginpenc +DOCDIR=`kpsewhich --expand-path='$$TEXMFLOCAL'`/doc/latex/ginpenc +VERSION=`grep '^\\\\def\\\\giefileversion' ginpenc.sty | sed 's/^\\\\def\\\\giefileversion{\\(.*\\)\\.\\(.*\\)}/\\1_\\2/'` + + +.SUFFIXES: .sty .ins .dtx .dvi .ps + +.ins.sty: + latex $< + +.dtx.dvi: + latex $< + latex $< + makeindex -s gind.ist $(*D)/$(*F) + makeindex -s gglo.ist -o $(*D)/$(*F).gls $(*D)/$(*F).glo + latex $< + + +all: ginpenc ginpenc.dvi ausgabe + + +ginpenc: ginpenc.sty + +ginpenc.sty: ginpenc.dtx ginpenc.ins + + + +clean: + @-rm -f ginpenc.{glo,gls,idx,ilg,ind,aux,log,toc} + @-rm -f testginpenc.{log,aux} + @-rm -f *~ *.aux *.idx *.log + +distclean: clean + @-rm -f ginpenc.{dvi,ps,sty} + @-rm -f testginpenc.{dvi,ps} + @-rm -f testginpenc.dvi + @-rm -f *.gie + + +tar: all clean + echo Lege ginpenc-$(VERSION).tar.gz an + -rm -f ginpenc-$(VERSION).tar.gz + tar czCf .. ginpenc-$(VERSION).tar.gz \ + $(SRCDIR)/Makefile \ + $(SRCDIR)/README \ + $(SRCDIR)/ginpenc.dtx \ + $(SRCDIR)/ginpenc.dvi \ + $(SRCDIR)/ginpenc.ins \ + $(SRCDIR)/ginpenc.xml \ + $(SRCDIR)/news-message.txt \ + $(SRCDIR)/testginpenc.tex + +zip: all + mkdirhier tex/latex/ginpenc + mkdirhier doc/latex/ginpenc + mkdirhier source/latex/ginpenc + cp ginpenc.sty *.gie tex/latex/ginpenc/ + cp ginpenc.dvi testginpenc.tex news-message.txt README doc/latex/ginpenc/ + cp ginpenc.ins ginpenc.dtx Makefile source/latex/ginpenc/ + @rm -f ginpenc-$(VERSION).zip + zip -r ginpenc-$(VERSION) tex doc source + rm -rf tex doc source + +install: all + if [ ! -d $(INSTALLDIR) ]; then mkdirhier $(INSTALLDIR); fi + install -m644 ginpenc.sty *.hhe $(INSTALLDIR) + texhash + +ausgabe: + @echo "Please copy ginpenc.sty to a directory" + @echo "in the LaTeX search path" + + diff --git a/Master/texmf-dist/source/latex/ginpenc/ginpenc.dtx b/Master/texmf-dist/source/latex/ginpenc/ginpenc.dtx new file mode 100644 index 00000000000..26e48078dd5 --- /dev/null +++ b/Master/texmf-dist/source/latex/ginpenc/ginpenc.dtx @@ -0,0 +1,834 @@ +% \iffalse meta comment +% File: ginpenc.dtx Copyright (C) 2003 Harald Harders +% \fi +% +% \iffalse +% +%<*version> +\def\giefileversion{1.0} +\def\giefiledate{2003/09/29} +\def\giedocdate{2003/09/29} +%</version> +%<*driver> +\documentclass{ltxdoc} +\usepackage{longtable} +\title{The \texttt{ginpenc} package\thanks{This file has version + \giefileversion\ last revised \giefiledate, documentation dated + \giedocdate.}} +\author{Harald Harders\\\texttt{h.harders@tu-bs.de}} +\date{File Date \giefiledate, Printed \today} +\newlength{\tempdima}% +\makeatletter +\renewenvironment{table}[1][]{% + \@float{table}[#1]% + \centering% + \setlength{\tempdima}{\abovecaptionskip}% + \setlength{\abovecaptionskip}{\belowcaptionskip}% + \setlength{\belowcaptionskip}{\tempdima}% + }{% +\end@float +} +\makeatother +\EnableCrossrefs +\CodelineIndex +\DoNotIndex{\def,\edef,\let,\newcommand,\newenvironment,\newcounter} +\DoNotIndex{\setcounter,\space,\if,\else,\fi,\empty,\@empty,\ifx,\fi} +\DoNotIndex{\ifnum,\fi,\expandafter} +\CodelineNumbered +\RecordChanges +\CheckSum{645} +\begin{document} + \DocInput{ginpenc.dtx} +\end{document} +%</driver> +% \fi +% +% \changes{1.00}{2003/09/29}{First official version} +% +% \maketitle +% \begin{abstract} +% \noindent +% If the package \texttt{inputenc} is used and German Umlauts are +% input directly, they are converted to \verb|\"a| etc. +% This breaks the sort algorithm of \texttt{makeindex}, for instance. +% This package converts Umlauts and the Sharp~s to the short forms, +% defined by the \texttt{babel} package, e.g. \verb|"a|, instead, if +% the text is typeset in German. +% \end{abstract} +% +% \tableofcontents +% +% \section*{Copyright} +% 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. +% +% \section{The user interface} +% +% To use this package place +% \begin{verbatim} +%\usepackage{ginpenc} +% \end{verbatim} +% in the preamble of your document. No options are necessary. +% +% If you also use the \texttt{babel} package, the German Umlauts and +% the Sharp~S are written to outputfiles, e.g.\ the \texttt{idx} +% files, as \verb|"A|, \verb|"O|, \verb|"U|, \verb|"a|, \verb|"o|, +% \verb|"u|, and \verb|"s| instead of \verb|\"A|, \verb|\"O|, +% \verb|\"U|, \verb|\"a|, \verb|\"o|, \verb|\"u|, and \verb|\ss| if +% one of the German dialects (\texttt{german}, \texttt{ngerman}, +% \texttt{austrian}, \texttt{naustrian}) is active. +% If another language is active, this package does not do anything. +% +% This should not change anything in the document itself. +% But output to auxiliary files as the index file with the extension +% \texttt{.idx} are written with these short-hand forms instead of the +% long forms. +% This helps \texttt{makeindex} to sort the entries correctly, if the +% command-line switch \texttt{-g} is given. +% +% \section{New commands} +% +% \DescribeMacro{\inputenc}% +% This package defines the command \cs{inputenc} which returns the +% active encoding. +% If no encoding is active, it does not return anything. +% +% \section*{Acknowledgements} +% +% Most Code parts are by Heiko Oberdiek (\texttt{oberdiek@uni-freiburg.de}) +% (see \texttt{news-message.txt}). +% +% +% \StopEventually{\PrintChanges \PrintIndex} +% +% +% \section{The implementation} +% \iffalse +%<*package> +% \fi +% Heading of the package: +% \begin{macrocode} +\ProvidesPackage{ginpenc} + [\giefiledate\space v\giefileversion\space + Replace \string\"a by "a with babel for German texts] +% \end{macrocode} +% \begin{macro}{\ifginpenc@babel} +% Stores if babel has been loaded. +% \begin{macrocode} +\newif\ifginpenc@babel +% \end{macrocode} +% \end{macro} +% Everything has to be done at \cs{begin\{document\}} in order to +% ensure that the packages \texttt{inputenc} and \texttt{babel} are +% loaded before the code is executed. +% \begin{macrocode} +\AtBeginDocument{% +% \end{macrocode} +% \begin{macro}{\inputenc} +% Default value for \cs{inputenc}: +% \begin{macrocode} + \let\inputenc\empty +% \end{macrocode} +% \end{macro} +% \begin{macro}{\inputencoding} +% Redefinition of \cs{inputencoding} to store the input encoding name. +% +% First, copy the original command. +% \begin{macrocode} + \newcommand*\gie@inputencoding{}% + \let\gie@inputencoding\inputencoding +% \end{macrocode} +% Redefine \cs{inputencoding} +% \begin{macrocode} + \def\inputencoding#1{% +% \end{macrocode} +% \begin{macro}{\inputenc} +% Define \cs{inputenc} to the current value. +% \begin{macrocode} + \def\inputenc{#1}% +% \end{macrocode} +% \end{macro} +% Call the original \cs{inputencoding} command. +% \begin{macrocode} + \gie@inputencoding{#1}% +% \end{macrocode} +% If \texttt{babel} is loaded, load the corresponding definition file +% that redefines the \verb|\"A| to \verb|"A| etc. +% \begin{macrocode} + \ifginpenc@babel + \IfFileExists{\inputenc.gie}{% + \input{\inputenc.gie}% + }{% + \PackageWarning{ginpenc}{Encoding file \inputenc.gie not + found}% + }% + \fi + }% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\inputenc} +% Since the package \texttt{inputenc} calls \cs{inputencoding} the +% first time before it is redefined the encoding has to be found out +% by a different way. +% \begin{macrocode} + \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 +% \end{macrocode} +% \end{macro} +% If \texttt{babel} is loaded, load the corresponding definition file +% that redefines the \verb|\"A| to \verb|"A| etc. +% \begin{macrocode} + \@ifpackageloaded{babel}{% + \ginpenc@babeltrue + \ifx\inputenc\empty + \else + \IfFileExists{\inputenc.gie}{% + \input{\inputenc.gie}% +% \end{macrocode} +% Add the new commands to the extras section of all German languages. +% \begin{macrocode} + \addto\extrasgerman{\umlautgerman}% + \addto\extrasngerman{\umlautgerman}% + \addto\extrasaustrian{\umlautgerman}% + \addto\extrasnaustrian{\umlautgerman}% + \addto\noextrasgerman{\umlautnotgerman}% + \addto\noextrasngerman{\umlautnotgerman}% + \addto\noextrasaustrian{\umlautnotgerman}% + \addto\noextrasnaustrian{\umlautnotgerman}% +% \end{macrocode} +% Select active language to let take effect the \cs{extras} commands. +% \begin{macrocode} + \expandafter\selectlanguage\expandafter{\languagename}% + }{% + \PackageWarning{ginpenc}{Encoding file \inputenc.gie not + found}% + }% + \fi + }{}% + } +% \end{macrocode} +% \iffalse +%</package> +% \fi +% +% \section{Encoding files} +% +% Only the file \texttt{ansinew.gie} is described since the other files +% work the same. +% +% \iffalse +%<*ansinew> +% \fi +% \subsection{ansinew.gie} +% \begin{macrocode} +\ProvidesFile{ansinew.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +% \end{macrocode} +% The work is done in a group in order to avoid a change of the +% \texttt{shorthand} state. +% To reach a global definition of the commands they are defined with +% \cs{gdef}. +% \begin{macrocode} +\begingroup +% \end{macrocode} +% Switch on the German shorthands. +% \begin{macrocode} +\shorthandon{"}% +% \end{macrocode} +% \begin{macro}{\umlautgerman} +% Redefine the character codes in order to use the short versions of +% the Umlaut commands. +% \begin{macrocode} +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +% \end{macrocode} +% \end{macro} +% Switch off the German shorthands. +% \begin{macrocode} +\shorthandoff{"}% +% \end{macrocode} +% \begin{macro}{\umlautnotgerman} +% Redefine the character codes in order to use the long versions of +% the Umlaut commands outside German text. +% \begin{macrocode} +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\endgroup +% \end{macrocode} +% \iffalse +%</ansinew> +% \fi +% +% +% \iffalse +%<*applemac> +% \fi +% \subsection{applemac.gie} +% \begin{macrocode} +\ProvidesFile{applemac.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{128}{"A}% + \DeclareInputText{133}{"O}% + \DeclareInputText{134}{"U}% + \DeclareInputText{138}{"a}% + \DeclareInputText{154}{"o}% + \DeclareInputText{159}{"u}% + \DeclareInputText{167}{"s}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{128}{\"A}% + \DeclareInputText{133}{\"O}% + \DeclareInputText{134}{\"U}% + \DeclareInputText{138}{\"a}% + \DeclareInputText{154}{\"o}% + \DeclareInputText{159}{\"u}% + \DeclareInputText{167}{\ss}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</applemac> +% \fi +% +% +% \iffalse +%<*ascii> +% \fi +% \subsection{ascii.gie} +% \begin{macrocode} +\ProvidesFile{ascii.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\gdef\umlautgerman{}% +\gdef\umlautnotgerman{}% +\endgroup +% \end{macrocode} +% \iffalse +%</ascii> +% \fi +% +% +% \iffalse +%<*cp1250> +% \fi +% \subsection{cp1250.gie} +% \begin{macrocode} +\ProvidesFile{cp1250.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\gshorthandoff{"}% +\def\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp1250> +% \fi +% +% +% \iffalse +%<*cp1252> +% \fi +% \subsection{cp1252.gie} +% \begin{macrocode} +\ProvidesFile{cp1252.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp1252> +% \fi +% +% +% \iffalse +%<*cp437> +% \fi +% \subsection{cp437.gie} +% \begin{macrocode} +\ProvidesFile{cp437.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{142}{"A}% + \DeclareInputText{153}{"O}% + \DeclareInputText{154}{"U}% + \DeclareInputText{132}{"a}% + \DeclareInputText{148}{"o}% + \DeclareInputText{129}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{142}{\"A}% + \DeclareInputText{153}{\"O}% + \DeclareInputText{154}{\"U}% + \DeclareInputText{132}{\"a}% + \DeclareInputText{148}{\"o}% + \DeclareInputText{129}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp437> +% \fi +% +% +% \iffalse +%<*cp437de> +% \fi +% \subsection{cp437de.gie} +% \begin{macrocode} +\ProvidesFile{cp437de.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{142}{"A}% + \DeclareInputText{153}{"O}% + \DeclareInputText{154}{"U}% + \DeclareInputText{225}{"s}% + \DeclareInputText{132}{"a}% + \DeclareInputText{148}{"o}% + \DeclareInputText{129}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{142}{\"A}% + \DeclareInputText{153}{\"O}% + \DeclareInputText{154}{\"U}% + \DeclareInputText{225}{\ss}% + \DeclareInputText{132}{\"a}% + \DeclareInputText{148}{\"o}% + \DeclareInputText{129}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp437de> +% \fi +% +% +% \iffalse +%<*cp850> +% \fi +% \subsection{cp850.gie} +% \begin{macrocode} +\ProvidesFile{cp850.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{142}{"A}% + \DeclareInputText{153}{"O}% + \DeclareInputText{154}{"U}% + \DeclareInputText{225}{"s}% + \DeclareInputText{132}{"a}% + \DeclareInputText{148}{"o}% + \DeclareInputText{129}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{142}{\"A}% + \DeclareInputText{153}{\"O}% + \DeclareInputText{154}{\"U}% + \DeclareInputText{225}{\ss}% + \DeclareInputText{132}{\"a}% + \DeclareInputText{148}{\"o}% + \DeclareInputText{129}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp850> +% \fi +% +% +% \iffalse +%<*cp852> +% \fi +% \subsection{cp852.gie} +% \begin{macrocode} +\ProvidesFile{cp852.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{142}{"A}% + \DeclareInputText{153}{"O}% + \DeclareInputText{154}{"U}% + \DeclareInputText{225}{"s}% + \DeclareInputText{132}{"a}% + \DeclareInputText{148}{"o}% + \DeclareInputText{129}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{142}{\"A}% + \DeclareInputText{153}{\"O}% + \DeclareInputText{154}{\"U}% + \DeclareInputText{225}{\ss}% + \DeclareInputText{132}{\"a}% + \DeclareInputText{148}{\"o}% + \DeclareInputText{129}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp852> +% \fi +% +% +% \iffalse +%<*cp865> +% \fi +% \subsection{cp865.gie} +% \begin{macrocode} +\ProvidesFile{cp865.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{142}{"A}% + \DeclareInputText{153}{"O}% + \DeclareInputText{154}{"U}% + \DeclareInputText{225}{"s}% + \DeclareInputText{132}{"a}% + \DeclareInputText{148}{"o}% + \DeclareInputText{129}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{142}{\"A}% + \DeclareInputText{153}{\"O}% + \DeclareInputText{154}{\"U}% + \DeclareInputText{225}{\ss}% + \DeclareInputText{132}{\"a}% + \DeclareInputText{148}{\"o}% + \DeclareInputText{129}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</cp865> +% \fi +% +% +% \iffalse +%<*decmulti> +% \fi +% \subsection{decmulti.gie} +% \begin{macrocode} +\ProvidesFile{decmulti.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</decmulti> +% \fi +% +% +% \iffalse +%<*latin1> +% \fi +% \subsection{latin1.gie} +% \begin{macrocode} +\ProvidesFile{latin1.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</latin1> +% \fi +% +% +% \iffalse +%<*latin2> +% \fi +% \subsection{latin2.gie} +% \begin{macrocode} +\ProvidesFile{latin2.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</latin2> +% \fi +% +% +% \iffalse +%<*latin3> +% \fi +% \subsection{latin3.gie} +% \begin{macrocode} +\ProvidesFile{latin3.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</latin3> +% \fi +% +% +% \iffalse +%<*latin5> +% \fi +% \subsection{latin5.gie} +% \begin{macrocode} +\ProvidesFile{latin5.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</latin5> +% \fi +% +% +% \iffalse +%<*latin9> +% \fi +% \subsection{latin9.gie} +% \begin{macrocode} +\ProvidesFile{latin9.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{196}{"A}% + \DeclareInputText{214}{"O}% + \DeclareInputText{220}{"U}% + \DeclareInputText{223}{"s}% + \DeclareInputText{228}{"a}% + \DeclareInputText{246}{"o}% + \DeclareInputText{252}{"u}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{196}{\"A}% + \DeclareInputText{214}{\"O}% + \DeclareInputText{220}{\"U}% + \DeclareInputText{223}{\ss}% + \DeclareInputText{228}{\"a}% + \DeclareInputText{246}{\"o}% + \DeclareInputText{252}{\"u}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</latin9> +% \fi +% +% +% \iffalse +%<*next> +% \fi +% \subsection{next.gie} +% \begin{macrocode} +\ProvidesFile{next.gie}[\giefiledate\space v\giefileversion\space + Input encoding file]% +\begingroup +\shorthandon{"}% +\gdef\umlautgerman{% + \DeclareInputText{133}{"A}% + \DeclareInputText{150}{"O}% + \DeclareInputText{154}{"U}% + \DeclareInputText{217}{"a}% + \DeclareInputText{240}{"o}% + \DeclareInputText{246}{"u}% + \DeclareInputText{251}{"s}% +}% +\shorthandoff{"}% +\gdef\umlautnotgerman{% + \DeclareInputText{133}{\"A}% + \DeclareInputText{150}{\"O}% + \DeclareInputText{154}{\"U}% + \DeclareInputText{217}{\"a}% + \DeclareInputText{240}{\"o}% + \DeclareInputText{246}{\"u}% + \DeclareInputText{251}{\"s}% +}% +\endgroup +% \end{macrocode} +% \iffalse +%</next> +% \fi +% +% +% \Finale +% diff --git a/Master/texmf-dist/source/latex/ginpenc/ginpenc.ins b/Master/texmf-dist/source/latex/ginpenc/ginpenc.ins new file mode 100644 index 00000000000..8c966214e2b --- /dev/null +++ b/Master/texmf-dist/source/latex/ginpenc/ginpenc.ins @@ -0,0 +1,43 @@ +\input docstrip.tex +\preamble + + 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 + +\endpreamble + +\askforoverwritefalse + +% Files +%%%%%%%%%%%%%%%%%%%%%% +\generate{% + \file{ginpenc.sty}{\from{ginpenc.dtx}{version,package}}% + \file{ansinew.gie}{\from{ginpenc.dtx}{version,ansinew}}% + \file{applemac.gie}{\from{ginpenc.dtx}{version,applemac}}% + \file{ascii.gie}{\from{ginpenc.dtx}{version,ascii}}% + \file{cp1250.gie}{\from{ginpenc.dtx}{version,cp1250}}% + \file{cp1252.gie}{\from{ginpenc.dtx}{version,cp1252}}% + \file{cp437.gie}{\from{ginpenc.dtx}{version,cp437}}% + \file{cp437de.gie}{\from{ginpenc.dtx}{version,cp437de}}% + \file{cp850.gie}{\from{ginpenc.dtx}{version,cp850}}% + \file{cp852.gie}{\from{ginpenc.dtx}{version,cp852}}% + \file{cp865.gie}{\from{ginpenc.dtx}{version,cp865}}% + \file{decmulti.gie}{\from{ginpenc.dtx}{version,decmulti}}% + \file{latin1.gie}{\from{ginpenc.dtx}{version,latin1}}% + \file{latin2.gie}{\from{ginpenc.dtx}{version,latin2}}% + \file{latin3.gie}{\from{ginpenc.dtx}{version,latin3}}% + \file{latin5.gie}{\from{ginpenc.dtx}{version,latin5}}% + \file{latin9.gie}{\from{ginpenc.dtx}{version,latin9}}% + \file{next.gie}{\from{ginpenc.dtx}{version,next}}% +}% + +\Msg{* Ready} +\endbatchfile |