summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pauldoc/pauldoc.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/pauldoc/pauldoc.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/pauldoc/pauldoc.sty')
-rw-r--r--macros/latex/contrib/pauldoc/pauldoc.sty126
1 files changed, 126 insertions, 0 deletions
diff --git a/macros/latex/contrib/pauldoc/pauldoc.sty b/macros/latex/contrib/pauldoc/pauldoc.sty
new file mode 100644
index 0000000000..b92b8956a7
--- /dev/null
+++ b/macros/latex/contrib/pauldoc/pauldoc.sty
@@ -0,0 +1,126 @@
+%%
+%% This is file `pauldoc.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pauldoc.dtx (with options: `package')
+%%
+%% ,--------------------------------------------------.
+%% | Das ist eine generierte Datei. |
+%% | |
+%% | (c) 2005-2006 Paul Ebermann. |
+%% '--------------------------------------------------'
+%%
+%% (C) 2006-2009 Paul Ebermann
+%%
+%% Package pauldoc - Anpassungen für doc für Pauls Package-Dokus.
+%% Die Datei pauldoc.dtx sowie die dazugehörige
+%% pauldoc.ins sowie die damit generierte
+%% pauldoc.sty stehen unter der
+%% "LaTeX Project Public License" (LPPL, zu finden
+%% unter http://www.latex-project.org/lppl/, sowie
+%% auch in den meisten TeX-Distributionen in
+%% texmf/docs/latex/base/lppl*.txt), Version 1.3b oder
+%% später (nach Wahl des Verwenders).
+%%
+%% Der 'maintenance-status' ist (zur Zeit) 'author-maintained'.
+%%
+%% Das heißt u.a., die Dateien dürfen frei vertrieben werden,
+%% bei Änderungen (durch andere Personen als Paul Ebermann)
+%% ist aber der Name der Datei zu ändern.
+%%
+\NeedsTeXFormat{LaTeX2e}[2003/12/01]
+\ProvidesPackage{pauldoc}
+ [2009/11/06 v0.5 Pauls Anpassungen fuer doc (PE)]
+\newcommand*\pauldoc@ienc{}
+\DeclareOption{utf8}{
+ \def\pauldoc@ienc{utf8}
+}
+\DeclareOption{latin1}{
+ \def\pauldoc@ienc{latin1}
+}
+\ExecuteOptions{latin1}
+\DeclareOption{chapter}{
+ \let\pauldoc@indexsec=\chapter
+}
+\DeclareOption{section}{
+ \let\pauldoc@indexsec=\section
+}
+\newcommand*{\pauldoc@indexsec}{}
+\ExecuteOptions{section}
+\ProcessOptions\relax
+\RequirePackage[\pauldoc@ienc]{inputenc}
+\RequirePackage[ngerman]{babel}
+\RequirePackage[T1]{fontenc}
+\EnableCrossrefs
+\RecordChanges
+\CodelineIndex
+\AtBeginDocument{\MakeShortVerb{\'}\selectlanguage{ngerman}}
+\renewcommand{\generalname}{Allgemein}
+
+\GlossaryPrologue{\pauldoc@indexsec{Liste der \"Anderungen}}
+
+\IndexPrologue{
+
+ \pauldoc@indexsec{Index}
+
+ Schr\"aggedruckte Nummern verweisen auf die Seite, auf der der
+ Eintrag beschrieben ist, unterstrichene Nummern zeigen auf die
+ Zeilennummer der Definition, sonstige Zahlen auf die Zeilennummer
+ einer Verwendung.
+
+ }
+ \setcounter{IndexColumns}{2}
+\newcommand*{\ifReferenceExists}[3]
+{%
+ \@ifundefined{r@#1}{#3}{#2}%
+}
+ \newcommand*{\pack}{\textsf}
+\newcommand*\eTeX{$\m@th\varepsilon$-\TeX}
+ \newcommand*{\includeLicense} {
+ \IfFileExists{\lpplfilename}{%
+ \begin{otherlanguage*}{english}
+\ifx\pauldoc@indexsec\chapter
+ \providecommand*{\LPPLsection}{\chapter}
+ \providecommand*{\LPPLsubsection}{\section}
+ \providecommand*{\LPPLsubsubsection}{\subsection}
+ \providecommand*{\LPPLparagraph}{\subsubsection}
+\else
+ \providecommand*{\LPPLsection}{\section}
+ \providecommand*{\LPPLsubsection}{\subsection}
+ \providecommand*{\LPPLsubsubsection}{\subsubsection}
+ \providecommand*{\LPPLparagraph}{\paragraph}
+\fi
+ \DeleteShortVerb{\'}%
+ \MakePercentComment\input{\lpplfilename}\MakePercentIgnore%
+ \MakeShortVerb{\'}%
+ \end{otherlanguage*}
+ }{%
+ \typeout{^^J%
+ ^^J%
+ Die Datei \lpplfilename{} wurde nicht gefunden.^^J%
+ Schade, da wird die Lizenz eben nicht eingebunden.^^J%
+ ^^J%
+ }%
+ }%
+ }
+\AtBeginDocument{%
+ \providecommand{\lpplfilename}{lppl.tex}%
+}
+\@ifundefined{cs}
+{%
+ \providecommand*{\cmd}[1]{\cs{\expandafter\cmd@to@cs\string#1}}
+ \def\cmd@to@cs#1#2{\char\number`#2\relax}
+ \DeclareRobustCommand*\cs[1]{\texttt{\char`\\#1}}%
+}
+{}
+\providecommand\marg[1]{%
+ {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
+\providecommand\oarg[1]{%
+ {\ttfamily[}\meta{#1}{\ttfamily]}}
+\providecommand\parg[1]{%
+ {\ttfamily(}\meta{#1}{\ttfamily)}}
+\endinput
+%%
+%% End of file `pauldoc.sty'.