summaryrefslogtreecommitdiff
path: root/Master
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
parent7b72397a1dd4db0348a7e006bc24cc8268687984 (diff)
protocol (13oct11)
git-svn-id: svn://tug.org/texlive/trunk@24281 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/protocol/README21
-rw-r--r--Master/texmf-dist/doc/latex/protocol/protocol.pdfbin319131 -> 317552 bytes
-rw-r--r--Master/texmf-dist/source/latex/protocol/protocol.dtx41
-rw-r--r--Master/texmf-dist/source/latex/protocol/protocol.ins4
-rw-r--r--Master/texmf-dist/tex/latex/protocol/protocol.cls20
5 files changed, 57 insertions, 29 deletions
diff --git a/Master/texmf-dist/doc/latex/protocol/README b/Master/texmf-dist/doc/latex/protocol/README
index 6fd597a367b..259850a0ad0 100644
--- a/Master/texmf-dist/doc/latex/protocol/README
+++ b/Master/texmf-dist/doc/latex/protocol/README
@@ -13,7 +13,7 @@ The files in this directory (protocol distribution) are
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
@@ -58,7 +58,7 @@ Before you report an error, please check that:
Please note that it is important to make the file as small as possible
to allow me to find and fix the error soon.
-If you have an unchanged version of my package method, you can send me
+If you have an unchanged version of my package protocol, you can send me
error reports to
protocol@tleine.de
@@ -71,7 +71,8 @@ protocol.ins This is the installation script that will produce
the executable file method.sty when run through LaTeX
or TeX
protocol.dtx `protocol' style for LaTeX in docstrip format.
-readme This file
+README This file
+protocol.pdf Documentation generated from protocol.dtx
protest.tex A test file showing the usage of the package.
@@ -79,9 +80,11 @@ protest.tex A test file showing the usage of the package.
Acknowledgements
================
-This readme is mostly copied from the readme from the dinbrief package by
-K.D. Braune and R. Gussmann
-Boris Majowski made a better implementation for the next meeting
-Ludger Humbert and Christoffer Timm showed me an error in the next meeting
-logic.
-Johannes Pieper had many nice enhancement requests.
+- This readme is mostly copied from the readme from the dinbrief package by
+ K.D. Braune and R. Gussmann.
+- Boris Majowski made a better implementation for the next meeting.
+- Ludger Humbert and Christoffer Timm showed me an error in the next meeting
+ logic.
+- Johannes Pieper had many nice enhancement requests.
+- Andre Dierker provided a better logic in the case the place of the next
+ meeting is not provided.
diff --git a/Master/texmf-dist/doc/latex/protocol/protocol.pdf b/Master/texmf-dist/doc/latex/protocol/protocol.pdf
index d857423aac8..54420049ef5 100644
--- a/Master/texmf-dist/doc/latex/protocol/protocol.pdf
+++ b/Master/texmf-dist/doc/latex/protocol/protocol.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/protocol/protocol.dtx b/Master/texmf-dist/source/latex/protocol/protocol.dtx
index 7c86ce2896f..ba85939928a 100644
--- a/Master/texmf-dist/source/latex/protocol/protocol.dtx
+++ b/Master/texmf-dist/source/latex/protocol/protocol.dtx
@@ -2,7 +2,7 @@
%
% 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
@@ -25,7 +25,7 @@
% der LaTeX-Klasse `protocol'.
% \fi
%
-% \CheckSum{349}
+% \CheckSum{364}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -59,7 +59,7 @@
% Nenne den Klassennamen und die Version.
% \begin{macrocode}
%<+protocol>\ProvidesClass{protocol}
-%<+protocol> [2010/04/21 v1.11
+%<+protocol> [2011/10/12 v1.11
%<+protocol> LaTeX-Class fuer Sitzungs-Protokolle TL]
% \end{macrocode}
%
@@ -101,9 +101,11 @@
% \changes{v1.6a}{1999/02/19}{Versuch, die Befehlsnamen anzugleichen}
% \changes{v1.7}{1999/07/30}{Endg"ultige Befehlsnamen festgelegt}
% \changes{v1.11}{2010/04/21}{Neues Macro \cs{place}, um den Ort der Sitzung anzugeben}
+% \changes{v1.12}{2011/10/09}{Wenn \cs{nextplace} nicht angegeben wurde, dann wird der Text am Ende des Dokumentes zum Ort der n"achsten Sitzung nicht mehr ausgegeben.}
+% \changes{v1.12}{2011/10/09}{Verbesserung der Ausgabe der Unterschriftenzeile.}
% \iffalse
% Copyright (C) 1997 Projektgruppe ACIT, Universit"at Dortmund
-% 1997-1999,2006,2009-2010 Thomas Leineweber (protocol@tleine.de)
+% 1997-1999,2006,2009-2011 Thomas Leineweber (protocol@tleine.de)
% all rights reserved.
% \fi
%
@@ -139,10 +141,11 @@
% \end{macrocode}
% Die Option [signatures] sorgt daf"ur, dass am Ende des Protokolls Platz
% für die Unterschriften von Sitzungsleiter und Protokollführer eingebaut wird.
+% Dabei wird das Makro |\@protocol@signatures| entsprechend gesetzt.
% \changes{v1.11}{2010/04/21}{Zus"atzliche Option signatures f"ur Unterschriftenzeile}
% \begin{macrocode}
\DeclareOption{signatures}
- {\AtBeginDocument{\AtEndDocument{\protocol@signatures}}}
+ {\AtBeginDocument{\let\@protocol@signatures\protocol@signatures}}
% \end{macrocode}
% Alle anderen Optionen werden an die Klasse scrartcl weitergegeben.
@@ -275,7 +278,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}}
@@ -294,7 +297,7 @@
% \subsection{Deklarationen zur Ausgabe der Daten}
% \begin{macro}{\makehead}
% \begin{macro}{\@makehead}
-% Das Kommande |\makehead| sorgt daf"ur, da"s alle wichtigen
+% Das Kommando |\makehead| sorgt daf"ur, da"s alle wichtigen
% Informationen zum Anfang des Dokumentes ausgegeben werden. Es wird mit
% |\AtBeginDocument| aufgerufen. Hier habe ich schamlos die Definition von
% |\maketitle| aus den Standard-Klassen kopiert und f"ur meine Zwecke
@@ -386,6 +389,7 @@
% \changes{v1.7a}{2002/04/23}{Wenn keine n\"achste Sitzung vereinbart wurde, schreibe dieses auch (Idee und Implementierung: Boris Majowski)}
% \changes{v1.8}{2004/02/05}{Punkt am Satzende eingef\"ugt.}
% \changes{v1.9}{2006/11/02}{Korrektur von |\@makefoot| nach Hinweisen von L. Humbert und C. Timm}
+% \changes{v1.12}{2011/10/09}{Ort der nächsten Sitzung nur ausgeben, wenn er vorher mit \cs{nextplace} gesetzt wurde. Wenn er nicht gesetzt wurde, eine Warnung ausgeben.}
% \begin{macrocode}
\newcommand{\@makefoot}{
\ifx\@nextdate\@empty
@@ -393,12 +397,18 @@
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
}
% \end{macrocode}
% \end{macro}
%
+% Das Makro |\protocol@signatures| enthält den Text für die mit der Klassenoption [signatures] angeforderte Unterschriftenzeile.
% \begin{macro}{\protocol@signatures}
% \begin{macrocode}
\newcommand{\protocol@signatures}{\vspace{20mm}\par\noindent\hrulefill\hrulefill\hfill\hrulefill\hrulefill\\
@@ -406,7 +416,16 @@
(Sitzungsleitung)\hfill{}(Protokoll)\\[-1cm]\mbox{}}
% \end{macrocode}
% \end{macro}
-
+%
+% Das Makro |\@makeend| erzeugt den \emph{Abspann} des Protokolls, bestehend aus den Daten zur nächsten Sitzung (siehe |@makefoot|) und einer eventuellen, mit der Klassenoption [signatures] angeforderten Unterschriftenzeile.
+% \begin{macro}{\@makeend}
+% \begin{macro}{\@protocol@signatures}
+% \begin{macrocode}
+\newcommand{\@makeend}{\@makefoot\@protocol@signatures}
+\let\@protocol@signatures\relax
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
% \subsection{Die Umgebung Persons}
%
% \begin{environment}{Persons}
@@ -424,10 +443,10 @@
%
% \section{Abschlu"sdeklarationen}
%
-% Zum Beginn soll |\makehead|, zum Ende |\makefoot| aufgerufen werden.
+% Zum Beginn soll |\makehead|, zum Ende |\@makeend| aufgerufen werden.
% \begin{macrocode}
\AtBeginDocument{\makehead}
-\AtEndDocument{\@makefoot}
+\AtEndDocument{\@makeend}
% \end{macrocode}
%
%
diff --git a/Master/texmf-dist/source/latex/protocol/protocol.ins b/Master/texmf-dist/source/latex/protocol/protocol.ins
index 4998260971a..496ab1ae93b 100644
--- a/Master/texmf-dist/source/latex/protocol/protocol.ins
+++ b/Master/texmf-dist/source/latex/protocol/protocol.ins
@@ -5,7 +5,7 @@
%%
%% 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
@@ -32,7 +32,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
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'.