summaryrefslogtreecommitdiff
path: root/usergrps/dante/dtk/dtk-author.clo
blob: a02ef8f8dab7a6be0f14d78827fd22901777f026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%% 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}%
  [2021/011/11 v0.2a 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]
  }%
}%

\newenvironment{dtkGLOBAL}% Autor-Modus; Inhalt sofort ausführen
{\endgroup}% Gruppe neutralisieren
{\begingroup\def\@currenvir{dtkGLOBAL}}

\endinput