summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/protocol
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-10-13 22:44:23 +0000
committerKarl Berry <karl@freefriends.org>2011-10-13 22:44:23 +0000
commitf9705bad4bedff51e91cd0ca327741aca5d14718 (patch)
tree3310396377ea1f5c0a6d12c71a6fda006c8aa0df /Master/texmf-dist/tex/latex/protocol
parent7b72397a1dd4db0348a7e006bc24cc8268687984 (diff)
protocol (13oct11)
git-svn-id: svn://tug.org/texlive/trunk@24281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/protocol')
-rw-r--r--Master/texmf-dist/tex/latex/protocol/protocol.cls20
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/protocol/protocol.cls b/Master/texmf-dist/tex/latex/protocol/protocol.cls
index 9f8c8d03858..6072a28fe6b 100644
--- a/Master/texmf-dist/tex/latex/protocol/protocol.cls
+++ b/Master/texmf-dist/tex/latex/protocol/protocol.cls
@@ -9,7 +9,7 @@
%% This is a generated file.
%% Copyright (C) 1997 Projektgruppe ACIT, Lehrstuhl VII,
%% Fachbereich Informatik, Universit"at Dortmund
-%% 1997-1999,2006,2009-2010 Thomas Leineweber (protocol@tleine.de)
+%% 1997-1999,2006,2009-2011 Thomas Leineweber (protocol@tleine.de)
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -43,7 +43,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{protocol}
- [2010/04/21 v1.11
+ [2011/10/12 v1.11
LaTeX-Class fuer Sitzungs-Protokolle TL]
\DeclareOption{a5paper}
{\ClassError{protocol}{Option `a5paper' not supported}{}}
@@ -56,7 +56,7 @@
\DeclareOption{nonext}
{\AtBeginDocument{\let\@makefoot\relax}}
\DeclareOption{signatures}
- {\AtBeginDocument{\AtEndDocument{\protocol@signatures}}}
+ {\AtBeginDocument{\let\@protocol@signatures\protocol@signatures}}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
@@ -76,7 +76,7 @@
\def\@writer{\ClassWarning{protocol}{No \noexpand\writer given}}
\global\let\protocol@place\@empty
\global\let\@nextdate\@empty
-\gdef\@nextplace{\ClassWarning{protocol}{No \noexpand\nextplace given}}
+\global\let\@nextplace\@empty
\gdef\@nexttime{\ClassWarning{protocol}{No \noexpand\nexttime given}}
\gdef\@begintime{\ClassWarning{protocol}{No \noexpand\beginn given}}
\gdef\@endtime{\ClassWarning{protocol}{No \noexpand\endtime given}}
@@ -155,17 +155,23 @@ Protokoll der Sitzung vom \@date \par}%
Es wurde keine n\"achste Sitzung vereinbart.
\else
\section*{N\"achste Sitzung} Die n\"achste Sitzung
- findet am \@nextdate\ um \@nexttime\ Uhr statt. Ort:~\@nextplace.
+ findet am \@nextdate\ um \@nexttime\ Uhr statt.
+ \ifx\@nextplace\@empty
+ \ClassWarning{protocol}{No \noexpand\nextplace given}
+ \else
+ Ort:~\@nextplace.
+ \fi
\fi
}
\newcommand{\protocol@signatures}{\vspace{20mm}\par\noindent\hrulefill\hrulefill\hfill\hrulefill\hrulefill\\
\@chair\hfill\@writer\\
(Sitzungsleitung)\hfill{}(Protokoll)\\[-1cm]\mbox{}}
-
+\newcommand{\@makeend}{\@makefoot\@protocol@signatures}
+\let\@protocol@signatures\relax
\newenvironment{Persons}{\section*{Anwesenheit:}}{}
\newenvironment{Absent}{\section*{Abwesenheit:}}{}
\AtBeginDocument{\makehead}
-\AtEndDocument{\@makefoot}
+\AtEndDocument{\@makeend}
\endinput
%%
%% End of file `protocol.cls'.