summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dtk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-10 23:22:57 +0000
committerKarl Berry <karl@freefriends.org>2016-03-10 23:22:57 +0000
commitb2284ba3ff1934d059ac5273c78c325f513bbf26 (patch)
tree12f805ef827ada486c6a7f6f46a842d1b08094f2 /Master/texmf-dist/tex/latex/dtk
parent139be648536d5f25096343c01cd7e96a2a663ae4 (diff)
dtk (9mar16)
git-svn-id: svn://tug.org/texlive/trunk@39990 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dtk')
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-author.clo35
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-full.clo448
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-logos.sty122
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo54
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo42
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-pdf.sty124
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk-url.sty25
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk.bbx204
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk.cbx21
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk.clo558
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtk.cls1382
-rw-r--r--Master/texmf-dist/tex/latex/dtk/dtklogos.sty68
12 files changed, 1374 insertions, 1709 deletions
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-author.clo b/Master/texmf-dist/tex/latex/dtk/dtk-author.clo
new file mode 100644
index 00000000000..767b5f7a671
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk-author.clo
@@ -0,0 +1,35 @@
+%% This is file `dtk-full.clo',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\ProvidesFile{dtk-author.clo}%
+ [2016/02/15 v0.1b dtk class options for author mode (RN)]
+
+\newcommand*\keywords[1]{}
+\newcommand*\AutorenListe{}
+\let\maketitle=\DTK@maketitle
+\let\tableofcontents=\relax
+
+\let\DTK@@Author=\DTK@Author@article
+
+% Falls \bibliography{...} in traditioneller Weise nach \begin{document}.
+% (2xLaTeX-Lauf + biber + 1xLaTeX-Lauf)
+\AfterEndPreamble{%
+ \renewcommand*\bibliography[1]{%
+ \immediate\write\@mainaux{\string\bibliography{#1}}%
+ \printbibliography[heading=dtk]
+ }%
+}%
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-full.clo b/Master/texmf-dist/tex/latex/dtk/dtk-full.clo
new file mode 100644
index 00000000000..27079527d6d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk-full.clo
@@ -0,0 +1,448 @@
+%% This is file `dtk-full.clo',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\ProvidesFile{dtk-full.clo}%
+ [2015/10/14 v0.1e dtk class options for full mode (RN)]
+
+\@ifclasslater{scrbook}{2015/09/29}{}{%
+ \ClassError{dtk2}{%
+ Die geladene Version der Dokumentenklasse `scrbook' \MessageBreak
+ (\KOMAScriptVersion) ist zu alt. \MessageBreak
+ Gefordert ist die Version 2015/09/29 oder jünger. \MessageBreak
+ Abbruch}{}%
+}
+
+\RequirePackage{xcolor,multicol,graphicx,tabularx}
+\RequirePackage[showzone=false]{datetime2}
+
+\newcommand*\AutorenListenName{Autoren/Organisatoren} % auch »Stichwortverzeichnis«?
+\newcommand*\DTK@fancyJournalname{%
+ \color{DTK@fancy}Die \color{black}\TeX\color{DTK@fancy}nische Kom\"odie}
+\newcommand*\DTK@keywords{}
+\newcommand*\keywords[1]{\gdef\DTK@keywords{#1}}
+
+\newcommand*\DTKissueTOmonth[1]{\numexpr#1*3-1\relax}
+
+\ifnum\DTKissue=\z@
+ \def\DTKmonth{0}%
+ \def\DTKmonthName{?????}%
+\else
+ \ifnum\DTKmonth=\z@
+ \edef\DTKmonth{\DTKissueTOmonth{\DTKissue}}%
+ \fi
+ \edef\DTKmonthName{\DTMgermanmonthname{\DTKmonth}}%
+\fi
+\edef\DTKdate{\DTKissue/\DTKyear}%
+\edef\DTKvolume{\the\numexpr\DTKyear-1989+1\relax}%
+\edef\DTKfullIssue{\DTKvolume. Jahrgang\quad
+ Heft \DTKissue/\DTKyear\quad \DTKmonthName\ \DTKyear}%
+\ifDTK@korr@
+ \edef\DTKcorrVersion{\noexpand\normalfont
+ \noexpand\fcolorbox{black}{DTK@marker}{Korrekturversion: \DTMnow}}%
+ \overfullrule=5pt %
+ \RequirePackage[pagewise]{lineno}%
+ \linenumbers
+ \linenumbersep=.8ex %
+ \def\linenumberfont{\normalfont\footnotesize\ttfamily}%
+ \def\thelinenumber{%
+ \fboxsep=.3ex %
+ \fcolorbox{black}{DTK@marker}{\@arabic{\c@page}-\@arabic{\c@linenumber}}%
+ }%
+\fi
+
+\@ifundefined{@LN}{\let\@LN=\@gobbletwo}{}%
+% Wegen .aux-Datei von vorherigem lineno-Lauf
+
+\newcommand*\DTK@backside{%
+ \begingroup
+ \chardef\backside15 %
+ \ch@ck7\backside\write
+ \immediate\openout\backside dtk-ruecken.dat\relax
+ \let\protect=\noexpand
+ \immediate\write\backside{\journalname\space\DTKdate}%
+ \immediate\closeout\backside\relax%
+ \endgroup
+}
+
+\newcommand*\DTK@embedded@begindocumenthook{}
+\newcommand*\AtEmbeddedBeginDocument{%
+ \g@addto@macro\DTK@embedded@begindocumenthook}
+\newcommand*\DTK@embedded@enddocumenthook{}
+\newcommand*\AtEmbeddedEndDocument{%
+ \g@addto@macro\DTK@embedded@enddocumenthook}
+\newcommand*\DTK@local@inputname{}
+\newcommand*\DTK@eat@version[1][]{\ignorespaces}
+\newcommand*\DTK@usepackage[2][]{% TODO: Besser \DTK@eat@version
+ \@ifnextchar[%]
+ {\DTK@@usepackage{#1}{#2}}%
+ {\DTK@@usepackage{#1}{#2}[]}%
+}%
+\newcommand*\DTK@@usepackage{}
+\newcommand*\DTK@documentclass[2][]{%
+ \DTK@eat@version
+}
+
+\ifDTKrecord
+ % Testlauf zum Aufsammeln von Paket- und bib-Dateinamen
+ \@ifdefinable\user@packages{%
+ \newwrite\user@packages
+ \immediate\openout\user@packages dtk-userpackages.tex\relax
+ \immediate\write\user@packages{\@percentchar\space *** \DTMnow\space ***}%
+ \AtEndDocument{\immediate\closeout\user@packages\relax}%
+ }
+ \renewcommand*\printbibliography[1][]{}%
+ \newcommand*\DTK@addbibresource[2][]{%
+ \immediate\write\user@packages{%
+ \string\addbibresource[datatype=bibtex,label=DTK\the\c@refsection]{#2}%
+ \@percentchar\space \DTK@local@inputname
+ }%
+ }%
+ \def\DTK@@usepackage#1#2[#3]{%
+ \edef\@tempb{\zap@space#2 \@empty}%
+ \@for\@tempa:=\@tempb\do{%
+ \let\DTK@tempa=\@empty
+ \ifstr{\@tempa}{inputenc}{\let\DTK@tempa=\@percentchar}{%
+ \ifstr{\@tempa}{fontenc}{\let\DTK@tempa=\@percentchar}{}}%
+ \immediate\write\user@packages{%
+ \DTK@tempa\string\usepackage\ifx\relax#1\relax\else[#1]\fi{\@tempa}%
+ \ifx\relax#3\relax\else[#3]\fi\@percentchar\space \DTK@local@inputname
+ }%
+ }%
+ \ignorespaces
+ }%
+ \let\DTK@@Author=\DTK@Author
+ \newcommand*\AutorenListe{}%
+ \let\tableofcontents=\relax
+ \renewcommand\maketitle[1][]{}%
+\else
+ \AtEndOfClass{%
+ \InputIfFileExists{dtk-userpackages.tex}{%
+ \typeout{*************************************^^J%
+ * File `dtk-userpackages.tex' used.^^J%
+ *************************************}%
+ }{}%
+ \shorthandon{"}%
+ }%
+ \AtBeginDocument{\DTK@backside}%
+ \def\DTK@@usepackage#1#2[#3]{}%
+ \newcommand*\DTK@addbibresource[2][]{}%
+ \newcommand*\ORIG@printbibliography{}
+ \let\ORIG@printbibliography=\printbibliography
+ \renewcommand*\printbibliography[1][]{\DTK@bib@true}%
+ \RequirePackage[split,protected]{splitidx} \makeindex
+ \newindex[\AutorenListenName]{autoren}%
+ \newcommand*\AutorenListe{%
+ \clearpage
+ \begingroup
+ %\language\langwohyphens
+ \renewenvironment{theindex}{\theAutoren}{\endtheAutoren}%
+ \printindex[autoren]%
+ \endgroup
+ }%
+ \newcommand\DTK@Author@list[3]{% TODO: Auch "!" und "|" maskieren?
+ \begingroup
+ \def\Email##1{\escape@atsign##1\relax}% herausziehen?!
+ \def\escape@atsign##1@##2\relax{%
+ \noexpand\Email\string{##1\string"@##2\string}%
+ }
+ \makeatletter
+ \scantokens{\protected@edef\x{%
+ \noexpand\sindex[autoren]{#2#1@#1 #2!#3}}}%
+ \x
+ \endgroup
+ }%
+ \let\DTK@Author=\DTK@Author@list
+ \newcommand\DTK@@Author[3]{%
+ \DTK@Author@article{#1}{#2}{#3}%
+ \DTK@Author@list{#1}{#2}{#3}%
+ }
+ \renewcommand\maketitle[1][]{%
+ \thispagestyle{dtk-title}%
+ \global\let\maketitle=\DTK@maketitle
+ \null\newpage
+ }%
+\fi
+
+%%% Laden eines Einzeldokuments
+\newcommand*\DTKinput[1]{%
+ \begingroup
+ \filename@parse{#1}%
+ \edef\jobname{\filename@base}%
+ \@ifundefined{filename@ext}%
+ {\IfFileExists{\jobname.tex}%
+ {\edef\DTK@local@inputname{\jobname.tex}}{}}%
+ {\edef\DTK@local@inputname{#1}}%
+ \let\AtBeginDocument=\AtEmbeddedBeginDocument
+ \let\AtEndDocument=\AtEmbeddedEndDocument
+ \let\DTK@embedded@begindocumenthook=\@empty
+ \let\DTK@embedded@enddocumenthook=\@empty
+ \let\pagestyle=\@gobble
+ \let\thispagestyle=\@gobble
+ \let\listfiles=\relax
+ \let\nofiles=\relax
+ \let\documentclass=\DTK@documentclass
+ \let\usepackage=\DTK@usepackage
+ \let\addbibresource=\DTK@addbibresource
+ \DTK@bib@false
+ \c@footnote=\z@
+ \c@lstlisting=\z@
+ \c@figure=\z@
+ \c@table=\z@
+ \c@equation=\z@
+ \renewenvironment{document}{%
+ \ifDTKrecord\endgroup\expandafter\endinput\fi
+ \DTK@embedded@begindocumenthook\ignorespaces
+ }{%
+ \ifDTK@bib@\ORIG@printbibliography[heading=dtk]\fi
+ \DTK@embedded@enddocumenthook\endinput
+ }%
+ \refsection[DTK\the\c@refsection]%
+ \input{\DTK@local@inputname}%
+ \endrefsection
+ \endgroup
+}
+
+\let\indexspace=\relax
+\renewcommand*\idx@heading{%
+ \chapter{\indexname}%
+ \ifx\index@preamble\relax
+ \else\index@preamble\let\index@preamble=\relax\fi
+}%
+\def\DTK@scan@item#1\subitem#2\relax#3\@nil{%
+ \def\DTK@tempa{#1}\def\DTK@tempb{#2}\def\DTK@tempc{#3}%
+}
+\newenvironment{theAutoren}{%
+ \columnseprule=\z@ \columnsep=10\p@
+ \begin{multicols}{2}[\idx@heading]%
+ \makeatletter
+ \parindent\z@
+ \setlength{\parskip}{\z@ \@plus .3\p@}%
+ \setlength{\parfillskip}{\z@ \@plus 1fil}%
+ \raggedright
+ \def\item##1\@nil{\DTK@scan@item##1\@nil
+ \par\parbox{\columnwidth}{%
+ \textbf{\DTK@tempa}\hfill[\DTK@tempc]\par\DTK@tempb
+ }%
+ \par\bigskip
+ }%
+}{%
+ \end{multicols}%
+}
+
+\newcommand*\DTK@toc@head{%
+ \raisebox{0mm}[0pt][0pt]{%
+ \parbox[t]{\textwidth}{%
+ \normalfont\nointerlineskip
+ \begingroup
+ \Huge\raggedright
+ \DTK@fancyJournalname \\
+ \endgroup
+ \addvspace{\dimexpr5mm-\baselineskip}%
+ \rule{\textwidth}{2pt}\\[0.5mm]%
+ \begingroup
+ \footnotesize\raggedleft
+ \DTKfullIssue \\
+ \endgroup
+ }%
+ }%
+}
+
+\RequirePackage{picture}
+
+\DeclareNewLayer[page,background,mode=picture,contents={%
+ \put(24mm,0.5\dimexpr\layerheight\relax){%
+ \makebox(0,0)[c]{\rotatebox[origin=c]{90}{%
+ \resizebox{14cm}{!}{\Huge\DTK@fancyJournalname}}}%
+ \put(8mm,0){\makebox(0,0)[c]{\rule{0.85mm}{\textheight}}}%
+ }%
+ \put(52mm,145mm){%
+ \parbox[t]{78mm}{%
+ \raggedleft
+ \Huge\dantelogo \\
+ \Large Deutschsprachige \\
+ Anwendervereinigung \TeX\ \eV \\
+ \addvspace{4mm}%
+ \begingroup
+ \raggedright\footnotesize
+ \DTKfullIssue \\
+ \endgroup
+ \addvspace{40mm}%
+ \makebox(0,0)[r]{\Large\DTKcorrVersion}
+ }%
+ }%
+ \put(86mm,27mm){%
+ \begingroup
+ \color[gray]{.8}\resizebox{47mm}{!}{\Huge\DTKdate}%
+ \endgroup
+ }%
+}]{dtk-title-content}
+\DeclareNewPageStyleByLayers{dtk-title}{dtk-title-content}
+
+\deftriplepagestyle{dtk-toc}%
+ {}{\DTK@toc@head}{}%
+ {}{\hfill\normalsize\DTKcorrVersion\hfill\null}{}
+
+\AtEndOfClass{%
+ \renewcommand*\l@part[2]{%
+ \begingroup
+ \addpenalty{-\@highpenalty}%
+ \usekomafont{partentry}%
+ \addvspace{0.5em plus 0pt}% space above part line
+ \@tempdima=1.5em %
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\par
+ \penalty\@highpenalty
+ \endgroup
+ \addvspace{0.2em}%
+ }
+ \renewcommand*\l@chapter[2]{% TODO: Abstände richtig? "LaTeXifizieren?
+ \begingroup
+ \usekomafont{chapterentry}%
+ \vskip \z@ \@plus.2\p@
+ \@afterindenttrue
+ \interlinepenalty\@M
+ \@tempdimb 2.5em\relax % indent
+ \advance\leftskip \@tempdimb
+ \advance\rightskip \@tempdimb
+ \noindent\hskip -\leftskip
+ \settowidth\@tempdima{\the\c@page}%
+ \hbox to\@tempdimb{\usekomafont{chapterentrypagenumber}%
+ \makebox[\@tempdima][r]{#2}\hss}%
+ #1\par
+ \endgroup
+ }
+}
+
+\setkomafont{chapterentry}{\normalfont\small}
+\setkomafont{chapterentrypagenumber}{\usekomafont{chapterentry}}
+\setkomafont{partentry}{\usekomafont{chapterentry}\bfseries}
+
+\deftocheading{toc}{%
+ \clearpage
+ \thispagestyle{dtk-toc}%
+ \vspace*{16pt}%
+ \let\\=\relax
+ \raggedright
+}
+
+\newcommand*\Part{%
+% [#1]=toc, {#2}=Überschrift, [#3]=Präambel, *=nur Strich
+ \@ifstar{\global\@tempswatrue\DTK@Part}{\global\@tempswafalse\DTK@Part}%
+}
+
+\newcommand\DTK@Part[2][]{%
+ \protected@xdef\DTK@tempa{\ifx\relax#1\relax
+ \noexpand\part{#2}\else\noexpand\part[#1]{#2}\fi}%
+ \DTK@@Part
+}
+
+\newcommand\DTK@@Part[1][]{%
+ \let\DTK@tempb=\partheadendvskip
+ \if@tempswa
+ \setpartpreamble{%
+ \noindent\raisebox{\height}[\height]{\rule{\textwidth}{2pt}}%
+ }%
+ \def\partheadendvskip{%
+ \medskip\par
+ }
+ \fi
+ \ifx\relax#1\relax\else
+ \setpartpreamble{%
+ \noindent\raisebox{\height}[\height]{\rule{\textwidth}{2pt}}\par
+ \usekomafont{section} #1\par
+ }%
+ \fi
+ \DTK@tempa
+ \let\partheadendvskip=\DTK@tempb
+ \bigskip\par
+}
+
+\def\partheadstartvskip{% 12.0pt plus 1.0fil
+ \null\vskip-\baselineskip
+}
+
+\def\partheadendvskip{}
+\let\partheademptypage=\relax% ???
+\let\raggedpart\raggedright
+\def\partpagestyle{plain.scrheadings}
+
+% TODO: sinnhaftigkeit überprüfen; bessere Stammtisch-Umgebung?
+\newenvironment{roll}%
+ {\@ifnextchar[{\r@ll}{\r@ll[0pt]}}%
+ {\end{list}}
+\def\r@ll[#1]{\begin{list}{}{%
+ \labelwidth = #1
+ \leftmargin = \labelwidth
+ \itemsep = .3ex
+ \let\makelabel=\rolllabel}%
+ }
+\newcommand\rolllabel[1]{\hspace\labelsep \textbf{#1}\hfill}
+
+\RequirePackage{filecontents}
+%% [#1]: Optionen für \includegraphics [#2]: Compiler #3: Dateiname
+%%
+\def\ErstelleGrafik{\@ifnextchar[{\ErstelleGrafik@i}{\ErstelleGrafik@i[]}}
+\def\ErstelleGrafik@i[#1]{\@ifnextchar[{\ErstelleGrafik@ii[#1]}{%
+ \ErstelleGrafik@ii[#1][xelatex]}}%
+\def\ErstelleGrafik@ii[#1][#2]#3{%
+ \gdef\dtk@dateiname{#3}%
+ \gdef\dtk@grafikOptionen{#1}%
+ \ifx\relax#2\relax\gdef\dtk@compiler{xelatex}\else\gdef\dtk@compiler{#2}\fi
+ \@nameuse{filecontents*}{#3.tex}}
+\def\endErstelleGrafik{%
+ \@nameuse{endfilecontents*}
+ \immediate\write18{\dtk@compiler\space\dtk@dateiname}%
+ \expandafter\includegraphics\expandafter[\dtk@grafikOptionen]{\dtk@dateiname}%
+}
+
+\providecommand*\InfoTeX{???}
+
+\newcommand*\MitarbeiterListe{}
+\newcommand*\ErzeugeMitarbeiterListe{%
+ \begingroup
+ \@temptokena{\begin{tabular}[t]{@{}lll@{}}}%
+ \IfFileExists{dtk-mitarbeiter.tex}{%
+ \openin\@inputcheck dtk-mitarbeiter.tex\relax
+ \endlinechar=\m@ne
+ \@tempcnta=\@ne
+ \loop%
+ \read\@inputcheck to \DTK@tempa
+ \ifx\DTK@tempa\@empty\else
+ \ifnum\@tempcnta=3\relax
+ \@tempcnta=\@ne \def\DTK@tempc{\\}%
+ \else
+ \advance\@tempcnta\@ne \def\DTK@tempc{&}%
+ \fi
+ \protected@edef\DTK@tempb{\the\@temptokena\DTK@tempa\DTK@tempc}%
+ \@temptokena\expandafter{\DTK@tempb}%
+ \fi
+ \ifeof\@inputcheck\else
+ \repeat
+ \closein\@inputcheck
+ }{%
+ \@temptokena\expandafter{\the\@temptokena ??? & ??? & ???}%
+ }
+ \@temptokena\expandafter{\the\@temptokena \end{tabular}}%
+ \xdef\MitarbeiterListe{\the\@temptokena}%
+ \endgroup
+}
+
+\ErzeugeMitarbeiterListe \let\ErzeugeMitarbeiterListe=\relax
+
+\newcommand*\DTKschriftenListe{%
+ \DTKrmFontName, \DTKsfFontName, \DTKttFontName\ und \DTKmathFontName}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-logos.sty b/Master/texmf-dist/tex/latex/dtk/dtk-logos.sty
new file mode 100644
index 00000000000..db843c30a3d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk-logos.sty
@@ -0,0 +1,122 @@
+%% Paket fuer Logos
+%%
+%% This is file `dtk-logos.sty',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%
+% $Id: deLogos.sty 188 2015-10-08 20:06:29Z herbert $
+%
+% -------------------------------------
+\ProvidesPackage{dtk-logos}[2015/10/21 Dante Edition: Logos (hv)]
+%
+\RequirePackage{hologo,dantelogo}
+%
+\def\HoLogo@La#1{%
+ L%
+ \ifx\f@family\sfdefault\kern-.15em\else\kern-.23em\fi
+ \begingroup
+ \setbox\ltx@zero\hbox{T}%
+ \vbox to\ht\ltx@zero{%
+ \hbox{%
+ \ltx@ifundefined{check@mathfonts}{%
+ \csname sevenrm\endcsname
+ }{%
+ \check@mathfonts
+ \fontsize\sf@size{0pt}%
+ \math@fontsfalse\selectfont
+ }%
+ A%
+ }%
+ \vss
+ }%
+ \endgroup
+}
+\def\LaTeXTeX{\hologo{(La)TeX}}
+\def\AmSLaTeX{\hologo{AmSLaTeX}}
+\def\AmSTeX{\hologo{AmSTeX}}
+\def\biber{\hologo{biber}}
+\def\BibTeX{\hologo{BibTeX}}
+\def\BibTeXacht{\hologo{BibTeX8}}
+\def\ConTeXt{\hologo{ConTeXt}}
+\let\context\ConTeXt
+\def\emTeX{\hologo{emTeX}}
+\def\eTeX{\hologo{eTeX}}
+\def\ExTeX{\hologo{ExTeX}}
+\def\HanTheThanh{\hologo{HanTheThanh}}
+\def\iniTeX{\hologo{iniTeX}}
+\def\KOMAScript{\hologo{KOMAScript}}
+\def\LaTeX{\hologo{LaTeX}}
+\def\LaTeXe{\hologo{LaTeX2e}}
+\def\LaTeXIII{\hologo{LaTeX3}}
+\def\LaTeXML{\hologo{LaTeXML}}
+\def\LuaLaTeX{\hologo{LuaLaTeX}}
+\let\lualatex\LuaLaTeX
+\def\LuaTeX{\hologo{LuaTeX}}
+\let\luatex\LuaTeX
+\def\LyX{\hologo{LyX}}
+\def\METAFONT{\hologo{METAFONT}}
+\let\MF\METAFONT
+\def\MetaFun{\hologo{MetaFun}}
+\def\METAPOST{\hologo{METAPOST}}
+\def\MetaPost{\hologo{MetaPost}}
+\let\MP\METAPOST
+\def\MiKTeX{\hologo{MiKTeX}}
+\def\NTS{\hologo{NTS}}
+\def\OzMF{\hologo{OzMF}}
+\def\OzMP{\hologo{OzMP}}
+\def\OzTeX{\hologo{OzTeX}}
+\def\OzTtH{\hologo{OzTth}}
+\def\PCTeX{\hologo{PCTeX}}
+\def\pdfTeX{\hologo{pdfTeX}}
+\let\pdftex\pdfTeX
+\def\pdfLaTeX{\hologo{pdfLaTeX}}
+\let\pdflatex\pdfLaTeX
+\def\PiC{\hologo{PiC}}
+\def\PiCTeX{\hologo{PiCTeX}}
+\def\plainTeX{\hologo{plainTeX}}
+\def\SageTeX{\hologo{SageTeX}}
+\def\SLiTeX{\hologo{SLiTeX}}
+\def\teTeX{\hologo{teTeX}}
+\def\TeXivht{\hologo{TeX4ht}}
+\def\TTH{\hologo{TTH}}
+\def\virTeX{\hologo{virTeX}}
+\def\VTeX{\hologo{VTeX}}
+\def\XeLaTeX{\hologo{XeLaTeX}}
+\def\XeTeX{\hologo{XeTeX}}
+%%
+\newcommand\BibTool{\textsc{Bib\hskip-.1em
+ T\hskip-.15emo\hskip-.05emo\hskip-.05eml}\xspace}
+\providecommand\tikz{\textsf{Ti\textit{k}Z}}
+\def\pgf/tikz{\textsf{pgf/Ti\textit{k}Z}}
+\def\ALEPH{\ensuremath{\aleph}}
+\let\TikZ\tikz
+
+\providecommand\eV{e.V\kern-0.18em\@ifnextchar.{}{.}\kern0.18em}
+\providecommand\dante{\mbox{DANTE~\eV}}
+\providecommand\Dante{DANTE,
+ Deutschsprachige Anwendervereinigung \TeX~\eV}
+\providecommand\DTK{Die \TeX\-ni\-sche Ko\-m{\"o}\-die}
+\providecommand\PS{Post\-Script}
+\providecommand\TUG{\TeX{} Users Group}
+\providecommand\TUGboat{\textsl{TUGboat}}
+\let\DANTE\dantelogo
+\def\pgf/tikz{\textsf{pgf/Ti\textit{k}Z}}
+\def\TeXLive{\TeX{}Live}
+
+\def\BibLaTeX{Bib\hologo{LaTeX}}
+\let\biblatex\BibLaTeX
+\def\CTAN{\texttt{CTAN}\xspace}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo b/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo
new file mode 100644
index 00000000000..fc0dd472c7f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk-new-engines.clo
@@ -0,0 +1,54 @@
+%% This is file `dtk-new-engines.clo',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\ProvidesFile{dtk-new-engines.clo}%
+ [2015/10/30 v0.1f dtk class options for LuaTeX and XeTeX (RN)]
+
+\typeout{NEW-ENGINE}
+
+\RequirePackage{fontspec}
+\RequirePackage{unicode-math}
+
+\InputIfFileExists{dtk-fonts.cfg}{%
+ \typeout{*************************************^^J%
+ * File `dtk-fonts.cfg' used.^^J%
+ *************************************}%
+}{%
+ \RequirePackage[lining=true]{libertine}%
+ \def\DTKrmFontName{Linux Libertine}%
+ \def\DTKsfFontName{Linux Biolinum}%
+ \setmathfont{XITSMath}[Scale=0.9,math-style=TeX,bold-style=TeX]%
+ \def\DTKmathFontName{XITS Math}%
+ \setmonofont{AnonymousPro}[Scale=0.955,FakeStretch=0.87]%
+ \def\DTKttFontName{Anonymous Pro}%
+ %\setmonofont{DejaVuSansMono}[Scale=0.81,FakeStretch=0.9]%
+ %\def\DTKttFontName{DejaVu Mono}%
+}
+
+\ifluatex
+ \RequirePackage[ngerman,noftligs]{selnolig}
+ \InputIfFileExists{dtk.nolig}{%
+ \typeout{*************************************^^J%
+ * File `dtk.nolig' used.^^J%
+ *************************************}%
+ }{}
+\fi
+
+\RequirePackage{newunicodechar}
+\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE'
+\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
+\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo b/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo
new file mode 100644
index 00000000000..2b2db4bd9c7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk-old-engines.clo
@@ -0,0 +1,42 @@
+
+%% This is file `dtk-old-engines.clo',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
+\ProvidesFile{dtk-old-engines.clo}%
+ [2015/10/30 v0.1d dtk class options for pdfTeX/TeX+dvips (RN)]
+
+\typeout{OLD-ENGINE}
+
+\RequirePackage[utf8]{inputenc}
+\RequirePackage[T1]{fontenc}
+\RequirePackage{textcomp}
+
+\InputIfFileExists{dtk-fonts.cfg}{%
+ \typeout{*************************************^^J%
+ * File `dtk-fonts.cfg' used.^^J%
+ *************************************}%
+}{%
+ \RequirePackage[lining=true]{libertine}%
+ \def\DTKrmFontName{Linux Libertine}%
+ \def\DTKsfFontName{Linux Biolinum}%
+ \RequirePackage[scale=0.833,ttdefault=true]{AnonymousPro}%
+ \def\DTKttFontName{Anonymous Pro}%
+ %\RequirePackage[scaled=0.83]{DejaVuSansMono}%
+ %\def\DTKttFontName{DejaVu Mono}%
+ %
+ \def\DTKmathFontName{Computer Modern Math}% ???
+}
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-pdf.sty b/Master/texmf-dist/tex/latex/dtk/dtk-pdf.sty
deleted file mode 100644
index b9383d6ffa0..00000000000
--- a/Master/texmf-dist/tex/latex/dtk/dtk-pdf.sty
+++ /dev/null
@@ -1,124 +0,0 @@
-%%
-%% This is file `dtk-pdf.sty',
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% $Id: dtk-pdf.sty 124 2014-09-24 20:01:38Z herbert $
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% Purpose: LaTeX Class and Styles for ``Die TeXnische Komoedie''.
-%%
-%% Copyright (C) 1995-1996 Gerd Neugebauer
-%% Copyright (C) 1997-2011 DANTE, Deutschsprachige
-%% Anwendervereinigung TeX e.V.
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
-%% 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.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This package is still under development and may be replaced with
-%% a new version which provides enhanced functionality.
-%%
-\def\fileversion{1.22}
-\def\filedate{2012/02/20}
-\let\docversion=\fileversion
-\let\docdate=\filedate
-\ProvidesPackage{dtk-pdf}[\filedate\space\fileversion\space (gn,hv)]
-\RequirePackage{multicol,graphicx,color}
-\RequirePackage[bookmarks=false]{hyperref}
-\definecolor{navy}{rgb}{0,0,.5}
-\hypersetup{%paper=a5,
-colorlinks,urlcolor=navy}
-\oddsidemargin=-10mm
-\evensidemargin=-10mm
-\topmargin=-15mm
-\renewcommand\Volume{?/??}
-\newcommand\Pages{???}
-\renewcommand\volume{\Volume\ -- Nachdruck}
-\let\titlemark\@gobble
-\newcount\AdNo \AdNo=0
-\newcommand\Address{\bigskip\par\advance\AdNo1
- \begin{multicols}2 \count255=0\relax
- \loop\csname Address\the\count255\endcsname\advance\count255 1
- \ifnum\count255<\AdNo \repeat
- \end{multicols}}
-\renewcommand\address[3]{%
- \expandafter\gdef\csname Address\the\AdNo\endcsname
- {\par\parbox{.45\textwidth}{\footnotesize\raggedright
- #1 #2 \\#3}}\advance\AdNo1\relax}
-\address{\href{http://cms.dante.de/}{\Dante}}{}{%
- \href{http://cms.dante.de/}{Postfach 10\,18\,40\\
- 69008 Heidelberg\\
- \texttt{dante@dante.de}}}
-\providecommand\DTK@keywords{}
-\let\m@ketitle=\maketitle
-\renewcommand\maketitle{%
- \thispagestyle{empty}%
- \newlength{\l@@x}\settowidth{\l@@x}{\Large\DTK}%
- \advance\l@@x3em\quad
- \href{http://archiv.dante.de/dante/DTK}{%
- \rotatebox{90}{\hspace*{1.5em}\Large\DTK}}
- \rule{.9pt}{\l@@x}\quad
- %
- \begin{minipage}[b]{.75\textwidth}\parskip=1ex
- {\raggedleft\large
- \href{http://cms.dante.de/}{DANTE\\
- Deutschsprachige\\
- Anwendervereinigung \TeX\ e.V.}\medskip\par
- }%
- {\let\thanks\@gobble
- \ifx\@author\empty\else\@author: \fi
- \ifx\@title\empty\else\emph{\@title}, \fi
- }
- \DTK\ \Volume, S.\ \Pages.\medskip
-
- \scriptsize Reproduktion oder Nutzung dieses Beitrags durch
- konventionelle, elektronische oder beliebige andere Verfahren ist
- nur mit Zustimmung des/der Autoren zul\"assig.
-
- \DTK\ ist die Mitgliedszeitschrift von \Dante. Einzelne Hefte
- k\"onnen von Mitgliedern bei der Gesch\"aftsstelle von \Dante\
- erworben werden. Mitglieder erhalten \DTK\ im Rahmen ihrer
- Mitgliedschaft.
- \end{minipage}
-
- \begingroup
- \def\LaTeX{LaTeX}%
- \def\BibTeX{BibTeX}%
- \def\TeX{TeX}%
- \def\LyX{LyX}%
- \hypersetup{%
- pdftitle=\@title,
- pdfauthor=\@author,
- pdfkeywords={\DTK@keywords},
- pdfsubject={\volume},
- pdfstartview={FitBH}
- }%
- \endgroup
- \m@ketitle
-}
-\def\textcentigrade{\textcelsius}
-\iffalse
-\AtBeginDocument{%
- \DeclareFontEncoding{OT4}{}{}%
- \DeclareFontEncoding{TS1}{}{}%
- \DeclareFontSubstitution{OT4}{cmr}{m}{n}%
- \DeclareTextCommand{\guillemotleft}{\encodingdefault}{%
- {\fontencoding{OT4}\fontfamily{cmr}\selectfont\char174}}%
- \DeclareTextCommand{\guillemotright}{\encodingdefault}{%
- {\fontencoding{OT4}\fontfamily{cmr}\selectfont\char175}}%
- \DeclareTextCommand{\guilsinglleft}{\encodingdefault}{%
- {\fontencoding{T1}\fontfamily{cmr}\selectfont\char14}}%
- \DeclareTextCommand{\guilsinglright}{\encodingdefault}{%
- {\fontencoding{T1}\fontfamily{cmr}\selectfont\char15}}%
- \DeclareTextCommand{\textperthousand}{\encodingdefault}{%
- {\fontencoding{TS1}\fontfamily{cmr}\selectfont\char135}}%
-}
-\fi
-\newif\ifmaintitle
-\newlength\footheight
-\endinput
-%%
-%% End of file `dtk-pdf.sty'.
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk-url.sty b/Master/texmf-dist/tex/latex/dtk/dtk-url.sty
index 032bd233bad..69e5b05717a 100644
--- a/Master/texmf-dist/tex/latex/dtk/dtk-url.sty
+++ b/Master/texmf-dist/tex/latex/dtk/dtk-url.sty
@@ -1,5 +1,21 @@
+%% This is file `dtk-url.sty',
+%%
+%% LaTeX Class for ``Die TeXnische Komoedie''.
+%%
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3c
+%% 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.3c or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{dtk-url}[2011/10/23 v1.0 Urls for DTK (HO)]
+\ProvidesPackage{dtk-url}[2015/09/25 v1.1 Urls for DTK (HO)]
+%% 1.1 hv
\RequirePackage{url}[2006/04/12]
@@ -13,12 +29,7 @@
% Schalter \ifDTK@Url@ legt fest, wann die URLs aktiv sein sollen
\newif\ifDTK@Url@
-\ifDTK@Draft@
- \DTK@Url@true
-\fi
-\ifDTK@lineno@
- \DTK@Url@true
-\fi
+\ifDTK@korr@\DTK@Url@true\fi
% Markup-Befehle:
\DeclareRobustCommand*{\url}{\DTK@Url}
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk.bbx b/Master/texmf-dist/tex/latex/dtk/dtk.bbx
new file mode 100644
index 00000000000..34f64b5e12f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk.bbx
@@ -0,0 +1,204 @@
+%% ---------------------------------------------------------------
+%% biblatex-dtk --- A set of biblatex implementations of
+%% dtk bibliography styles for DANTE's journal
+%% "Die TeXnische Komödie"
+%% Maintained by Herbert Voß
+%% (C) herbert@dante.de
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+\ProvidesFile{dtk.bbx}[\abx@bbxid]
+%
+%%[2015/11/03 v0.06 biblatex bibliography style]
+
+% Load the standard style to avoid copy-pasting unnecessary material
+%\RequireBibliographyStyle{chem-angew}
+\RequireBibliographyStyle{numeric}
+%\RequireBibliographyStyle{authoryear}
+
+\DeclareBibliographyOption{dashed}[true]{%
+ \ifstrequal{#1}{true}
+ {\ExecuteBibliographyOptions{pagetracker}%
+ \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}}
+ {\renewbibmacro*{bbx:savehash}{}}}
+
+\ExecuteBibliographyOptions
+ {
+ doi = true ,
+ eprint = true ,
+ giveninits = false,
+ isbn = true ,
+ maxnames = 3 ,
+ minnames = 1 ,
+% maxcitenames= 2 ,
+% pageranges = true ,
+ url = true,
+% articletitle = true,
+% chaptertitle = true,
+% biblabel = parens,
+ sorting = nyvt,
+ dashed = true,
+}
+
+
+\newbool{bbx@inset}
+\providebibmacro*{date+extrayear}{}
+
+
+\DeclareFieldFormat{date}{#1}
+\DeclareFieldFormat{booktitle}{#1\isdot}
+\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}\isdot}
+\DeclareFieldFormat{removecomma}{\mkbibnocomma{#1}}
+\DeclareFieldFormat{title}{#1\isdot}
+\DeclareFieldFormat[ctan]{url}{\url{CTAN: #1}}
+
+\newbibmacro*{ctanurl+urldate}{%
+ \printfield{url}
+ \iffieldundef{urlyear}
+ {}
+ {\setunit*{\addspace}%
+ \usebibmacro{urldate}}}
+
+\DeclareListFormat{language}{}{}
+
+\renewbibmacro*{author}{%
+ \ifboolexpr{
+ test \ifuseauthor
+ and
+ not test {\ifnameundef{author}}
+ }
+ {\printnames{author}\setunit{\addcolon\space}%
+ \iffieldundef{authortype}
+ {}
+ {\setunit{\addcolon\space}%
+ \usebibmacro{authorstrg}}}
+ {}}
+
+\renewbibmacro*{journal+issuetitle}{%
+ \usebibmacro{journal}%
+ \setunit*{\addcomma\addspace}%
+ \iffieldundef{series}
+ {}
+ {\newunit
+ \printfield{series}%
+ \setunit{\addspace}}%
+ \usebibmacro{volume+number+eid}%
+ \setunit{\addspace}%
+ \usebibmacro{issue+date}%
+ \setunit{\addcolon\space}%
+ \usebibmacro{issue}%
+ \newunit}
+
+\renewcommand*\labelnamepunct{\addcolon\addspace}
+
+%\DeclareNameFormat{default}{%
+% \usebibmacro{name:first-last}{#1}{#3}{#5}{#7}%
+%% \usebibmacro{name:first-last}{#1}{#4}{#5}{#7}%
+% \usebibmacro{name:andothers}}
+
+\newbibmacro*{bbx:dashcheck}[2]{%
+ \ifboolexpr{%
+ test {\iffieldequals{fullhash}{\bbx@lasthash}}
+ and
+ not test \iffirstonpage
+ and
+ (
+ not bool {bbx@inset}
+ or
+ test {\iffieldequalstr{entrysetcount}{1}}
+ )%
+ }{#1}{#2}}
+
+\renewbibmacro*{author}{%
+ \ifboolexpr{
+ test \ifuseauthor
+ and
+ not test {\ifnameundef{author}}
+ }
+ {\usebibmacro{bbx:dashcheck}
+ {\bibnamedash}
+ {\usebibmacro{bbx:savehash}%
+ \printnames{author}%
+ \iffieldundef{authortype}
+ {\setunit{\addspace}}
+ {\setunit{\addcomma\space}}}%
+ \iffieldundef{authortype}
+ {}
+ {\usebibmacro{authorstrg}%
+ \setunit{\addspace}}}%
+ {\global\undef\bbx@lasthash
+ \usebibmacro{labeltitle}%
+ \setunit*{\addspace}}%
+ \usebibmacro{date+extrayear}}
+
+\renewcommand*\bibnamedash{\textemdash\hspace{1em}}%
+% \ifdimless{\leftmargin}{0.75em}
+% {\mbox{\textemdash\space}}
+% {\makebox[\leftmargin][l]{%
+% \ifdimless{\leftmargin}{1.25em}
+% {\textendash}
+% {\textemdash}}}}
+
+
+
+\DeclareBibliographyDriver{ctan}{%
+ \usebibmacro{bibindex}%
+ \usebibmacro{begentry}%
+ \usebibmacro{author/editor+others/translator+others}%
+ \setunit{\labelnamepunct} %\newblock
+ \usebibmacro{title}%
+% \newunit
+% \printlist{language}%
+ \newunit\newblock
+ \usebibmacro{byauthor}%
+ \newunit %\newblock
+ \usebibmacro{byeditor+others}%
+ \newunit %\newblock
+ \printfield{version}%
+ \newunit
+ \printfield{note}%
+ \newunit %\newblock
+ \printlist{organization}%
+ \newunit\newblock
+ \usebibmacro{date}%
+ \newunit %\newblock
+ \iftoggle{bbx:eprint}
+ {\usebibmacro{eprint}}
+ {}%
+ \newunit %\newblock
+ \usebibmacro{ctanurl+urldate}%
+ \newunit %\newblock
+ \usebibmacro{addendum+pubstate}%
+ \setunit{\bibpagerefpunct}\newblock
+ \usebibmacro{pageref}%
+ \newunit\newblock
+ \iftoggle{bbx:related}
+ {\usebibmacro{related:init}%
+ \usebibmacro{related}}
+ {}%
+ \usebibmacro{finentry}}
+%
+
+%\setlength\labelnumberwidth{1.5em}
+%\setlength\biblabelsep{1em}
+\defbibenvironment{dtk@bib}
+ {\list
+ {\printtext[labelnumberwidth]{%
+ \printfield{prefixnumber}%
+ \printfield{labelnumber}}}
+ {\setlength{\labelwidth}{\labelnumberwidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}}%
+ \renewcommand*{\makelabel}[1]{\hss##1}%
+ \RaggedRight}
+ {\endlist}
+ {\item}
+
+
+%%
+%%
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk.cbx b/Master/texmf-dist/tex/latex/dtk/dtk.cbx
new file mode 100644
index 00000000000..a1d0e32a16e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dtk/dtk.cbx
@@ -0,0 +1,21 @@
+%% ---------------------------------------------------------------
+%% biblatex-dtk --- A set of biblatex implementations of
+%% dtk bibliography styles for DANTE journal
+%% "Die TeXnische Komödie"
+%% Maintained by Herbert Voß
+%% (C) herbert@dante.de
+%% Released under the LaTeX Project Public License v1.3c or later
+%% See http://www.latex-project.org/lppl.txt
+%% ---------------------------------------------------------------
+%%
+
+\ProvidesFile{dtk.cbx}[\abx@cbxid]
+
+%%[2015/09/21 v0.02 biblatex citation style]
+
+%\RequireCitationStyle{chem-angew}
+\RequireCitationStyle{numeric}
+%\RequireCitationStyle{authoryear}
+
+
+\endinput \ No newline at end of file
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk.clo b/Master/texmf-dist/tex/latex/dtk/dtk.clo
deleted file mode 100644
index 5efab642371..00000000000
--- a/Master/texmf-dist/tex/latex/dtk/dtk.clo
+++ /dev/null
@@ -1,558 +0,0 @@
-%% $Id: dtk.clo 42 2014-07-08 17:34:44Z herbert $
-
-\ProvidesFile{dtk.clo}[2011/04/23 v0.5 dtk class option (RN,hv)]
-
-\newcommand\CoverArt[3]{%
- \ifx\CoverTitleFont\@undefined
- %\newfont\CoverTitleFont{ecrm1700 scaled \magstep 5}
- %\newfont\CoverTitleFont{lmr12 scaled 2938}
- \DeclareFixedFont\CoverTitleFont{\encodingdefault}{\rmdefault}{m}{n}{41.26}%
- \fi
- \ifx\CoverNumberFont\@undefined
- %\newfont\CoverNumberFont{ecrm1700 scaled 2986}
- \DeclareFixedFont\CoverNumberFont{\encodingdefault}{\rmdefault}{m}{n}{51.66}%
- \fi
- \newsavebox\dtk@titlebox
- \sbox\dtk@titlebox{\parbox{\textheight}{%
- \null\hfill\CoverTitleFont\fontsize{41.26}{42}\selectfont\color{black!60}%\journalname
- Die \color{black}\TeX\color{black!60}nische Komödie\hfill\null}}
-% \hspace*{5pt}
- \rotatebox{90}{\usebox\dtk@titlebox}\
- \rule{\CoverArt@barwidth}{\textheight}
- \hfill
-%
- \begin{minipage}[b]{.7\textwidth}\raggedright
- \rule{1em}{0pt}%
- \dimen2=\textwidth\advance\dimen2-1em
- \parbox{\dimen2}{\CoverArt@font
- {\Huge\DANTE}\\
- Deutschsprachige\\
- Anwendervereinigung
- \TeX\ \eV}\\[1ex]
- \dimen3=\textwidth\advance\dimen3-\CoverArt@gap
- \hfill\rule{\dimen3}{\CoverArt@linewidth}\\[-\baselineskip]
- \null\hspace{1em}%
- {\CoverArt@small\cover@sub{#1}{#2}{#3}}\\[-\baselineskip]
- \rule{0pt}{.617647\textheight}%
- \CoverNumberFont
- \null\hfill
- \makebox(0,0)[br]{%
- \textcolor{CoverArt@grey}{%
- \CoverArt@strip@no #1;\hspace{1pt}%
- }}% Warum verwendet `\CoverArt@strip@no' \CoverTitleFont? RN
- \end{minipage}%
-}
-
-%\PassOptionsToPackage{ngerman}{babel}
-%\RequirePackage[ngerman]{babel}
-
-\newif\ifDTKcolor \DTKcolorfalse
-
-\RequirePackage{xcolor}
-\RequirePackage{longtable}
-\RequirePackage{caption}
-\captionsetup{justification=RaggedRight}
-
-\ifDTKcolor
- \definecolor{DTKlstBackground}{rgb}{1,1,0.95}
- \definecolor{DTKlstKeys}{rgb}{0,0,1}
- \definecolor{DTKlstIdentifiers}{rgb}{0,0,0}
- \definecolor{DTKlstComments}{rgb}{1,0,0}
- \definecolor{DTKlstStrings}{rgb}{0,0.5,0}
-\else
- \colorlet{DTKlstBackground}{black!5}
- \colorlet{DTKlstKeys}{black}
- \colorlet{DTKlstIdentifiers}{black}
- \colorlet{DTKlstComments}{black}
- \colorlet{DTKlstStrings}{black}
-\fi
-
-\RequirePackage[final]{listings}
-
-\newcommand*\DTK@lst@colorbox[2]{%
- \fboxsep=.16em\relax
- \settowidth\@ovxx{#2}\settoheight\@ovyy{#2}%
- \makebox[\@ovxx][c]{\colorbox{#1}{\raisebox{0pt}[\@ovyy][0pt]{#2}}}%
-}
-
-\newcommand\Small{\fontsize{9}{9.2}\selectfont}
-
-\ifluatex
-\newcommand*\DTKlstfont{\Small\ttfamily%\addfontfeature{FakeStretch=0.9}
-}%\lsstyle}
-\lstdefinestyle{DTKlstBase}{%
- basicstyle=\DTKlstfont,
- basewidth=0.55em,
- keepspaces,
- identifierstyle=\color{DTKlstIdentifiers},
- keywordstyle=\color{DTKlstKeys},
- stringstyle=\itshape\color{DTKlstStrings},
- commentstyle=\itshape\color{DTKlstComments},
- columns=fullflexible,
- tabsize=2,
- frame=single,
-% extendedchars=true,
- showspaces=false,
- showstringspaces=false,
- breaklines=true,
- breakindent=0.5em,
- backgroundcolor=\color{DTKlstBackground},
- breakautoindent=true,
- captionpos=t,
- aboveskip=\medskipamount,
- belowskip=\medskipamount,
- xrightmargin=\fboxsep,
- emphstyle=\DTK@lst@colorbox{lightgray},
- prebreak=,
- postbreak=\mbox{$\hookrightarrow$},
-% literate={ä}{{\"a}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
-% {Ä}{{\"A}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 {ß}{\ss}1
-}
-\else
-\newcommand*\DTKlstfont{\Small\ttfamily\SetTracking{encoding=*}{-60}\lsstyle}
-\lstdefinestyle{DTKlstBase}{%
- basicstyle=\DTKlstfont,
- basewidth=0.55em,
- keepspaces,
- identifierstyle=\color{DTKlstIdentifiers},
- keywordstyle=\color{DTKlstKeys},
- stringstyle=\itshape\color{DTKlstStrings},
- commentstyle=\itshape\color{DTKlstComments},
- columns=fullflexible,
- tabsize=2,
- frame=single,
- extendedchars=true,
- showspaces=false,
- showstringspaces=false,
- breaklines=true,
- breakindent=0.5em,
- backgroundcolor=\color{DTKlstBackground},
- breakautoindent=true,
- captionpos=t,
- aboveskip=\medskipamount,
- belowskip=\medskipamount,
- xrightmargin=\fboxsep,
- emphstyle=\DTK@lst@colorbox{lightgray},
- prebreak=,
- postbreak=\mbox{$\hookrightarrow$},
- literate={ä}{{\"a}}1 {ö}{{\"o}}1 {ü}{{\"u}}1
- {Ä}{{\"A}}1 {Ö}{{\"O}}1 {Ü}{{\"U}}1 {ß}{\ss}1
-}
-\fi
-
-\lstdefinestyle{DTKlstNumber}{%
- style=DTKlstBase,
- numbers=left,
- numberstyle=\tiny\ttfamily,
- numbersep=1em,
- xleftmargin=1.5em,
-}
-
-\lstdefinestyle{DTKlstNoNumber}{%
- style=DTKlstBase,
- numbers=none,
- xleftmargin=\fboxsep,
-}
-
-\lst@AddToHookExe{DeInit}{%
- \@tempdima=\lst@belowskip \advance\@tempdima-.65\baselineskip
- \edef\lst@belowskip{\the\@tempdima}%
-}
-
-\let\verbatim=\relax
-\lstnewenvironment{verbatim}
-{\lstset{language={},style=DTKlstNoNumber}}
-{}
-
-\AtBeginDocument{\belowcaptionskip=\abovecaptionskip}
-
-\lstset{style=DTKlstNoNumber}
-
-\def\ctanurl#1{\url{CTAN:#1}}%
-\let\CTANurl\ctanurl
-
-\newcommand\fboxlinewidth[1][\textwidth]{\dimexpr#1-2\fboxsep-2\fboxrule\relax}
-\newcommand\tabcolwidth[2][\columnwidth]{\dimexpr#1-#2\tabcolsep\relax}
-
-\newcommand*{\dudenpt}{\@ifnextchar\bgroup\dudenpt@arg\dudenpt@}
-\newcommand*{\dudenpt@arg}[1]{\dudenpt@#1\relax}
-\newcommand*{\dudenpt@}{%
- \begingroup
- \afterassignment\@dudenpt
- \dimen@=}
-\newcommand*{\@dudenpt}{%
- \expandafter\endgroup
- \expandafter\duden@pt\the\dimen@}
-\begingroup
- \catcode`P=12
- \catcode`T=12
- \lowercase{%
- \def\x{%
- \def\duden@pt##1.##2PT{%
- ##1\ifnum##2>\z@.##2\fi
- \ifcase
- \ifnum##2>\z@\@ne
- \else\ifnum##1>9 \@ne
- \else\ifnum##1<\z@ \@ne
- \else \z@
- \fi\fi\fi
- \thinspace
- \else
- \nobreakspace
- \fi
- pt%
- }%
- }%
- }%
-\expandafter\endgroup\x
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\newsavebox\tempbox
-
-\RequirePackage{ifthen}
-
-\newlength\fullwidth
-\newlength\marginwidth
-\setlength\fullwidth{\dimexpr\textwidth +\marginparwidth}% -4mm}% wegen Anschnitt
-%\marginparsep ist schon 7pt
-%\setlength\fullwidth{\dimexpr\textwidth +\marginparsep +\marginparwidth }
-%\setlength\marginwidth{\dimexpr\fullwidth -\textwidth}
-\setlength\marginwidth{\dimexpr\fullwidth +\marginparsep -\textwidth}
-
-
-\newlength\de@Width
-\newlength\de@sepWidth\de@sepWidth=3mm
-\newlength\de@Indent\de@Indent=\fullwidth
-
-\def\Table{\@ifnextchar[\Table@i{\Table@i[]}}
-\def\Table@i[#1]{\@ifnextchar[{\Table@ii[#1]}{\Table@ii[#1][\fullwidth]}}
-\def\Table@ii[#1][#2]#3{% #1:TOC #2:width #3:caption
- \def\de@OptCaption{#1}%
- \setlength\de@Width{#2}\addtolength\de@Width{-\de@sepWidth}%
- \setlength\de@Indent{#2}\addtolength\de@Indent{-\textwidth}%
- \def\de@Caption{#3}%
- \begin{lrbox}{\tempbox}}
-\def\endTable{%
- \end{lrbox}\begin{table}[!htb]%
- \Label{\thetable:WideTable}%
- \abovecaptionskip=0pt\belowcaptionskip=0pt
- \ifthenelse{\isodd{\Pageref{\thetable:WideTable}}}%
- {\minipage{\de@Width}\vspace{0pt}\minipage[t]{\wd\tempbox}\vspace{0pt}
- \usebox\tempbox\endminipage\kern\de@sepWidth%
- \minipage[t]{\dimexpr\de@Width-\wd\tempbox\relax}\vspace{0pt}5
- \ifx\de@OptCaption\@empty\caption{\de@Caption}\else\caption[\de@OptCaption]{\de@Caption}\fi%
- \endminipage\endminipage}%
- {\ifdim\de@Width>\textwidth\hspace*{-\de@Indent}\fi\vspace{0pt}\minipage{\de@Width}\vspace{0pt}%
- \minipage[t]{\dimexpr\de@Width-\wd\tempbox\relax}\vspace{0pt}%
- \ifx\de@OptCaption\@empty\caption{\de@Caption}\else\caption[\de@OptCaption]{\de@Caption}\fi%
- \endminipage\kern\de@sepWidth%
- \minipage[t]{\wd\tempbox}\vspace{0pt}\usebox\tempbox\endminipage\endminipage}%
- \end{table}}
-%
-\def\Figure{\@ifnextchar[\Figure@i{\Figure@i[]}}
-\def\Figure@i[#1]{\@ifnextchar[{\Figure@ii[#1]}{\Figure@ii[#1][\fullwidth]}}
-\def\Figure@ii[#1][#2]#3{%
- \def\OptCaption{#1}%
- \setlength\de@Width{#2}\addtolength\de@Width{-\de@sepWidth}%
- \setlength\de@Indent{#2}\addtolength\de@Indent{-\textwidth}%
- \def\DefaultCaption{#3}%
- \begin{lrbox}{\tempbox}}
-\def\endFigure{%
- \end{lrbox}\begin{figure}[!htb]%
- \Label{\thefigure:WideFigure}%
- \abovecaptionskip=0pt\belowcaptionskip=0pt
- \ifthenelse{\isodd{\Pageref{\thefigure:WideFigure}}}%
- {\minipage{\de@Width}\minipage[b]{\wd\tempbox}
- \usebox\tempbox\endminipage\kern\de@sepWidth%
- \minipage[b]{\dimexpr\de@Width-\wd\tempbox\relax}%
- \ifx\OptCaption\@empty\caption{\DefaultCaption}\else\caption[\OptCaption]{\DefaultCaption}\fi%
- \endminipage\endminipage}%
- {\ifdim\de@Width>\textwidth \hspace*{-\de@Indent}\fi\minipage{\de@Width}%
- \minipage[b]{\dimexpr\de@Width-\wd\tempbox\relax}%
- \ifx\OptCaption\@empty\caption{\DefaultCaption}\else\caption[\OptCaption]{\DefaultCaption}\fi%
- \endminipage\kern\de@sepWidth%
- \minipage[b]{\wd\tempbox}\usebox\tempbox\endminipage\endminipage}%
- \Label{\thefigure:WideFigure}%
- \end{figure}}
-
-%
-\IfFileExists{paralist.sty}{%
-\RequirePackage[neverdecrease]{paralist}
- \let\itemize\compactitem
- \let\enditemize\endcompactitem
- \let\enumerate\compactenum
- \let\endenumerate\endcompactenum
- \let\description\compactdesc
- \let\enddescription\endcompactdesc
- \pltopsep=\medskipamount
-% \plitemsep=\smallskipamount
- \plitemsep=1pt
-% \plparsep=\smallskipamount
- \plparsep=1pt
-}{}
-
-\RequirePackage{hyphsubst}%
-\HyphSubstIfExists{ngerman-x-latest}{%
- \HyphSubstLet{ngerman}{ngerman-x-latest}}{}
-\HyphSubstIfExists{german-x-latest}{%
- \HyphSubstLet{german}{german-x-latest}}{}
-
-\RequirePackage{accsupp}% Heiko
-\providecommand\isbn[1]{}
-\renewcommand*\isbn[1]{%
- ISBN:~%
- \BeginAccSupp{method=plain,ActualText=\RemoveHyphen{#1}}%
- #1%
- \EndAccSupp{}%
-}
-\newcommand*{\RemoveHyphen}[1]{\@RemoveHyphen#1-\@nil}
-\def\@RemoveHyphen#1-#2\@nil{%
- #1%
- \ifx\\#2\\%
- \expandafter\@gobble
- \else
- \expandafter\@firstofone
- \fi
- {%
- \@RemoveHyphen#2\@nil
- }%
-}
-\def\CoverArt@strip@no#1/#2;{#1/\kern-4pt#2}
-%
-% 2011-04-10 -- RN (von KOMA-Script: scrkfont.dtx)
-
-\providecommand*{\changefontsizes}[2][1.2\@tempdima]{%
- \@defaultunits\@tempdima#2pt\relax\@nnil
- \setlength{\@tempdimc}{\@tempdima}%
- \addtolength{\@tempdimc}{-10\p@}%
- \edef\@ptsize{\strip@pt\@tempdimc}%
- \@defaultunits\@tempdimb#1pt\relax\@nnil
- \setlength{\@tempdimc}{\dimexpr (100\@tempdimb / \@tempdima * \p@)}%
- \edef\@tempb{\the\@tempdimc}%
- \setlength{\@tempdimc}{\@tempdima}%
- \def\@tempa##1##2##3##4##5\@nnil{\def##1{##2.##3##4}}%
- \expandafter\@tempa\expandafter\@tempb\@tempb\@nnil%
- \setlength{\abovedisplayskip}{%
- \@tempdima \@plus .25\@tempdima \@minus .58\@tempdima}%
- \setlength{\abovedisplayshortskip}{\z@ \@plus .25\@tempdima}%
- \setlength{\belowdisplayskip}{\abovedisplayskip}%
- \setlength{\belowdisplayshortskip}{%
- .55\@tempdima \@plus .3\@tempdima \@minus .25\@tempdima}%
- \edef\normalsize{%
- \noexpand\@setfontsize\noexpand\normalsize
- {\the\@tempdima}{\the\@tempdimb}%
- \abovedisplayskip \the\abovedisplayskip
- \abovedisplayshortskip \the\abovedisplayshortskip
- \belowdisplayskip \the\belowdisplayskip
- \belowdisplayshortskip \the\belowdisplayshortskip
- \let\noexpand\@listi\noexpand\@listI
- }%
- \setlength{\@tempdima}{0.9125\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \setlength{\abovedisplayskip}{%
- \@tempdima \@plus .25\@tempdima \@minus .58\@tempdima}%
- \setlength{\abovedisplayshortskip}{\z@ \@plus .25\@tempdima}%
- \setlength{\belowdisplayskip}{\abovedisplayskip}%
- \setlength{\belowdisplayshortskip}{%
- .55\@tempdima \@plus .3\@tempdima \@minus .25\@tempdima}%
- \edef\small{%
- \noexpand\@setfontsize\noexpand\small
- {\the\@tempdima}{\the\@tempdimb}%
- \abovedisplayskip \the\abovedisplayskip
- \abovedisplayshortskip \the\abovedisplayshortskip
- \belowdisplayskip \the\belowdisplayskip
- \belowdisplayshortskip \the\belowdisplayshortskip
- \let\noexpand\@listi\noexpand\@listi@small
- }%
- \setlength{\@tempdima}{.83334\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \setlength{\abovedisplayskip}{%
- \@tempdima \@plus .25\@tempdima \@minus .58\@tempdima}%
- \setlength{\abovedisplayshortskip}{\z@ \@plus .25\@tempdima}%
- \setlength{\belowdisplayskip}{\abovedisplayskip}%
- \setlength{\belowdisplayshortskip}{%
- .55\@tempdima \@plus .3\@tempdima \@minus .25\@tempdima}%
- \edef\footnotesize{%
- \noexpand\@setfontsize\noexpand\footnotesize
- {\the\@tempdima}{\the\@tempdimb}%
- \abovedisplayskip \the\abovedisplayskip
- \abovedisplayshortskip \the\abovedisplayshortskip
- \belowdisplayskip \the\belowdisplayskip
- \belowdisplayshortskip \the\belowdisplayshortskip
- \let\noexpand\@listi\noexpand\@listi@footnotesize
- }%
- \setlength{\@tempdima}{.66667\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\scriptsize{%
- \noexpand\@setfontsize\noexpand\scriptsize
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \setlength{\@tempdima}{.5\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\tiny{%
- \noexpand\@setfontsize\noexpand\tiny
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \setlength{\@tempdima}{1.2\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\large{%
- \noexpand\@setfontsize\noexpand\large
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \setlength{\@tempdima}{1.44\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\Large{%
- \noexpand\@setfontsize\noexpand\Large
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \setlength{\@tempdima}{1.728\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\LARGE{%
- \noexpand\@setfontsize\noexpand\LARGE
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \setlength{\@tempdima}{2.074\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\huge{%
- \noexpand\@setfontsize\noexpand\huge
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \setlength{\@tempdima}{2.488\@tempdimc}%
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \edef\Huge{%
- \noexpand\@setfontsize\noexpand\Huge
- {\the\@tempdima}{\the\@tempdimb}%
- }%
- \normalsize
- \setlength{\footnotesep}{.7\@tempdimc}%
- \setlength{\skip\footins}{.9\@tempdimc \@plus .3333\@tempdimc \@minus
- .6\@tempdimc}%
- \setlength{\floatsep}{\@tempdimc \@plus .1667\@tempdimc \@minus
- .3333\@tempdimc}%
- \setlength{\textfloatsep}{1.6667\@tempdimc \@plus .1667\@tempdimc \@minus
- .3333\@tempdimc}%
- \setlength{\intextsep}{\@tempb\@tempdimc \@plus .3333\@tempdimc \@minus
- .3333\@tempdimc}%
- \setlength{\dblfloatsep}{\@tempb\@tempdimc \@plus .1667\@tempdimc \@minus
- .3333\@tempdimc}%
- \setlength{\dbltextfloatsep}{\textfloatsep}%
- \setlength{\@fptop}{0\p@ \@plus 1fil}%
- \setlength{\@fpsep}{.8333\@tempdimc \@plus 2fil}%
- \setlength{\@fpbot}{\@fptop}%
- \setlength{\@dblfptop}{0\p@ \@plus 1fil}%
- \setlength{\@dblfpsep}{.8333\@tempdimc \@plus 2fil}%
- \setlength{\@dblfpbot}{\@fptop}%
- \setlength{\partopsep}{.25\@tempdimc \@plus .16667\@tempdimc \@minus
- .16667\@tempdimc}%
- \setlength{\topsep}{.8333\@tempdimc \@plus .3333\@tempdimc \@minus
- .5\@tempdimc}%
- \setlength{\parsep}{.4167\@tempdimc \@plus .2083\@tempdimc \@minus \p@}%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listi\endcsname
- \endgroup
- \edef\@listi{\leftmargin\leftmargini
- \topsep \the\topsep
- \parsep \the\parsep
- \itemsep \parsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \let\@listI\@listi
- \setlength{\topsep}{.75\@tempdimc \@plus .25\@tempdimc \@minus
- .41667\@tempdimc}%
- \setlength{\parsep}{.375\@tempdimc \@plus .16667\@tempdimc \@minus \p@}%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listi\endcsname
- \endgroup
- \edef\@listi@small{\leftmargin\leftmargini
- \topsep \the\topsep
- \parsep \the\parsep
- \itemsep \parsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \setlength{\topsep}{.5\@tempdimc \@plus .16667\@tempdimc \@minus
- .16667\@tempdimc}%
- \setlength{\parsep}{.25\@tempdimc \@plus .16667\@tempdimc \@minus \p@}%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listi\endcsname
- \endgroup
- \edef\@listi@footnotesize{\leftmargin\leftmargini
- \topsep \the\topsep
- \parsep \the\parsep
- \itemsep \parsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \setlength{\topsep}{.4167\@tempdimc \@plus .2083\@tempdimc \@minus \p@}%
- \setlength{\parsep}{.2083\@tempdimc \@plus \p@ \@minus \p@}%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listii\endcsname
- \endgroup
- \edef\@listii{\leftmargin\leftmarginii
- \labelwidth=\dimexpr \leftmargin-\labelsep
- \topsep \the\topsep
- \parsep \the\parsep
- \itemsep \parsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \setlength{\topsep}{.2083\@tempdimc \@plus \p@ \@minus \p@}%
- \setlength{\parsep}{\p@ \@plus\z@ \@minus\p@}%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listiii\endcsname
- \endgroup
- \edef\@listiii{\leftmargin\leftmarginiii
- \labelwidth=\dimexpr \leftmargin-\labelsep
- \topsep \the\topsep
- \parsep \z@
- \partopsep \the\parsep
- \itemsep \topsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listiv\endcsname
- \endgroup
- \edef\@listiv{\leftmargin\leftmarginiv
- \labelwidth=\dimexpr \leftmargin-\labelsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listv\endcsname
- \endgroup
- \edef\@listv{\leftmargin\leftmarginv
- \labelwidth=\dimexpr \leftmargin-\labelsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \@tempswafalse
- \begingroup
- \def\@list@extra{\aftergroup\@tempswatrue}%
- \csname @listvi\endcsname
- \endgroup
- \edef\@listvi{\leftmargin\leftmarginvi
- \labelwidth=\dimexpr \leftmargin-\labelsep
- \if@tempswa\noexpand\@list@extra\fi
- }%
- \@listi
- \setlength{\@tempdimb}{\@tempb\@tempdima}%
- \setlength{\@tempdima}{\dimexpr \@tempdimb-\@tempdimc}%
- \setlength\intextsep{\@tempdimb \@plus.2\@tempdima \@minus.2\@tempdima}%
- \setlength\dblfloatsep\intextsep
- \setlength\partopsep{.2\@tempdimc \@plus.1\@tempdimc \@minus.1\@tempdimc}%
-}
-
-
-
-\endinput
-
diff --git a/Master/texmf-dist/tex/latex/dtk/dtk.cls b/Master/texmf-dist/tex/latex/dtk/dtk.cls
index 661f99f5975..7a738096274 100644
--- a/Master/texmf-dist/tex/latex/dtk/dtk.cls
+++ b/Master/texmf-dist/tex/latex/dtk/dtk.cls
@@ -1,11 +1,9 @@
-%% $Id: dtk.cls 42 2014-07-08 17:34:44Z herbert $
-%%
%% This is file `dtk.cls',
%%
%% LaTeX Class for ``Die TeXnische Komoedie''.
%%
-%% Copyright (C) 1995-1996 Gerd Neugebauer
-%% Copyright (C) 1997- Herbert Voß
+%% Copyright (C) 2015-
+%% Rolf Niepraschk, Herbert Voss
%%
%% It may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
@@ -14,997 +12,477 @@
%% http://www.latex-project.org/lppl.txt
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
-%
-\def\filename{dtk.cls}
-\def\fileversion{1.32}
-\def\filedate{2015/02/23}
-%
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{dtk}[\filedate~\fileversion~ dtk document class (gn,rn,hv)]
-\let\DTKversion=\fileversion
-\let\DTKdate=\filedate
-\newif\ifDTK@Author@
-\DTK@Author@true
-\newif\ifDTK@Draft@
-\newif\ifDTK@lineno@
-\DTK@lineno@false
-\newif\ifDTK@numeric@
-\DTK@numeric@true
-\newif\ifDTK@german@
-\DTK@german@true
-\ifx\documentclass\@undefined
- \newcommand\RequirePackage[1]{
- \chardef\DTK@cat=\the\catcode`\@
- \catcode`\@=11
- \input{#1.sty}%
- \catcode`\@=\DTK@cat}
- \let\LoadClass=\RequirePackage
- \newcommand\InputIfFileExists[3]{%
- \openin\DTK@file #1
- \ifeof\DTK@file\closein\DTK@file #3%
- \else\closein\DTK@file #2\input{#1}%
- \fi}
- \newcommand\DeclareOption{\@ifstar{\@gobble}{\DTK@DeclareOption}}
- \newcommand\DTK@DeclareOption[2]{\@namedef{ds@#1}{#2}}
- \let\ProcessOptions=\relax
- \let\OptionNotUsed=\gobble
- \def\ProvidesClass#1[#2]{\typeout{Document Style #1 #2}}
-\iffalse
- \providecommand\emph[1]{{\em#1}}
- \providecommand\textbf[1]{{\bf#1}}
- \providecommand\textrm[1]{{\rm#1}}
- \providecommand\textsc[1]{{\sc#1}}
- \providecommand\textsf[1]{{\sf#1}}
- \providecommand\textsl[1]{{\sl#1}}
- \providecommand\textit[1]{{\it#1}}
- \providecommand\texttt[1]{{\tt#1}}
-\fi
- \@ifundefined{fontshape}{\let\fontshape=\@gobble}{}
- \@ifundefined{selectfont}{\let\selectfont=\relax}{}
- \newcommand\providecommand[2]{\ifx#1\@undefined\newcommand#1{#2}\fi}
-\fi
-\newread\DTK@file
-\ProvidesClass{dtk}[\filedate\space\fileversion\space gene]
-\newcommand\DTK@isnum[1]{%
- \if!\ifnum9<1#1!\else_\fi
- \expandafter\@firstoftwo
- \else
- \expandafter\@secondoftwo
- \fi
-}
-\newcommand*\DTK@@thelinenumber{\thepage-\arabic{linenumber}}
-%%%%
-\DeclareOption{10pt}{\OptionNotUsed}
-\DeclareOption{11pt}{\OptionNotUsed}
-\DeclareOption{12pt}{\OptionNotUsed}
-\DeclareOption{twoside}{\OptionNotUsed}
-\DeclareOption{oneside}{\OptionNotUsed}
-\DeclareOption{full}{\DTK@Author@false}
-\DeclareOption{omitgerman}{\DTK@german@false}
-\DeclareOption{alpha}{\DTK@numeric@false}
-\DeclareOption{ancient}{\def\DTK@layout{95}}
-\DeclareOption{draft}{%
- \DTK@Draft@true
- \DTK@lineno@true
- \PassOptionsToPackage{pagewise}{lineno}%
- \PassOptionsToClass{\CurrentOption}{book}%
-}
-\DeclareOption{linenumbers}{\DTK@lineno@true}
-\DeclareOption{nolinenumbers}{\DTK@lineno@false}
-\DeclareOption{pagewise}{%
- \PassOptionsToPackage{\CurrentOption}{lineno}}
-\DeclareOption{running}{%
- \PassOptionsToPackage{\CurrentOption}{lineno}}
-\DeclareOption{ln-long}{\def\DTK@@thelinenumber{%
- %\def\Hugo{%
- \ifoddNumberedPage% eigtl. Even!!!
- \ifodd\c@page
- \@tempswatrue %C
- \else
- \@tempswafalse %D
- \fi
+\listfiles
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\RequirePackage{hyphsubst}% Trennregeln austauschen
+\HyphSubstIfExists{ngerman-x-latest}{%
+ \HyphSubstLet{ngerman}{ngerman-x-latest}}{}
+\HyphSubstIfExists{german-x-latest}{%
+ \HyphSubstLet{german}{german-x-latest}}{}
+
+\def\DTKversion{2.0b}
+\def\DTKversiondate{2016/02/15}
+\ProvidesClass{dtk}[\DTKversiondate\ v\DTKversion\ dtk documentclass (RN)]
+
+\RequirePackage{ifxetex,ifluatex,ifpdf,ifvtex}
+\newcommand*\DTK@engine{}
+
+\ifluatex
+ \def\DTK@engine{4}% LuaTeX
+\else
+ \ifxetex
+ \def\DTK@engine{3}% XeTeX
\else
- \ifodd\c@page
- \@tempswafalse %A
+ \ifpdf
+ \def\DTK@engine{2}% pdfTeX
\else
- \@tempswatrue %B
+ \ifvtex
+ \def\DTK@engine{1}% VTeX
+ \else
+ \def\DTK@engine{0}% TeX+dvips
+ \fi
\fi
\fi
- %}\Hugo
- %\@tempcnta=\c@page
- %\if@tempswa \advance\@tempcnta\@ne \fi
- \if@tempswa \advance\c@page\@ne \fi
- %\edef\thepage{\the\@tempcnta}%
- \thepage-\arabic{linenumber}}}
-\DeclareOption{ln-short}{\def\DTK@@thelinenumber{%
- \arabic{linenumber}}}
-\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}%
-%
-\ProcessOptions
-\LoadClass{book}
-
-\let\Ref=\ref
-\let\Label=\label
-\let\Pageref=\pageref
-
-\RequirePackage{fixltx2e}
-\RequirePackage{xcolor}%
-\ifDTK@lineno@
- \RequirePackage{lineno}\linenumbers
- \linenumbersep=.8ex
- \def\linenumberfont{\normalfont\scriptsize\sffamily\bfseries}%
- \definecolor{DTK@lineno@color}{cmyk}{0.26,0,0.76,0}% SpringGreen
- \def\thelinenumber{%
- \begingroup
- \fboxsep=.3ex\fcolorbox{black}{DTK@lineno@color}{%
- \DTK@@thelinenumber}%
- \endgroup}%
\fi
-%%%%%%%%%%
-\RequirePackage{etex}
-\RequirePackage{ifxetex}
-\RequirePackage{ifluatex}
-\ifluatex
- \RequirePackage{amssymb}
- \RequirePackage{textcomp}
- \RequirePackage{eurosym}
- \let\EURO\euro
-% \usepackage{expl3}%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% \ExplSyntaxOn
-% \let\lua_now_x:n\directlua
-% \ExplSyntaxOff
- \RequirePackage{amsmath}
- \RequirePackage{fontspec}
- \RequirePackage{unicode-math}
- \RequirePackage[lining=true]{libertine}
- \setmathfont[Scale=0.9,math-style=TeX,bold-style=TeX]{XITS Math}
-% \setmathfont[range=8728]{Neo Euler}%%% "2218
- \let\degrees\vysmwhtcircle
-% \setmonofont[Scale=0.81]{Luxi Mono}
- \setmonofont[Scale=0.81,FakeStretch=0.9]{Bitstream Vera Sans Mono}
-% \setmonofont[Scale=0.81]{SourceCodePro-Regular}
-% \setmonofont[Scale=0.81]{Lucida Sans Typewriter}
- \usepackage{luacode}
-% \usepackage{polyglossia}
- \usepackage{babel}
-% \usepackage[autostyle,german=guillemets]{csquotes}
- \usepackage[ngerman]{selnolig}
- \nolig{Herbstt[aruöe]}{Herbst|t}
- \nolig{Mitt[iruä]}{Mit|t}
-% \MakeAutoQuote{»}{«}
-% \setmainlanguage[spelling=new,latesthyphen=true,babelshorthands=true]{german}
-\else
- \RequirePackage[T1]{fontenc}
- \RequirePackage{mathpazo}
- \RequirePackage[scale=0.95]{tgpagella}
- \RequirePackage[scale=0.92]{tgheros}
- \RequirePackage[scaled=0.83]{beramono}
-
- \RequirePackage[utf8]{inputenc}
- \RequirePackage[full]{textcomp}
- \RequirePackage{cmap}
- \RequirePackage{babel}
- \usepackage[autostyle,german=guillemets]{csquotes}
-% \MakeAutoQuote{»}{«}
-\fi
-\RequirePackage[%factor=1500,
- verbose=true,final=true]{microtype}
-%
-\RequirePackage{afterpage}
-\usepackage[hyphens]{url}
-\DeclareRobustCommand*{\URL}{\url}
-\def\UrlFont{\ttfamily\Small}
-\usepackage[newcommands,newparameters]{ragged2e}
-\usepackage{filecontents}
-
-\RequirePackage{tabularx}
-\RequirePackage{graphicx}
-\RequirePackage{xspace,shortvrb}
-\RequirePackage[bottom,marginal]{footmisc}
-\RequirePackage{array}
-\RequirePackage{enumerate}
-\RequirePackage{booktabs}
-\RequirePackage{subfig}
-\RequirePackage{setspace}
-
-\RequirePackage{multicol}
-\RequirePackage{dtklogos}
-\paperwidth = 148mm
-\paperheight = 210mm
-\textheight = 485pt %%%%471pt
-\textwidth = 333pt
-\oddsidemargin = 0pt
-\evensidemargin = \oddsidemargin
-\oddsidemargin -35.89157pt
-\evensidemargin -17.70235pt
-\topmargin -55.66684pt
-\headheight = 17pt
-\headsep = 17pt
-\footskip = 24pt
-\parskip = 0.3\baselineskip
-\advance\parskip by 0pt plus 2pt
-\parindent = 0pt
+
+\RequirePackage{xkeyval}
+
+\newif\ifDTK@Author@ \DTK@Author@true
+\newif\ifDTK@bib@ \DTK@bib@false
+\newif\ifDTKcolor \DTKcolorfalse % "@" ?
+\newif\ifDTK@korr@ \DTK@korr@false
+
+\newcommand*\journalname{Die \protect\TeX{}nische Kom\"odie}
+
+\newcommand*\DTKyear{} \edef\DTKyear{\the\year}
+\newcommand*\DTKmonth{0}
+\newcommand*\DTKissue{0}
+\newcommand*\DTKvolume{??}
+\newcommand*\DTKdate{?/??}
+\newcommand*\DTKcorrVersion{\mbox{}}
+\newcommand*\DTKfullIssue{\mbox{}}
+\newcommand*\DTKissn{1434-5897}
+
+\DeclareOptionX{Ausgabe}{\def\DTKissue{#1}}
+\DeclareOptionX{Jahr}{\def\DTKyear{#1}}
+\DeclareOptionX{Monat}{\def\DTKmonth{#1}}
+\DeclareOptionX{korr}[true]{\csname DTK@korr@#1\endcsname}
+\DeclareOptionX{full}[true]{\csname @tempswa#1\endcsname
+ \if@tempswa\DTK@Author@false\else\DTK@Author@true\fi}
+\DeclareOptionX{color}[true]{\csname DTKcolor#1\endcsname}
+\DeclareOptionX{draft}{\PassOptionsToClass{\CurrentOption}{scrbook}}
+
+\DeclareOptionX*{\OptionNotUsed}
+\ProcessOptionsX\relax
+
+\PassOptionsToPackage{paper=a5,pagesize}{typearea}
+
+\newdimen\DTK@tempdima
+\newdimen\DTK@tempdimb
+\newdimen\DTK@tempdimc
+
+\newcommand*\DTK@tempa{}
+\newcommand*\DTK@tempb{}
+\newcommand*\DTK@tempc{}
+
+\PassOptionsToPackage{hyphens}{url}
+\RequirePackage{dtk-url}
+
+\LoadClass[%
+,twoside
+,fontsize=10pt
+,captions=oneline
+,parskip=full-
+,headings=small
+,open=any
+,pagesize
+]{scrbook}
+
+\RequirePackage{scrhack}% Andere Pakete KOMA-Script-freundlich machen
+
+% http://www.komascript.de/release3.18
+\ifstr{\KOMAScriptVersion}{2015/07/02 v3.18 KOMA-Script}{%
+ \ifx\par@update\default@par@update\else
+ \AtBeginDocument{\par@updaterelative}%
+ \fi
+}{}
+
+\AtEndOfClass{%
+ \InputIfFileExists{dtk.cfg}{}{}%
+}
+
+% *** Konstanten ***
+
+\ifDTK@Author@\else\setcounter{errorcontextlines}{100}\fi
+
+\textheight = 485pt %
+\textwidth = 333pt %
+\oddsidemargin = -35.89157pt %
+\evensidemargin = -17.70235pt %
+\marginparwidth = 1cm %
+\marginparsep = 7pt %
+\topmargin = -55.66684pt %
+\headheight = 17pt %
+\headsep = 17pt %
+\footskip = 24pt %
+\parskip = 0.3\baselineskip
+\advance\parskip by 0pt plus 2pt %
+\parindent = 0pt %
+\columnsep = 5pt %
+
+\emergencystretch = 1.5em %
+\clubpenalty = 10000 %
+\widowpenalty = 10000 %
+\raggedbottom
+
+\setcounter{secnumdepth}{\numexpr\partnumdepth-1\relax}
+\setcounter{tocdepth}{\chapternumdepth}
+
+\@fptop=\z@
\renewcommand\topfraction{.9}
\renewcommand\bottomfraction{.9}
\renewcommand\textfraction{.1}
-\columnsep = 5pt
-\emergencystretch = 1.5em
-\raggedbottom
-\clubpenalty = 10000
-\widowpenalty = 10000
-\marginparwidth=1cm
-\@ifdefinable\DTK@orig@marginpar{\let\DTK@orig@marginpar\marginpar}
-\renewcommand*\marginpar{%
- \ClassWarning{dtk}{Command `\string\marginpar' not expected}%
- \DTK@orig@marginpar}
-\newcommand\DTKgerman{
- \let\DTK@captionsgerman=\captionsgerman
- \let\captionsgerman=\DTK@captionsgerman
- \@ifundefined{l@ngerman}{}{\selectlanguage{ngerman}}%
+
+\RequirePackage[english,main=ngerman]{babel}
+
+\defineshorthand{"|}{%
+ \ClassError{dtk2}{%
+ Shorthand `\string"|' wird nicht unterstützt! Entferne `\string"|'%
+ }{}%
}
-\newcommand\DTK@captionsgerman{%
- \DTK@captionsgerman%
- \gdef\refname{Literatur}%
- \gdef\bibname{Literatur}%
- \gdef\contentsname{Inhalt Heft \Volume}%
+
+\newcommand*\DTK@FontNameMissing{%
+ \ClassError{dtk2}{%
+ Eines der Makros `\string\DTKrmFontName', `\string\DTKsfFontName',
+ \MessageBreak
+ `\string\DTKttFontName`' oder `\string\DTKmathFontName'
+ \MessageBreak
+ ist nicht korrekt definiert%
+ }{}%
}
-\ifDTK@german@
- \DTKgerman
+\newcommand*\DTKrmFontName{} \let\DTKrmFontName=\DTK@FontNameMissing
+\newcommand*\DTKsfFontName{} \let\DTKsfFontName=\DTK@FontNameMissing
+\newcommand*\DTKttFontName{} \let\DTKttFontName=\DTK@FontNameMissing
+\newcommand*\DTKmathFontName{} \let\DTKmathFontName=\DTK@FontNameMissing
+
+\ifnum\DTK@engine < 3 %
+ \input{dtk-old-engines.clo}% pdfTeX oder TeX+dvips oder VTeX
+\else
+ \input{dtk-new-engines.clo}% LuaTeX oder XeTeX
\fi
-\newcommand\addressname{Autoren/Organisatoren}
-\newcommand\journalname{Die \TeX{}nische Kom\"odie}
-\newcommand\Volume{?/??}
-\newcommand\volume{\Volume\ --- Entwurf \today\
- \begingroup
- \count1=\time\divide\count1 60
- \count2=\count1 \multiply\count2 -60 \advance\count2\time
- \ifnum\count1<10 0\fi\the\count1:\ifnum\count2<10 0\fi\the\count2
- \endgroup
-}
-\newcommand*\DTK@corr@version{}
-\ifDTK@Author@\else
- \newcommand*\DTK@today{}%
- \begingroup
- \count@\time
- \divide\count@ 60\relax
- \count2=-\count@
- \multiply\count2 60\relax
- \advance\count2 \time
- %% \loggingall %% Wuduh!
- \xdef\DTK@today{%
- \the\year-\two@digits{\the\month}-\two@digits{\the\day}% %!!! \the
- %\protect~% Warum geht das nicht?
- \noexpand\noexpand~%
- %% Wuduh! 2 \noexpand noetig? Weil \number\the 2mal zuschlaegt?
- %% Ohne \the langt 1 \noexpand!
- \two@digits{\the\count@}:\two@digits{\the\count2}}%
- %%\show\DTK@today
- \endgroup
- \ifDTK@Draft@
- \def\DTK@corr@version{\fbox{Korrekturversion:~\DTK@today}}%
- \AtEndOfClass{%
- \let\ps@empty=\ps@plain
- \let\ps@part=\ps@plain}%
- \else
- \let\@LN\@gobbletwo% Wegen .aux-Datei von vorherigem lineno-Lauf
- \let\@LN@col\@gobble
- \fi
+
+\RequirePackage[autostyle=true,babel=once,german=guillemets,maxlevel=3]{csquotes}%
+\MakeAutoQuote{»}{«}
+\defineshorthand{"`}{\openautoquote}%
+\defineshorthand{"'}{\closeautoquote}%
+
+\ifxetex\else
+\RequirePackage[%
+,protrusion=true
+,expansion=true
+,verbose=true
+,final=true
+,letterspace=100
+,babel=true
+]{microtype}
+% TODO: Spezielle Angaben zu den Schriften?
\fi
-\newcommand\footmark{{\sffamily\journalname} \volume}
-\newcommand\ChapterFont{\Large\sf}
-\newcommand\SectionFont{\large\sf}
-\newcommand\SubsectionFont{\normalsize\sf}
-\newcommand\SubsubsectionFont{\normalsize\sf}
-\newcommand\AuthorFont{\large\sf}
-\newcommand\TitleFont{\Large\sf\RaggedRight}
-\newcommand\HeadFont{\sf\fontshape{sl}\selectfont}
-\newcommand\FootFont{\footnotesize\sf\fontshape{sl}\selectfont}
-\newcommand\PagenoFont{\sf}
-\newcommand\NewpageThreshold{100pt}
-\newcommand\HeadRuleDepth{0pt}
-\newcommand\FootRuleDepth{0pt}
-\newcommand\ContentsParSkip{1pt}
-\newcommand\DTK@math{%
- \abovedisplayskip = 4pt plus 2pt minus 1pt
- \belowdisplayskip = \abovedisplayskip
- \abovedisplayshortskip = 2pt plus 2pt
- \belowdisplayshortskip = \abovedisplayshortskip
-}
-\let\DTK@@normalsize=\@normalsize
-\def\@normalsize{%
- \DTK@@normalsize
- \DTK@math
- \let\@listi=\@listI}
-\let\DTK@normalsize=\normalsize
-\renewcommand\normalsize{%
- \DTK@normalsize
- \DTK@math
- \let\@listi=\@listI}
-\normalsize
-\let\DTK@small=\small
-\renewcommand\small{%
- \DTK@small
- \DTK@math
- \let\@listi=\@listI}
-\let\DTK@footnotesize=\footnotesize
-\renewcommand\footnotesize{%
- \DTK@footnotesize
- \DTK@math
- \let\@listi=\@listI}
-\begingroup
-\gdef\Path@SepI{/""}
-\gdef\Path@SepII{\symbol{92}""}
-\gdef\Path@SepIII{:""}
-\catcode`\/=13
-\catcode`\:=13
-\catcode`\^=0
-^catcode`\\=13
-^gdef^Path{^begingroup
- ^catcode`^/=13
- ^catcode`^\=13
- ^catcode`^:=13
- ^catcode`^~=12
- ^catcode`^$=12 %$
- ^catcode`^_=12
- ^catcode`^#=12
- ^let/=^Path@SepI
- ^let\=^Path@SepII
- ^let:=^Path@SepIII
- ^@Path}
-^gdef^@Path#1{^texttt{#1}^endgroup}
-^endgroup
-%
-%\DeclareUrlCommand\File{\urlstyle{tt}}
-\providecommand\File[1]{\mbox{\texttt{#1}}}
-\providecommand\Package[1]{\mbox{\texttt{#1}}}
-\providecommand\Program[1]{\mbox{\texttt{#1}}}
-\providecommand\Command[1]{\mbox{\texttt{#1}}}
-\providecommand\Macro[1]{\mbox{\texttt{\textbackslash#1}}}
-\providecommand\Environment[1]{\mbox{\texttt{#1}}}
-\let\Env\Environment
-\let\ENV\Environment
-\let\Email\Url
-\let\Class\Environment
-\providecommand\Acronym[1]{\textsc{#1}}
-\def\@listI{%
- \leftmargin = \leftmargini
- \parsep = \parskip
- \topsep = 0pt plus 2pt
- \itemsep = 0pt plus 2pt}
-\let\@listi=\@listI
-\def\@listii{%
- \leftmargin = \leftmarginii
- \labelwidth = \leftmarginii
- \advance \labelwidth by-\labelsep
- \parsep = \parskip
- \topsep = 0pt plus 2pt
- \itemsep = 0pt plus 2pt}
-\def\@listiii{%
- \leftmargin = \leftmarginiii
- \labelwidth = \leftmarginiii
- \advance \labelwidth by-\labelsep
- \partopsep = 1pt plus 0pt minus 1pt
- \parsep = \parskip
- \topsep = 0pt plus 2pt
- \itemsep = 0pt plus 2pt}
-\@listi
-%\renewcommand\labelitemi{$\m@th\mdwhtcircle$}
-%\renewcommand\labelitemii{$\m@th\whitepointerright%\triangleright$}
-%\renewcommand\labelitemiii{$\m@th\diamond$}
-\setlength\leftmargini{1.5em}
-\setlength\leftmarginii{1.4em}
-\setlength\leftmarginiii{1.3em}
-\setlength\leftmarginiv{1.2em}
-\renewenvironment{description}{%
- \begin{list}{}{%
- \labelwidth = 0pt
- \itemindent = -\leftmargin
- \parsep = \parskip
- \topsep = 0pt plus 2pt
- \itemsep = 0pt plus 2pt
- \let\makelabel=\descriptionlabel}%
- }{\end{list}}
-\renewcommand\descriptionlabel[1]{%
- \hspace\labelsep{\normalsize\it #1}}
-\renewenvironment{quotation}{%
- \list{}{\rightmargin\leftmargin}%
- \item\relax
-}{\endlist}
-\newenvironment{roll}%
- {\@ifnextchar[{\r@ll}{\r@ll[0pt]}}%
- {\end{list}}
-\def\r@ll[#1]{\begin{list}{}{%
- \labelwidth = #1
- \leftmargin = \labelwidth
- \itemsep = .3ex
- \let\makelabel=\rolllabel}%
- }
-\newcommand\rolllabel[1]{\hspace\labelsep \textbf{#1}\hfill}
-\newenvironment{example}{\begin{quote}\small}{\end{quote}}
-%\long\def\@caption#1[#2]#3{\par\addcontentsline{\csname
-% ext@#1\endcsname}{#1}{\protect\numberline{\csname
-% the#1\endcsname}{\ignorespaces #2}}\begingroup
-% \@parboxrestore
-% \small
-% \@makecaption{\csname fnum@#1\endcsname}{\ignorespaces #3}\par
-% \endgroup}
-\setcounter{secnumdepth}{0}
-\newif\ifFirstArticle
-\FirstArticletrue
-\renewcommand\part{%
- \clearpage
- \thispagestyle{part}%
- \FirstArticletrue
- \Advance@Label@Prefix
- \@ifstar{\part@star{chapter}}{\part@star{part}}}
-\newcommand\part@star[1]{%
- \@ifnextchar[{\part@optional{#1}}{\part@normal{#1}}}
-\def\part@optional#1[#2]#3{%
-% \markboth{#2}{#2}%
- \addcontentsline{toc}{#1}{#2}%
- \@ifnextchar[{\part@subtitle{#3}}{\part@nosubtitle{#3}}}
-\newcommand\part@normal[2]{%
-% \markboth{#2}{#2}%
- \addcontentsline{toc}{#1}{#2}%
- \@ifnextchar[{\part@subtitle{#2}}{\part@nosubtitle{#2}}}
-\def\part@subtitle#1[#2]{\TopArt{#1}{\\#2}\bigskip\par}
-\newcommand\part@nosubtitle[1]{\TopArt{#1}{}\bigskip\par}
-\newcommand\TopArtRule{2pt}
-\newcommand\TopArt[2]{%
- \begin{minipage}{\textwidth}\parskip=0pt\parindent=0pt
- \null\vspace{18pt}\par\raggedright\large\sf
- {\huge\sf #1}\\[-.5ex]\rule{\textwidth}{\TopArtRule}%
- \vspace{2pt} #2
- \end{minipage}}
- \renewcommand\chapter{%
- \@ifnextchar*{\chapter@star}{%
- \@ifnextchar[{\chapter@optional}{\chapter@normal}}}
-\def\chapter@star*{\chapter}
-\def\chapter@normal#1{\chapter@optional[#1]{#1}}
-\def\chapter@optional[#1]{%
- \typeout{#1}%
- \Advance@Label@Prefix
- \addcontentsline{toc}{chapter}{#1}%
- \markboth{#1}{#1}%
- \FirstArticletrue
- \@startsection{chapter}{0}{\z@}{-1ex plus-1ex minus -.2ex}{.5ex plus.2ex}{\ChapterFont}*}
-\renewcommand\section{\@startsection{section}{1}{\z@}{-2ex plus-1ex minus-.2ex}{0.2ex plus .1ex}{\SectionFont}}
-\renewcommand\subsection{\@startsection{subsection}{2}{\z@}{-2ex plus-1ex minus-.2ex}{2pt plus .1ex}{\SubsectionFont}}
-\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{-2ex plus-1ex minus-.2ex}{0.2ex plus.1ex}{\SubsubsectionFont}}
-\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}{0ex plus1ex minus.2ex}{-.5ex}{\SubsubsectionFont}}
-\renewcommand\subparagraph{\@startsection{subparagraph}{4}{\parindent}{0ex plus1ex minus.2ex}{-.5ex}{\SubsubsectionFont}}
-%
-\newcommand\keywords[1]{\def\DTK@keywords{#1}}
-\def\DTK@keywords{}
+
+\RequirePackage[%
+,style=dtk
+,language=auto
+,sorting=nyt
+,sortlocale=auto
+,backend=biber
+]{biblatex}
+
+\g@addto@macro\bibsetup{\RaggedRight}
+
+%\RequirePackage{etex} % ???
+\RequirePackage{ragged2e,dtk-logos}
\renewcommand\title[2][]{%
\gdef\@title{#2}%
\ifx\relax#1\relax\gdef\@@title{#2}\else\gdef\@@title{#1}\fi%
}
-\renewcommand\maketitle[1][]{%
- \ifDTK@Author@ \thispagestyle{part}\fi
- \ifdim\DTKtitle@skip>0pt\vspace{\DTKtitle@skip}\fi
+\newcommand\DTK@maketitle[1][]{%
\begingroup
- \dimen0=\vsize
+ \dimen0=\textheight
\advance\dimen0 by -\pagetotal
- \ifdim\dimen0<\NewpageThreshold
+ \ifdim\dimen0<.2\textheight
\newpage
- \global\FirstArticletrue
\fi
\endgroup
- \Advance@Label@Prefix
- \markboth{}{}%
+ \def\and{\end{tabular}, \begin{tabular}[t]{@{}c@{}}}%
+ \chapter[\@@title]{\@title}%
+ %%%\ifx\@author\@empty\else\addsec*{\@author}\fi
\begingroup
- \begin{minipage}{\textwidth}
- \ifFirstArticle
- \global\FirstArticlefalse
- \vskip 3pt
- \else
- \DTKtitle@sep
- \fi
-% \setcounter{footnote}0 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% hv 20130205
- \setcounter{lstlisting}0 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% hv 20130205
- \@flushglue=0pt plus .3\textwidth\relax
- \raggedright
- \TitleFont
- \spaceskip=\fontdimen2\font\relax
- \xspaceskip=\fontdimen7\font\relax
- \@title
- \ifx\@author\@empty\else
- \bigskip\par
- \AuthorFont\@author
- \fi
- \end{minipage}%
- \@thanks
- \let\thanks\@gobble
- \addcontentsline{toc}{chapter}{\@@title}%
- \markboth{\@@title}{\@@title}
+ \usekomafont{author}\lineskip 0.75em %
+ \begin{tabular}[t]{@{}c@{}}\@author\end{tabular}\par
\endgroup
- \let\@title=\@empty
- \let\@author=\@empty
- \let\@thanks=\@empty
- \setcounter{figure}0
- \setcounter{table}0
- \setcounter{equation}0
- \medskip\par}
-
-\newcommand\DTKtitle@skip{12pt}
-\newcommand\DTKtitle@sep{\vspace{32pt plus 8pt minus 16pt}}
-%
-\renewcommand\and{, }
-\let\@title=\@empty
-\let\@author=\@empty
-\let\@thanks=\@empty
-\newenvironment{abstract}
- {\begin{quote}\small}
- {\end{quote}\medskip\par}
-\renewcommand\thefigure{\arabic{figure}}
-\renewcommand\thetable{\arabic{table}}
-\renewcommand\theequation{\arabic{equation}}
-\newcount\DTL@label
-\DTL@label=0
-\newcommand\Advance@Label@Prefix{%
- \advance\DTL@label 1
- \xdef\Label@Prefix{module \the\DTL@label:}}
-\Advance@Label@Prefix
-\renewcommand\ref[1]{\Ref{\Label@Prefix:#1}}
-\renewcommand\label[1]{\Label{\Label@Prefix:#1}}
-\renewcommand\pageref[1]{\Pageref{\Label@Prefix:#1}}
-\renewcommand\thebibliography[1]{%
- \section*{\refname}%
- \list{[\arabic{enumi}]}{%
- \settowidth\labelwidth{[#1]}%
- \leftmargin\labelwidth
- \advance\leftmargin\labelsep
- \usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus .07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax\DTK@bibliography@rightskip}
-\newcommand\DTK@bibliography@rightskip{\rightskip=0pt plus 2em}
-\newcommand\DTK@bibliography[1]{
- \InputIfFileExists{#1.bbl}{}{\typeout{--- File #1.bbl not found.}}}
-\ifDTK@numeric@ \bibliographystyle{dtk} \else \bibliographystyle{alpha} \fi %%%%%% hv 20111024
-\newcommand\DTK@fnrightmargin{0em}
-\newcommand\DTK@fnleftmargin{1em}
-\long\def\@makefntext#1{%
- \@nobreaktrue
- \begin{list}{}{%
- \rightmargin=0pt%
- \parsep=0.333\baselineskip plus 2pt
- \leftmargin=\DTK@fnleftmargin}
- \item\mbox{}%
- \llap{\@textsuperscript{\normalfont\@thefnmark}\kern1pt}%
- #1%
- \end{list}}
-\@ifundefined{@textsuperscript}{%
- \def\@textsuperscript#1{%
- {\m@th\ensuremath{^{\mbox{\fontsize\sf@size\z@#1}}}}}
-}{}
-\renewcommand\footnoterule{%
- \kern-3\p@
- \hrule\@width0.333\columnwidth
- \kern2.6\p@}
-\renewcommand\ps@plain{%
- \let\@mkboth=\@gobbletwo
- \let\chaptermark=\@gobble
- \let\sectionmark=\@gobble
- \let\subsectionmark=\@gobble
- \def\@oddhead{\vbox{\hbox to \textwidth{%
- \let\\=\relax
- \HeadFont \rightmark \hfil\PagenoFont\vphantom{g}\thepage}\kern 3pt
- \ifdim\HeadRuleDepth>0pt \hrule depth\HeadRuleDepth\fi}}%
- \def\@evenhead{\vbox{\hbox to \textwidth{%
- \let\\=\relax
- \PagenoFont \vphantom{g}\thepage\hfil\HeadFont \leftmark}\kern 3pt
- \ifdim\HeadRuleDepth>0pt \hrule depth\HeadRuleDepth\fi}}%
-\iffalse% RN 2005-01-17
- \def\@oddfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{\FootFont \footmark\hfil\null}}}%
- \def\@evenfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{\null\hfil\FootFont \footmark}}}%
-\else
- \def\@oddfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{%
- \FootFont \footmark\hfil\DTK@corr@version\null}}}%
- \def\@evenfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{%
- \null\FootFont\DTK@corr@version\hfil \footmark}}}%
-\fi
+ \@thanks
+ \global\let\@thanks=\@empty
+ \global\let\@title=\@empty
+ \global\let\@author=\@empty
+ \global\let\@thanks=\@empty
+ \global\let\and\relax
}
-\let\ps@headings\ps@plain
-\newcommand\ps@part{%
- \let\@mkboth=\@gobbletwo
- \let\chaptermark=\@gobble
- \let\sectionmark=\@gobble
- \let\subsectionmark=\@gobble
- \let\@oddhead=\@empty
- \let\@evenhead=\@empty
-\iffalse% RN 2005-01-17
- \def\@oddfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{\FootFont \footmark\hfil\null}}}%
- \def\@evenfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{\null\hfil\FootFont \footmark}}}%
+
+\renewcaptionname{ngerman}{\bibname}{Literatur und Software}
+\defbibheading{dtk}{\section{\bibname}}
+
+\RequirePackage[automark,draft=false]{scrlayer-scrpage}
+\pagestyle{scrheadings}
+\clearpairofpagestyles
+\ihead{\headmark}
+\ohead{\pagemark}
+\ofoot*{\normalsize\DTKcorrVersion}
+\ifoot*{\journalname~~\DTKdate}
+\automark[chapter]{chapter}
+
+\RequirePackage{xcolor}
+
+\ifDTKcolor
+ \colorlet{DTK@marker}{red!30}
+ \definecolor{DTK@fancy}{rgb}{.72,.525,.044}
\else
- \def\@oddfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{%
- \FootFont \footmark\hfil\DTK@corr@version\null}}}%
- \def\@evenfoot{\vbox{%
- \ifdim\FootRuleDepth>0pt \hrule depth\FootRuleDepth \fi
- \kern 5pt \hbox to \textwidth{%
- \null\FootFont \DTK@corr@version\hfil\footmark}}}%
+ \colorlet{DTK@marker}{black!20}
+ \colorlet{DTK@fancy}{black!60}
\fi
+
+\colorlet{DTKlstBackground}{black!5}
+\colorlet{DTKlstKeys}{black}
+%\colorlet{DTKlstIdentifiers}{black}
+\colorlet{DTKlstComments}{black}
+\colorlet{DTKlstStrings}{black}
+\colorlet{DTKlstNumbers}{black}
+\newcommand*\DTKlstKeywordfont{\bfseries}
+
+\RequirePackage[final]{listings}
+\RequirePackage{lstautogobble}
+
+\@ifundefined{ifDTKrecord}{\newif\ifDTKrecord \DTKrecordfalse}{}
+
+\newcommand*\address[3]{%
+ \ClassError{dtk2}{%
+ Das Makro \string\address\space existiert nicht mehr!\MessageBreak
+ Nimm stattdessen \string\Author%
+ \string{Vorn.\string}\string{Nachn.\string}\string{Adr.\string}}{}%
+}%
+\def\author#1{%
+ \ClassError{dtk2}{%
+ Das Makro \string\author\space existiert nicht mehr!\MessageBreak
+ Nimm stattdessen \string\Author%
+ \string{Vorn.\string}\string{Nachn.\string}\string{Adr.\string}}{}%
+}%
+
+% Sternform: Autor-Eintrag im Verzeichnis, aber nicht im Artikel
+\newcommand*\Author{% #1=Vorname, #2=Nachname, #3=Adresse
+ \@ifstar\DTK@Author\DTK@@Author
}
-\pagestyle{plain}
- \newcommand\DieTeXnischeKomoedie[3]{%
- \thispagestyle{empty}%
- \gdef\Volume{#1}%
- \xdef\volume{\Volume}%???
- \gdef\DTKedition{#2}%
- \gdef\DTKdate{#3}%
- \immediate\openout\@unused \jobname.inf\relax
- \immediate\write\@unused{%
- \string\gdef\string\Volume{#1}^^J%
- \string\gdef\string\DTKedition{#2}^^J%
- \string\gdef\string\DTKdate{#3}%
- }%
- \immediate\closeout\@unused
- \iffalse% RN 2005-02-20; unnoetig, da localer \jobname usw.
- \global\let\bibliography=\DTK@bibliography
- \global\let\bibliographystyle=\@gobble
- \fi
- \CoverArt{#1}{#2}{#3}%
- \newpage}
-\newcommand\cover@sub[3]{#2. Jahrgang\quad Heft #1\quad #3}
-
-\definecolor{CoverArt@grey}{gray}{.8}
-\def\CoverArt@strip@no#1/#2;{#1\raisebox{0.35ex}{\CoverTitleFont/}#2}
-\newcommand\CoverArt@linewidth{0pt}%{1.2pt}
-\newcommand\CoverArt@barwidth{2.41pt}
-\newcommand\CoverArt@font{\Large\raggedleft}
-\newcommand\CoverArt@small{\footnotesize}
-\newcommand\CoverArt@gap{2em}
-\chardef\DTK@cat=\the\catcode`\"
-\catcode`\"=13
-\newcommand\address[3]{%
- \begingroup
- \def\"##1{\@ifundefined{detex@@##1}{##1}%
- {\csname detex@@##1\endcsname}}%
- \ifcat a\noexpand"\else\let"=\"\fi
- \def\ss{ss}%
- \let\'=\relax
- \let\`=\relax
- \let\^=\relax
- \let\.=\relax
- \let\==\relax
- \let\d=\relax
- \let\b=\relax
- \let\c=\relax
- \let\v=\relax
- \let\H=\relax
- \let\t=\relax
- \let\u=\relax
- \let\~=\relax
- \def\o{o}%
- \def\O{O}%
- \def\aa{aa}%
- \def\AA{Aa}%
- \def\l{l}%
- \def\L{L}%
- \def\ae{ae}%
- \def\AE{Ae}%
- \def\oe{oe}%
- \def\OE{Oe}%
- \def\TeX{TeX}%
- \def\LaTeX{LaTeX}%
- \def\LaTeXe{LaTeX2e}%
- \let\null=\relax
- \xdef\@ddress{#2, #1}%
- \endgroup
- \begingroup
- \def\\{\string\\}%
- \ifcat a\noexpand"\else\def\"{\string"}\fi
- \def"{\string"}%
- \def\null{}%
- \expandafter\@strip\@ddress$%$
- \iffalse% RN 2005-01-15
- \index{\STRIP@*#1 #2!#3}%
- \else
- \glossary{\STRIP@*#1 #2!#3}%
- \fi
- \endgroup
-}
-\catcode`\"=\DTK@cat
-\let\strip@grp={
-\let\strip@end=$%$
-\def\@strip{\def\STRIP@{}\strip@I}
-\def\strip@I{\let\strip@next=\strip@I
- \futurelet\strip@CHAR\strip@II}
-\def\strip@II#1{%
- \ifx\strip@CHAR\strip@end
- \let\strip@next=\relax
- \else\ifx\strip@CHAR\strip@grp
- \strip@I #1$%$
- \let\strip@next=\strip@I
- \else\ifcat\strip@CHAR A
- \xdef\STRIP@{\STRIP@#1}%
- \else\ifcat\strip@CHAR.
- \xdef\STRIP@{\STRIP@#1}%
- \else\ifcat\strip@CHAR\space
- \xdef\STRIP@{\STRIP@ #1}%
- \fi\fi\fi\fi\fi
- \strip@next}
-\def\detex@@a{ae}
-\def\detex@@o{oe}
-\def\detex@@u{ue}
-\def\detex@@A{Ae}
-\def\detex@@O{Oe}
-\def\detex@@U{Ue}
-\def\detex@@s{ss}
-\newenvironment{theaddresses}{%
- \chapter{\addressname}\Label{addresses}
+
+\newcommand\DTK@Author[3]{}%
+
+\newcommand\DTK@Author@article[3]{%
\begingroup
- \columnsep=10pt
- \addresssize
- \def\addressitem##1##2##3{%
- \par
- \parbox{\columnwidth}{
- \textbf{##1}\hfill[\ignorespaces ##3]%
- \\ ##2}}
- \begin{multicols}{2}%
- \raggedbottom
- \raggedright
-}{%
- \end{multicols}%
+ \ifx\@author\@empty\let\x=\@empty\else\def\x{\and}\fi
+ \expandafter\g@addto@macro\expandafter\@author\expandafter{\x #1 #2}%
\endgroup
- }
-\newcommand\addresssize{\footnotesize\parskip=6pt plus 2pt minus 3pt}
+}%
+
+\let\@author=\@empty
+
\ifDTK@Author@
- \newcommand\listofaddresses{%
- \typeout{*** listofaddresses not supported in articles.}}
- \let\makeaddresses\relax% RN 2005-01-15
+ \input{dtk-author.clo}
\else
- \iffalse% RN 2005-01-15
- \newcommand\listofaddresses{%
- \InputIfFileExists{\jobname.ind}{}{%
- \typeout{No file \jobname.ind.}%
- \typeout{Use the following command to create it:\space\space
- makeindex -s dtk.ist \jobname}%
- \typeout{\space}}%
- }
- \else
- \newcommand\listofaddresses{%
- \InputIfFileExists{\jobname.gls}{}{%
- \typeout{No file \jobname.gls.}%
- \typeout{Use the following command to create it:^^J%
- \@spaces makeindex -s dtk.ist -o \jobname.gls \jobname.glo}%
- \typeout{\space}}%
- }
- \let\makeaddresses\makeglossary
- \fi
+ \input{dtk-full.clo}
\fi
- \renewcommand\tableofcontents{%
- \clearpage
- \thispagestyle{empty}%
- \markboth{\contentsname}{\contentsname}%
- \ContentsArt
- \begingroup
- \parskip=\ContentsParSkip
- \let\\=\relax
- \TOC@configure
- \raggedright%%%%%%%%%%%%%%%%%% hv 2009-07-25
- \@starttoc{toc}
- \endgroup
- }
-\let\TOC@configure\relax
-\newcommand\ContentsArt{%
- \vspace*{-\headheight}\vspace*{-\headsep}\vspace*{-2pt}
- \begin{minipage}{\textwidth}
- \Huge\color{black!60}Die \color{black}\TeX\color{black!60}nische Komödie% \journalname
- \\[2pt]%
- \rule{\textwidth}{2pt}\\[2pt]%
- \null\hfill
- \CoverArt@small
- \cover@sub{\volume}{\DTKedition}{\DTKdate}
- \end{minipage}\vspace{16pt minus 8pt}\par
+
+\AfterEndPreamble{% "etoolbox"
+ \def\bibliography#1{%
+ \ClassError{dtk2}{%
+ Das Makro `\string\bibliography' wird nicht unterstützt!\MessageBreak
+ Verwende stattdessen `\string\addbibresource\string{#1.bib\string}'\MessageBreak
+ und `\string\printbibliography' (siehe biblatex-Dokumentation)
+ }{}%
+ }%
}
-\setcounter{tocdepth}{0}
-\renewcommand\l@part[2]{%
- \addpenalty{-\@highpenalty}%
- \addvspace{0.5em plus 0pt}% space above part line
- \@tempdima 1.5em
- \begingroup
- \bf
- \advance\leftskip\@tempdima
- \hskip -\leftskip
- #1\par
- \penalty\@highpenalty
- \endgroup
- \addvspace{0.2em}%
+
+%%%\ifDTKrecord \expandafter \endinput \fi % lohnt es?
+
+\addtokomafont{caption}{\RaggedRight\small}
+\setkomafont{captionlabel}{\sffamily}
+\setcapindent{0pt}
+\setcapwidth[c]{\textwidth}
+\renewcaptionname{ngerman}{\figurename}{Abb.}
+\renewcaptionname{ngerman}{\tablename}{Tab.}
+\def\thefigure{\@arabic\c@figure}
+\def\thetable{\@arabic\c@table}
+\def\theequation{\@arabic\c@equation}
+\def\thelstlisting{\@arabic\c@lstlisting}
+
+\RedeclareSectionCommand[%
+ ,beforeskip=-2.4ex \@plus -1ex \@minus -.2ex % Betrag ist von Bedeutung!
+ ,afterskip=0.8ex \@plus .1ex \@minus .1ex %
+]{section}
+
+\RedeclareSectionCommand[%
+ ,afterskip=0.8ex \@plus .1ex %
+]{subsection}
+
+\RedeclareSectionCommand[%
+ ,style=section
+ ,indent=\z@
+ ,beforeskip=-2\baselineskip \@plus -.2\baselineskip \@minus -.2\baselineskip
+ ,afterskip=1\baselineskip \@plus .1\baselineskip \@minus .1\baselineskip
+]{chapter}
+
+\setkomafont{disposition}{\normalfont\sffamily}
+\setkomafont{part}{\usekomafont{disposition}\huge}
+\setkomafont{chapter}{\usekomafont{disposition}\Large}
+\setkomafont{section}{\usekomafont{disposition}\large}
+\setkomafont{pagenumber}{\normalfont\sffamily}
+\setkomafont{pagehead}{\sffamily\slshape}% \itshape?
+\setkomafont{pagefoot}{\footnotesize\sffamily\slshape}% \itshape?
+\setkomafont{author}{\usekomafont{section}}
+
+%\addtokomafont{footnote}{\RaggedRight}
+\deffootnote[1.2em]{1.2em}{1.2em}{\textsuperscript{\thefootnotemark}\,}
+\newcommand*\DTK@footnote{}
+\let\DTK@footnote=\footnote
+\newcommand*\DTK@@footnote[2][]{%
+ \edef\DTK@tempa{\ifx\relax#1\relax\else[#1]\fi}%
+ \expandafter\DTK@footnote\DTK@tempa{\RaggedRight #2}%
}
-\renewcommand\l@chapter[2]{%
- \begingroup
- \vskip \z@ \@plus.2\p@
- \@afterindenttrue
- \interlinepenalty\@M
- \@tempdima 1.5em\relax % number width
- \@tempdimb 2.5em\relax % indent
- \advance\leftskip \@tempdimb
- \advance\rightskip \@tempdimb
- \noindent\hskip -\leftskip
- \hbox to\@tempdimb{#2\hss}%
- #1\par
- \endgroup}
-
-\input{dtk.clo}% hv 20141110
-
-\begingroup
- \chardef\x=0 %
- % check pdfTeX
- \@ifundefined{pdfoutput}{}{%
- \ifcase\pdfoutput
- \else
- \chardef\x=1 %
- \fi
- }%
- % check VTeX
- \@ifundefined{OpMode}{}{%
- \chardef\x=2 %
- }%
-\expandafter\endgroup
-\ifcase\x
- % default case
- \AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}%
-\or
- % pdfTeX is running in pdf mode
- \pdfpagewidth\paperwidth\pdfpageheight\paperheight
-\else
- % VTeX is running
- \mediawidth\paperwidth\mediaheight\paperheight
+\def\footnote{%
+ \@ifstar\DTK@@footnote\DTK@footnote
+}
+
+\RequirePackage{enumitem}
+\setlist{leftmargin=*,nosep}
+\setlist[1]{labelindent=1em}
+\iffalse
+\setlist[itemize,1]{label=\raisebox{-.1ex}{\Large\textbullet}}
+\setlist[itemize,2]{label=\raisebox{-.1ex}{\Large$\m@th\circ$}}
+\setlist[itemize,3]{label=\raisebox{-.7ex}{\large\textasteriskcentered}}
+\setlist[itemize,4]{label=\raisebox{.4ex}{\tiny$\m@th\triangleright$}}
\fi
-\RequirePackage{makeidx}
-\renewenvironment{theindex}
- {\begin{multicols}{2}[\section{\indexname}\vspace{-.5\baselineskip}]%
- \parskip\z@ \@plus .3\p@\relax
- \columnseprule \z@
- \columnsep=10pt
- \raggedbottom\raggedright
- \let\item\@idxitem}
- {\end{multicols}}
-\renewcommand\@idxitem{\par\hangindent 40\p@}
-\renewcommand\subitem{\@idxitem \hspace*{20\p@}}
-\renewcommand\subsubitem{\@idxitem \hspace*{30\p@}}
-\renewcommand\indexspace{\par \vskip 6\p@ \@plus2\p@ \@minus1\p@\relax}
-
-\newcommand*\DTK@embedded@documentclasshook{}
-\newcommand*\AtEmbeddedDocumentclass{%
- \g@addto@macro\DTK@embedded@documentclasshook}
-\AtEmbeddedDocumentclass{%
-%%% \filename@parse{\protect#1}\edef\DTK@local@jobname{\filename@base}%???
- \edef\jobname{\DTK@local@jobname}%
+% Listings
+\newcommand*\DTKlstfont{\small\ttfamily}
+
+% siehe ggf.: https://github.com/jez/latex-solarized
+
+\lstdefinestyle{DTKlstSimple0}{%
+,basicstyle=\DTKlstfont
+,numbers=none
+,backgroundcolor={}
+,tabsize=2
+,frame=none
}
-\newcommand*\DTK@embedded@begindocumenthook{}
-\newcommand*\AtEmbeddedBeginDocument{%
- \g@addto@macro\DTK@embedded@begindocumenthook}
-\AtEmbeddedBeginDocument{}
-\newcommand*\DTK@embedded@enddocumenthook{}
-\newcommand*\AtEmbeddedEndDocument{%
- \g@addto@macro\DTK@embedded@enddocumenthook}
-\AtEmbeddedEndDocument{\endinput}
-\newcommand*\DTK@jobname{}
-\ifDTK@Author@\edef\DTK@jobname{komoedie}\else\edef\DTK@jobname{\jobname}\fi
-\newcommand*\DTK@local@jobname{}
-\newcommand*\DTK@local@inputname{}
-%%%\newcommand*\DTK@PSforPDF{}
-\newcommand*\DTK@eat@version[1][]{\ignorespaces}
-\newcommand*\DTK@usepackage{}
-\newcommand*\DTKinput[1]{%
- \begingroup
- \filename@parse{#1}%
- \edef\DTK@local@jobname{\filename@base}%
- \@ifundefined{filename@ext}%
- {\IfFileExists{\DTK@local@jobname.ltx}%
- {\edef\DTK@local@inputname{\DTK@local@jobname.ltx}}%
- {\edef\DTK@local@inputname{\DTK@local@jobname.tex}}%
- }%
- {\edef\DTK@local@inputname{#1}}%
- \renewcommand*\documentclass[2][]{%
- %%\edef\jobname{\DTK@local@jobname}%
- %%%\let\DTK@PSforPDF\PSforPDF
- %\renewcommand\PSforPDF[2][]{}%
- %%%\let\PSforPDF\@gobble
- \DTK@embedded@documentclasshook
- \DTK@eat@version}%
- \renewcommand*\usepackage[2][]{%
- \@ifnextchar[%]
- {\DTK@usepackage{##1}{##2}}%
- {\DTK@usepackage{##1}{##2}[]}%
- }%
- \def\DTK@usepackage##1##2[##3]{%
- \edef\@tempb{\zap@space##2 \@empty}%
- \@for\@tempa:=\@tempb\do{\def\@tempb{inputenc}%
- \ifx\@tempa\@tempb
- \edef\@tempa{##1}%
- \ifx\@tempa\@empty\else\inputencoding{##1}\fi
- \else
-% \ifx\@tempa\@empty\else\usepackage{\@tempa}%
-% \RecordPackage{##1}\@tempa{##3}\DTK@local@inputname
-% \fi
- \fi}}%
- \let\pagestyle\@gobble
- \let\thispagestyle\@gobble
- \let\nocite\@gobble
- \let\listfiles\relax
- \let\nofiles\relax
- \renewcommand*\AtBeginDocument[1]{%
- \typeout{\string\AtBeginDocument\space ignored!}}
- \renewcommand*\AtEndDocument[1]{%
- \typeout{\string\AtEndDocument\space ignored!}}
- \renewenvironment*{document}%
- %%%{\let\PSforPDF\DTK@PSforPDF}%
- %%%{\endinput}%
- {\DTK@embedded@begindocumenthook}%
- {\DTK@embedded@enddocumenthook}%
- \input{\DTK@local@inputname}%
- \endgroup
+
+\lstdefinestyle{DTKlstVerbatim}{
+,style=DTKlstSimple0
+,aboveskip=\smallskipamount
+,belowskip=0pt plus .25pt minus .25pt %
}
-%%%\RequirePackage[final]{ps4pdf}
-\@ifdefinable\User@Packages{\newwrite\User@Packages}
-\AtBeginDocument{%
- %%%\edef\DTK@jobname{\jobname}%
- %%%\edef\PfP@container{\DTK@jobname-pics.pdf}%
- \ifDTK@Author@\else
- \listfiles
- \InputIfFileExists{userpackages.tex}%
- {\typeout{*************************************^^J%
- * File `userpackages.tex' used.^^J%
- *************************************}%
- \newcommand*\RecordPackage[4]{}%
- % warum gibt es kein \@gobblethree? ist jetzt egal!
- }%
- {%
- \immediate\openout\User@Packages userpackages.tex\relax
-% \begingroup \catcode`\~=\active \let~=\space
-% \immediate\write\User@Packages{%
-% \@percentchar\space userpackages.tex^^J%
-% \@percentchar\space generated by `\jobname'^^J%
-% \@percentchar\space \DTK@today}%
-% \endgroup
- \AtEndDocument{%
- \immediate\closeout\User@Packages\relax}%
- \newcommand*\RecordPackage[4]{%
- \immediate\write\User@Packages{%
- \string\usepackage[##1]{##2}[##3] %
- \@percentchar\space From file: ##4}}%
- }%
- \fi
- % RN 2005-03-21
- \@ifpackageloaded{lineno}{%
- \ifDTK@Draft@\else
- \nolinenumbers
- \fi
- }{}
+
+\lstdefinestyle{DTKlstSimple1}{%
+,style=DTKlstSimple0
+,identifierstyle=\DTKlstfont
+,stringstyle=\DTKlstfont
+,commentstyle=\DTKlstfont
+,basewidth=0.55em
+,keepspaces
+,autogobble=false
+,backgroundcolor=\color{DTKlstBackground}
+,numbers=none
+,frame=single
+,framesep=\fboxsep
+,aboveskip=\medskipamount
+,belowskip=1pt plus .5pt minus .5pt %
+,xleftmargin=\fboxsep
+,xrightmargin=\fboxsep
}
-\def\indexname{Stichwortverzeichnis}% Besser woanders?
-\def\printindex{%
- \InputIfFileExists{\DTK@jobname.ind}{}{%
- \typeout{No file \DTK@jobname.ind.}%
- \typeout{Use the following command to create it:^^J%
- \@spaces makeindex -s dtk-idx.ist -o \DTK@jobname.ind \DTK@jobname.idx}%
- \typeout{\space}}%
+
+\newcommand*\DTK@lst@colorbox[2]{%
+ \fboxsep=.3em %
+ \settowidth\DTK@tempdima{#2}\settoheight\DTK@tempdimb{#2}%
+ \makebox[\DTK@tempdima][c]{\colorbox{#1}{%
+ \raisebox{0pt}[\DTK@tempdimb][\z@]{#2}}}%
+}
+
+\lstdefinestyle{DTKlstBase}{%
+,style=DTKlstSimple1
+%,identifierstyle=\color{DTKlstIdentifiers}
+,keywordstyle=\DTKlstKeywordfont
+,stringstyle=\itshape\color{DTKlstStrings}
+,commentstyle=\itshape\color{DTKlstComments}
+,columns=fullflexible
+%,extendedchars=true
+,showspaces=false
+,showstringspaces=false
+,breaklines=true
+,breakindent=0.5em
+,breakautoindent=true
+,breakatwhitespace=false % ???
+,captionpos=t
+,emphstyle=\DTK@lst@colorbox{DTKlstBackground!70!-DTKlstBackground}%
+%,prebreak=
+,postbreak=\mbox{$\hookrightarrow$}
+,autogobble=true
+}
+
+\lstdefinestyle{number}{% TODO: Evtl. doch besser Zeilennummern ganz ausrücken?
+,style=DTKlstBase
+,numbers=left
+,numberstyle=\tiny\ttfamily
+,numbersep=1.3em
+,xleftmargin=1.5em
+}
+
+\lstdefinestyle{noNumber}{%
+,style=DTKlstBase
+,numbers=none
+,xleftmargin=\fboxsep % ???
}
-\@fptop\z@
+\lstset{style=noNumber}
+
+% noHilit, latex ???
+
+\let\verbatim=\relax
+\lstnewenvironment{verbatim}
+{\lstset{style=DTKlstVerbatim,language={}}}{}
+
+\newlength\fullwidth
+\setlength\fullwidth{\dimexpr\textwidth+\marginparwidth+\marginparsep\relax}
+\newenvironment{Figure}[2][\fullwidth]
+ {\figure[htb!]\setlength\columnsep{1.5em}%
+ \captionbeside{#2}[o][#1][0pt]*}%
+ {\endcaptionbeside\endfigure}
+\newenvironment{Table}[2][\fullwidth]
+ {\table[htb!]\setlength\columnsep{1.5em}%
+ \begincaptionbeside{#2}[o][#1][0pt]*}%
+ {\endcaptionbeside\endtable}
+
+\newenvironment{abstract}
+ {\quote\small}{\endquote\medskip\par}
+
+\providecommand*\Macro[1]{\texttt{\textbackslash#1}}
+\providecommand*\Code[1]{\texttt{#1}}
+\let\Command\texttt
+\let\Environment\texttt
+\def\biblatex{\texttt{biblatex}\xspace}
+\def\tex4ht{\hologo{TeX4ht}}
+\let\Paket\texttt
+\let\Package\texttt
+\let\Programm\texttt
+\let\Program\texttt
+\let\Env\texttt
+\let\Class\texttt
\endinput
-%%
-%% End of file `dtk.cls'.
+
diff --git a/Master/texmf-dist/tex/latex/dtk/dtklogos.sty b/Master/texmf-dist/tex/latex/dtk/dtklogos.sty
deleted file mode 100644
index d6b06ce9d4a..00000000000
--- a/Master/texmf-dist/tex/latex/dtk/dtklogos.sty
+++ /dev/null
@@ -1,68 +0,0 @@
-%%
-%% This is file `dtklogos.sty',
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% $Id: dtklogos.sty 138 2014-12-11 17:48:48Z herbert $
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% Purpose:
-%% LaTeX Class and Styles for ``Die TeXnische Komoedie''.
-%%
-%% Copyright (C) 1995-1996 Gerd Neugebauer
-%% Copyright (C) 1997-2011 DANTE, Deutschsprachige
-%% Anwendervereinigung TeX e.V.
-%% (C) 2014- Herbert Voss
-%%
-%% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.3c
-%% 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.3c or later is part of all distributions of LaTeX
-%% version 2005/12/01 or later.
-%%
-%% This package is still under development and may be replaced with
-%% a new version which provides enhanced functionality.
-%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{dtklogos}[2014/11/15 v2.2 LaTeX wrapper for `hologo' (RN,HV)]
-
-\DeclareOption*{\PassOptionsToPackage\CurrentOption{color}}
-\ProcessOptions\relax
-
-\RequirePackage{ifpdf}
-
-\providecommand*{\exTeX}{%
- \textrm{% das Logo grunds^^e4tzlich serifenbehaftet
- \ensuremath{\textstyle\varepsilon_{\kern-0.15em\mathcal{X}}}%
- \kern-.15em\TeX
- }%
-}
-
-\providecommand\eV{e.V\kern-0.18em\@ifnextchar.{}{.}\kern0.18em}
-\providecommand\dante{\mbox{DANTE~\eV}}
-\providecommand\Dante{DANTE,
- Deutschsprachige Anwendervereinigung \TeX~\eV}
-\providecommand\DTK{Die \TeX\-ni\-sche Ko\-m{\"o}\-die}
-\providecommand\LaTeXe{%
- \LaTeX{}\kern.05em2$_{\textstyle\varepsilon}$}
-\providecommand\PS{Post\-Script}
-\providecommand\TUG{\TeX{} Users Group}
-\providecommand\TUGboat{\textsl{TUGboat}}
-\let\DANTE\dantelogo
-\ifpdf
- \providecommand\ThanhVN{H\`an Th\^e\protect\llap{\raise 0.5ex\hbox{\'{}}}}
- \providecommand\Thanh{H\`an Th\^e\protect\llap{\raise 0.5ex\hbox{\'{\relax}}} Th\`anh}
-\else
- \def\ThanhVN{H\`an Th\textcircumacute{e}\protect\llap{\raise 0.5ex\hbox{\'{}}}}
- \def\Thanh{H\`an~Th\textcircumacute{e}\llap{\raise 0.5ex\hbox{\'{}}}~Th\`anh}
-\fi
-\def\ThanhNN{Th\`anh}
-\def\pgf/tikz{\textsf{pgf/Ti\textit{k}Z}}
-\def\TeXLive{\TeX{}Live}
-
-\RequirePackage{hologo}
-
-\endinput
-%% End of file `dtklogos.sty'.