%%
%% This is file `minutes.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% minutes.dtx  (with options: `package')
%% ----------------------------------------------------------------------
%% The original file is loadable from CTAN on:
%% macros/latex/contrib/supported/minutes
%% 
%% Name of contribution: minutes
%% Name and email:       Knut Lickert <knut@lickert.net>
%% Location on CTAN:     tex-archive/macros/latex/contrib/supported/minutes
%% Summary description:  Package for writing (collection of) minutes
%% German Information:   Paket zum Erstellen von Protokollen
%%                         to take minutes = Protokoll schreiben
%%                         protocoll = diplomatische Protokoll
%% License type:         Free
%% 
%% Announcement text:
%% ----------------------------------------------------------------------
%% minutes.sty provides the creation of a collection of minutes.
%% Special features:
%% - Support of tasks (who, schedule, what, date of finishing),
%%     possibility of creating a list of open tasks
%%     inclusion of open tasks from other minutes ('open last year tasks')
%% - Support of attachments
%% - Support of schedule dates (support of calendar.sty)
%% - Different versions (`secret parts')
%% - Macros for votes and decisions (list of decisions)
%% 
%% The minutes package contains:
%% - minutes.dtx
%% - minutes.ins
%% - blindtext.dtx
%% - blindtext.ins
%% - protokol.tex  German description
%% - Overview.tex  Include for minutes.dtx and protokol.tex
%%                 Also stand-alone document
%% 
%% After running minutes.ins this package include:
%% - minutes.sty   The style itself
%% - minutes.cfg   A configuration file
%% - Sample.tex    A file, including an english and german minute
%% - SampleEN.tex  An english minutes (loaded by Sample.tex)
%% - SampleDE.tex  A german minutes (loaded by Sample.tex)
%% - MinStyGd.tex  A file to check the behaviour with other classes...
%% 
%% Additional package included:
%% blindtext.sty:
%%     Style to create text (commands blindtext and Blindtext)
%%     Can be used to create examples with a lot text to become a feeling
%%     for the look of classes, packages...
%%     See MinStyGd.tex
%% ----------------------------------------------------------------------
\def\minfileversion{V1.6}      %^^Aof minutes.sty
\def\minfiledate{2001/01/20}   %^^Aof minutes.sty
%%
%% \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
%%   Digits        \0\1\2\3\4\5\6\7\8\9
%%   Exclamation   \!     Double quote  \"     Hash (number) \#
%%   Dollar        \$     Percent       \%     Ampersand     \&
%%   Acute accent  \'     Left paren    \(     Right paren   \)
%%   Asterisk      \*     Plus          \+     Comma         \,
%%   Minus         \-     Point         \.     Solidus       \/
%%   Colon         \:     Semicolon     \;     Less than     \<
%%   Equals        \=     Greater than  \>     Question mark \?
%%   Commercial at \@     Left bracket  \[     Backslash     \\
%%   Right bracket \]     Circumflex    \^     Underscore    \_
%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
%%   Right brace   \}     Tilde         \~}
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{minutes}[\minfiledate\space\minfileversion\space minutes.sty]
\RequirePackage{multicol}[1999/10/21 v1.5w]
\RequirePackage{xspace}[1997/10/13 v1.06]
\RequirePackage{url}[1999/03/28]
\RequirePackage{minitoc}[2000/12/13 v34]
\newif\ifhyperloaded
\@ifpackageloaded{hyperref}{
\global\hyperloadedtrue
\def\theHattachment{\theattachment}%?
\def\toclevel@attachment{1}%like section
\def\toclevel@decisiontheme{0}%  like section
\def\toclevel@decision{1}%  like section
\def\toclevel@schedule{1}%  like section
\def\toclevel@task{1}%      like section
}{}
\AtBeginDocument{
\@ifpackageloaded{hyperref}{
\ifhyperloaded\else
\PackageError{minutes.sty}{load hyperref.sty before minutes.sty}{
  minutes.sty:\MessageBreak
  You try to use minutes.sty with hyperref.sty\MessageBreak
  minutes.sty must adapt some feature for it,\MessageBreak
  so please load hyperref.sty first.}%
\fi
}{}
}
\newcounter{columns}\setcounter{columns}{1}
\newcounter{min@columns}\setcounter{min@columns}{1}
\DeclareOption{OneColumn}{
\setcounter{min@columns}{1}
}
\DeclareOption{TwoColumn}{
\setcounter{min@columns}{2}
}
\pagestyle{headings}
\newif\ifmin@fileinfo
\min@fileinfofalse
\DeclareOption{Fileinfo}{
\min@fileinfotrue
}
\DeclareOption{ASCII}{
\renewcommand\result{\item [-->]}
\renewcommand\contra{\item [-]}
\renewcommand\pro{\item [+]}
\renewcommand\to{->}
\renewcommand\hookrightarrow{->}%used in in task
\renewcommand\@dotsep{1000}%no dots at \tableofcontents
\renewcommand\thepage{}%no pages in ASCII-lists
\pagestyle{empty}
\setcounter{columns}{1}
}
\@ifundefined{chapter}{
    \newcounter{min@savesecnumdepth}
    \doparttoc
    }{
    \setcounter{tocdepth}{1}
    \setcounter{minitocdepth}{4}
    \dominitoc
    }
\AtEndDocument{\faketableofcontents}
\@ifundefined{section}%
{\PackageError{minutes.sty}{section not defined}{
  minutes.sty:\MessageBreak
  You try to use minutes.sty with a class\MessageBreak
  which does not support the section command\MessageBreak
  Please check your class.}%
}{\relax}
\newcommand{\min@file@Att}{minAtt}
\newcommand{\min@file@Cld}{minCld}
\newcommand{\min@file@Dec}{minDec}
\newcommand{\min@file@task}{minTsk}
\DeclareOption{8+3}{
\renewcommand{\min@file@Att}{miA}
\renewcommand{\min@file@Cld}{miC}
\renewcommand{\min@file@Dec}{miD}
\renewcommand{\min@file@task}{miT}
\PackageWarningNoLine{minutes.sty}{
  You selected the option 8+3\MessageBreak
  Check for a correct installation of minitoc.sty.
}
}
\InputIfFileExists{minutes.cfg}{
\typeout{Using the configuration file minutes.cfg}}{}
\def\min@maketitleList{
\minutes@titlesettrue
\@ifundefined{chapter}{%
    \setcounter{min@savesecnumdepth}{\value{secnumdepth}}
    \setcounter{secnumdepth}{-1}%no numbering for minutes
    \part[\min@titleshort]{\min@title}
    \setcounter{section}{0}
    \setcounter{secnumdepth}{\value{min@savesecnumdepth}}
}{  \chapter[\min@titleshort]{\min@title}}
\def\min@writeNotRelax##1##2{
\ifx\relax##1\else
\item[##2] ##1
\fi}
\begin{quote}
\ifx\relax\min@subtitle\else\min@subtitle\fi
\begin{description}
\settowidth{\leftmargin}{10cm}
\min@writeNotRelax{\min@information}{$\Rightarrow$}
\min@writeNotRelax{\min@moderation}{\min@textModerator}
\min@writeNotRelax{\min@minutetaker}{\min@textMinutesTaker}
\min@writeNotRelax{\min@participiant}{\min@textPresent}
\min@writeNotRelax{\min@missing}{\min@textAbsent}
\min@writeNotRelax{\min@missingExc}{\min@textAbsentExcused}
\min@writeNotRelax{\min@missingNoExc}{\min@textAbsentNoExcuse}
\min@writeNotRelax{\min@missing}{\min@textAbsent}
\min@writeNotRelax{\min@guest}{\min@textGuest}
\ifx\relax\min@date\else
\item [\min@textDate] \min@date\
    \min@starttime
    \ifx\relax\min@endtime\else\ -- \min@endtime\fi
\fi
\min@writeNotRelax{\min@cc}{\min@textCc}
\end{description}
\end{quote}
\vspace{1ex}
%%\@ifundefined{chapter}{\tableofcontents}{\minitoc}%<lke1>
\@ifundefined{chapter}{\parttoc}{\minitoc}
\ifnum\value{columns} > 1
\begin{multicols}{\value{columns}}[][1cm]
\fi
}%
%% \subsubsection{Table-like title}
\def\min@maketitleTable{
\minutes@titlesettrue
\@ifundefined{chapter}{
    \setcounter{min@savesecnumdepth}{\value{secnumdepth}}
    \setcounter{secnumdepth}{-1}%no numbering for minutes
    \part[\min@titleshort]{\min@title}
    \setcounter{section}{0}
    \setcounter{secnumdepth}{\value{min@savesecnumdepth}}
}{  \chapter[\min@titleshort]{\min@title}}
\begin{tabular}{|*{2}{p{0.45\linewidth}|}}\hline
%% \min@location is missing
%% \min@guest is missing
  \ifx\relax\min@subtitle\else
    \multicolumn{2}{|p{0.9\linewidth}|}{\min@subtitle}\\\hline\fi
  \ifx\relax\min@date\else
    \multicolumn{2}{|p{0.9\linewidth}|}{
          \min@textDate: \min@date\ \min@starttime
          \ifx\relax\min@endtime\else -- \min@endtime\fi
    }\\\hline
  \fi%\min@date
  \min@textModerator: \min@moderation
  &\min@textMinutesTaker: \min@minutetaker\\\hline
  \min@textPresent:\newline \min@participiant
  &\min@textCc:\newline \min@cc\\\hline
  \ifx\relax\min@missingExc1
        \min@textAbsent:\newline \min@missing&\\\hline
    \else
        \min@textAbsentExcused:\newline \min@missingExc
        &\min@textAbsentNoExcuse:\newline \min@missingNoExc\\\hline
    \fi
\end{tabular}
\@ifundefined{chapter}{\tableofcontents}{\minitoc}
\ifnum\value{columns} > 1
\begin{multicols}{\value{columns}}[][1cm]
\fi
}%
\newcounter{min@titlestyle}
\DeclareOption{ListTitle}{
\setcounter{min@titlestyle}{0}
}
\DeclareOption{TableTitle}{
\setcounter{min@titlestyle}{1}
}
\newif\ifminutes@titleset
\newenvironment{Minutes}[2][\relax]{%[short title]{Titel}
\minutes@titlesetfalse
\setcounter{columns}{\value{min@columns}}
\ifcase\value{min@titlestyle}
\let\maketitle\min@maketitleList\or
\let\maketitle\min@maketitleTable\else
\let\maketitle\min@maketitleList\fi
\let\protokollKopf\maketitle
\def\min@title{#2}
\ifx#1\relax
\def\min@titleshort{#2}
\else
\def\min@titleshort{#1}
\fi
\let\min@information\relax
\let\min@subtitle\relax
\let\min@moderation\relax
\let\min@minutetaker\relax
\let\min@participiant\relax
\let\min@missing\relax
\let\min@missingExc\relax
\let\min@missingNoExc\relax
\let\min@guest\relax
\let\min@date\relax
\let\min@starttime\relax
\let\min@endtime\relax
\let\min@location\relax
\let\min@cc\relax
}%
{
\ifnum\value{columns} > 1
\end{multicols}
\fi
\global\let\thesection=\min@thesection
}
\def\subtitle#1{\def\min@subtitle{#1}}
\def\moderation#1{\def\min@moderation{#1}}
\def\minutetaker#1{\def\min@minutetaker{#1}}
\def\cc#1{\def\min@cc{#1}}
\def\minutesdate#1{\gdef\min@date{#1}}%use in \task
\def\starttime#1{\def\min@starttime{#1}}
\def\endtime#1{\def\min@endtime{#1}}
\def\location#1{\def\min@location{#1}}
\def\participant#1{\def\min@participiant{#1}}
\def\guest#1{\def\min@guest{#1}}
\newcommand{\missing}[2][\min@empty]{
\ifx#1\min@empty\def\min@missing{#2}
\else
\missingExcused{#1}
\missingNoExcuse{#2}
\fi
}
\def\missingExcused#1{\def\min@missingExc{#1}}
\def\missingNoExcuse#1{\def\min@missingNoExc{#1}}
\newcommand{\signature}[1]{
\begin{tabular}{p{4cm}}
  \vspace{2em}\\ \hline
  \footnotesize #1
\end{tabular}
}
\newenvironment{Protocoll}[5]{
\PackageWarning{minutes.sty}{Old environment protocoll, do not use!}
\begin{Minutes}{#1}
\ifx\empty#2\else\moderation{#2}\fi
\ifx\empty#3\else\minutetaker{#3}\fi
\ifx\empty#4\else\participant{#4}\fi
\ifx\empty#5\else\missing{#5}\fi
\maketitle
}{\end{Minutes}}
\newcommand{\min@file}{\relax}
\newcommand*{\inputminutes}[1]{
\renewcommand{\min@file}{\protect\path{#1}}
\input{#1}
\renewcommand{\min@file}{\relax}
}
\let\min@thesection=\thesection
\@ifundefined{chapter}{
\newcounter{min@section}[part]
}{
\newcounter{min@section}[chapter]
}
\newcommand*{\topic}[2][\minxx]{
\min@checktitle
\immediate\gdef\thesection{\min@toptext\xspace\min@thesection}
\ifx\minxx#1\min@newcoltopic{\section}{#2}{#2}%
\else\min@newcoltopic{\section}{#1}{#2}\fi%
%%\let\thesection=\min@thesection %subtopic without "TOP"
}
\newcommand*{\addtopic}[2][\minxx]{
\min@checktitle
\refstepcounter{min@section}
\@ifundefined{chapter}{
\immediate\gdef\thesection{(\min@toptext\xspace\@Roman\c@min@section)}
}{
\immediate\gdef\thesection{(\min@toptext\xspace\thechapter.\@Roman\c@min@section)}
}
\ifx\minxx#1\min@newcoltopic{\section}{#2}{#2}%
\else\min@newcoltopic{\section}{#1}{#2}\fi%
\global\addtocounter{section}{-1}
%%%If you do not like the roman number
%%\section*{#2}
%%\ifx\minxx#1\addcontentsline{toc}{section}{#2}
%%\else\addcontentsline{toc}{section}{#1}\fi%
}
\newcommand{\min@checktitle}{
\ifminutes@titleset\else
\minutes@titlesettrue
\PackageError{minutes.sty}{no output of title}{
minutes.sty:\MessageBreak
  You called the environment minutes,\MessageBreak
  but you forgot to call the 'maketitle'.\MessageBreak
  If you do not use twocolumn, you can continue.\MessageBreak
  With twocolumn, you will become trouble later
}%
\fi}
\newcommand{\min@newcoltopic}[3]{
\ifnum\value{columns} > 1
\end{multicols}
\hrulefill
\begin{multicols}{\value{columns}}[{#1[#2]{#3}}]
\else
#1[#2]{#3}
\fi
}
\let\subtopic=\subsection
\let\subsubtopic=\subsubsection
\newcommand\minitopic[1]{\@afterindentfalse \vskip 1.5ex
  {\parindent \z@ \textbf{#1}\par\nobreak}%
  \@afterheading}
\newcommand{\newcols}[1][\relax]{
\global\def\min@newcolsTitle{#1}
\min@newcols
}
\newcommand{\min@newcols}[1][\value{min@columns}]{
\ifnum\value{columns} > 1
\end{multicols}
\fi
\setcounter{columns}{#1}
\ifnum\value{columns} > 1
\begin{multicols}{\value{columns}}[\min@newcolsTitle][2cm]
\else
\min@newcolsTitle
\fi
}
\begingroup
\catcode`@=11\relax%
\catcode`{=12\relax\catcode`}=12\relax%
\catcode`(=1\relax \catcode`)=2\relax%
\gdef\includeversion#1(%
  \expandafter\gdef\csname #1\endcsname%
    (   \ifnum\value(columns) > 1
        \def\@currenvir(multicols)
        \fi
    )%
  \expandafter\gdef\csname end#1\endcsname%
    (   \ifnum\value(columns) > 1
        \def\@currenvir(#1)
        \fi
    )%
)%
\gdef\excludeversion#1(%
  \expandafter\gdef\csname #1\endcsname%
    (\@bsphack\catcode`{=12\relax\catcode`}=12\relax\csname #1@NOTE\endcsname)%
  \long\expandafter\gdef\csname #1@NOTE\endcsname ##1\end{#1}%
    (\csname #1END@NOTE\endcsname)%
  \expandafter\gdef\csname #1END@NOTE\endcsname%
    (\@esphack\end(#1))%
)%
\endgroup
\excludeversion{Secret}
\excludeversion{Geheim}
\newcommand{\secret}[1]{}
\newcommand{\geheim}[1]{}
\DeclareOption{Secret}{
\includeversion{Secret}
\includeversion{Geheim}
\renewcommand{\secret}[1]{#1}
\renewcommand{\geheim}[1]{#1}
}
\newcommand{\postscript}[1]{[\emph{#1}]}
\newenvironment{Postscript}{
\begin{description}
\item[\min@textPostscript] \em}{
\em\end{description}}
\newcounter{@pagecount}%
\newcommand{\foreignMinutes}[2][1]{%[pages]{Description}
\ifnum #1 > 0
\def\min@information{\min@textforeignMinutes: #2}
\fi
\maketitle
\setcounter{@pagecount}{#1}\addtocounter{@pagecount}{-1}%
\addtocounter{page}{\value{@pagecount}}%
}
\newcounter{minutes@page}
\@ifundefined{chapter}{
\newcounter{minutes@attachment}
\renewcommand{\theminutes@attachment}{\roman{minutes@attachment}}
}{
\newcounter{minutes@attachment}[chapter]
\renewcommand{\theminutes@attachment}{
    \thechapter.\roman{minutes@attachment}}
}
\newcommand{\attachment}[3][\relax]{%[label]{titel}{Seiten}
\stepcounter{minutes@attachment}
\par
\min@textEnclosure\ \theminutes@attachment: #2
\ifx\relax#1\else\min@textPage~\pageref{#1}\fi[#3]%
\addcontentsline{\min@file@Att}{attachment}{%
    {#1}{\theminutes@attachment}{#2}{#3}}
}%^^A       \attachment
\newcommand{\listofattachments}{
\ifhyperloaded
\renewcommand{\contentsline}[4]{
\csname l@##1\endcsname{##2}{##3}
}
\fi
\renewcommand\@pnumwidth{2em}%Original: 1.55em
\setcounter{minutes@page}{\value{page}}\stepcounter{minutes@page}
{\@starttoc{\min@file@Att}}
\clearpage
\setcounter{page}{\value{minutes@page}}%
}
\newcommand{\l@attachment}[2]{%
\expandafter\min@l@attachment#1
}%^^A       \listofAttachments
\newcommand{\min@l@attachment}[4]{%{label}{theattachment}{title}{pages}
\@dottedtocline{1}{0mm}{20mm}{%
\numberline {#2} #3}{%
\arabic{minutes@page} [#4]}
\ifx\relax#1\else
\ifhyperloaded
\protected@write\@auxout{}%
{\string\newlabel%
{#1}%Label
{%
{#2}%number of section
{\arabic{minutes@page}}%pagenumber
{#2\relax }%title+\relax
{section.\thesection}%"section"+sectionnumber
{}%
}%closenewlabel
}%close \protected@write
\else% hyperref is not used
\protected@write\@auxout{}%
{\string\newlabel{#1}{{#2}{\arabic{minutes@page}}}}%
\fi%\ifhyperloaded
\fi%\ifx\relax
\addtocounter{minutes@page}{#4}%
}%\def\min@l@attachment
\newcommand{\enclosure}[3][1]{%[pages]{label}{titel}
\attachment[#2]{#3}{#1}
}%^^A       \enclosure
\let\listofenclosure\listofattachments
\newlength{\votelength}
\newenvironment{Vote}{
\setlength{\votelength}{0.25\linewidth}
\ifdim\votelength > 2cm \setlength{\votelength}{2cm} \fi
\par\noindent
\begin{tabular}{*{3}{p{\votelength}}}% \hline
}{
\end{tabular}
}
\newcommand{\vote}[1]{
\multicolumn{3}{p{3\votelength}}{#1}\\\hline
\min@voteI}
\newcommand{\min@voteI}[2][\min@textYes]{
\gdef\min@voteTI{#1}
\gdef\min@voteVI{#2}
\min@voteII
}
\newcommand{\min@voteII}[2][\min@textNo]{
\gdef\min@voteTII{#1}
\gdef\min@voteVII{#2}
\min@voteIII
}
\newcommand{\min@voteIII}[2][\min@textNoVote]{
\gdef\min@voteTIII{#1}
\gdef\min@voteVIII{#2}
\min@voteIV
}
\newcommand\min@nextvote{\begin{Vote}}
\newcommand{\min@voteIV}[1][\min@empty]{
\tiny \min@voteTI & \tiny \min@voteTII & \tiny \min@voteTIII \\
\hfill \min@voteVI & \hfill \min@voteVII & \hfill \min@voteVIII\\\hline
\ifx\min@empty#1\else\multicolumn{3}{l}{\decision*{#1}}\fi
\end{Vote}\par
\min@nextvote
}
\newcommand{\Onevote}{
\gdef\min@nextvote{\gdef\min@nextvote{\begin{Vote}}}
\begin{Vote}\vote
}%^^A \OneVote
\newcommand{\decisiontheme}[2]{
\@ifundefined{chapter}{
\addcontentsline{\min@file@Dec}{decisiontheme}{{#1}{#2}{\thepart}}
}{
\addcontentsline{\min@file@Dec}{decisiontheme}{{#1}{#2}{\thechapter}}
}%
}
\newcommand{\decision}[2]{
\def\min@decisionTheme{#1}
\def\min@decisionShorttext{#2}
\min@decision
}
\newcommand{\min@decision}[1][\min@xx]{%
\if*\min@decisionTheme\else
\@ifundefined{chapter}{
\addcontentsline{\min@file@Dec}{decision}{
    {\min@decisionTheme}{\min@decisionShorttext}{\thepart}}
}{
\addcontentsline{\min@file@Dec}{decision}{
    {\min@decisionTheme}{\min@decisionShorttext}{\thechapter}}
}%
\fi
\par\noindent\textbf{\min@textDecision\ifx*\min@decisionTheme $^*$\fi:}
\min@decisionShorttext\par
\ifx#1\min@xx\else
\begin{quote}\small #1\end{quote}
\fi
}
\newcommand{\listofdecisions}{
\ifhyperloaded
\renewcommand{\contentsline}[4]{
\csname l@##1\endcsname{##2}{##3}
}
\fi
\@starttoc{\min@file@Dec}
}% \listofdecisions
\newcommand{\l@decisiontheme}[2]{
\expandafter\min@l@decisiontheme#1
}
\newcommand{\min@l@decisiontheme}[3]{%Theme}{Decision}{Chapter}
\noindent\textbf{#2}\par
}
\newcommand{\l@decision}[2]{
\noindent\expandafter\min@l@decision#1{#2}
}
\newcommand{\min@l@decision}[4]{%{Theme}{Decision}{Chapter}{page}
\@dottedtocline{1}{0mm}{0mm}{#2}{#4}
}
\newenvironment{Argumentation}{\begin{itemize}}{\end{itemize}}
\newcommand{\pro}{\item[\textcircled{+}]}
\newcommand{\Pro}{\item[\textbf{\textcircled{+}}]}
\newcommand{\contra}{\item[\textcircled{-}]}
\newcommand{\Contra}{\item[\textbf{\textcircled{-}}]}
\newcommand{\result}{\item[$\Rightarrow$]}
\newcommand{\task}[2][\relax]{
\def\min@taskDone{#1}
\def\min@taskWho{#2}
\min@task
}
\newcommand{\min@task}[2][\relax]{
\def\min@taskWhen{#1}
\def\min@taskWhat{#2}
\ifx\relax\min@file
    \def\min@fileinfo{}
\else
    \def\min@fileinfo{\min@file/\the\inputlineno}
\fi
\def\min@space{}
\par\noindent\textbf{\min@textTask}%
\if\relax\min@taskWhen\else\ (\min@taskWhen)\fi%
\if\relax\min@taskDone{%
\@ifundefined{chapter}{%
\addcontentsline{minTsk}{task}{\protect\minutestask%
   {\min@taskWhat}{\thepart}{\min@taskWhen}%
   {\min@taskWho}{\min@date}{\min@fileinfo}}%
}{%
\addcontentsline{minTsk}{task}{\protect\minutestask%
   {\min@taskWhat}{\thechapter}{\min@taskWhen}%
   {\min@taskWho}{\min@date}{\min@fileinfo}}%
}%chapter defined
}\else%\relax\min@taskDone
\ifx\min@space\min@taskDone\else\footnote{\min@taskDone}\fi%
\fi%\relax\min@taskDone
:
\min@taskWhat\
\if*\min@taskWho\else (\min@taskWho)\fi
}
\newcommand{\listoftasks}[1][\relax]{
\bgroup
\ifhyperloaded
\renewcommand{\contentsline}[4]{
\csname l@##1\endcsname{##2}{##3}
}
\fi
\ifx\relax#1
\@starttoc{minTsk}
\else
\PackageWarning{minutes.sty}{
    foreign minTsk -> Check Hyper\MessageBreak
    You are using the list of tasks with tasks from a foreign
    document\MessageBreak
    This document must use the hyperref-package like this document.
}%
{\InputIfFileExists{#1.minTsk}{}{}}
\fi
\egroup
}% \listoftasks
\newlength{\responsiblelength}
\setlength{\responsiblelength}{0.15\linewidth}
\newcommand{\l@task}[2]{#1{2}}
\newcommand{\minutestask}[7]{%{What}{section}{When}{Who}{date}{file}{page}
\if*#4
\def\min@l@taskWho{\min@textAnybody}
\else
\def\min@l@taskWho{#4}
\fi
\def\numberline##1{\parbox[t]{\responsiblelength}{##1\hfil}~}
\@dottedtocline{1}{0mm}{\responsiblelength}{
\numberline{\min@l@taskWho}
\if\relax#3\else$\hookrightarrow$ #3\\\fi%date to do
#1 \if\relax#5\else (#5)\fi%Text (date of minutes)
\ifmin@fileinfo\footnotesize\relax~[#6]\fi}%File/linenumber
{#2/#7}%sec/page
}
\newcommand*{\schedule}{\@ifstar\min@scheduleStar\min@scheduleNoStar}
\newif{\ifmin@scheduleStar}
\newcommand{\min@scheduleNoStar}{\global\min@scheduleStarfalse\min@scheduleI}
\newcommand{\min@scheduleStar}{\global\min@scheduleStartrue\min@scheduleI}
\newcommand*{\min@scheduleI}[2][\jobname]{%[file]{yyyy/mm/dd}
\def\min@sch@file{#1}
\def\min@sch@date{#2}
\min@scheduleII
}
\newcommand*{\min@scheduleII}[2][]{%[time]{schedule text}
\def\min@sch@time{#1}
\def\min@sch@text{#2}
\min@scheduleIII
}
\newcommand{\min@scheduleIII}[1][\min@xx]{%[long text]
    \par\noindent\emph{\expandafter\min@writedate \min@sch@date/%
          \ifx\@empty\min@sch@time\else\ \min@sch@time\fi:}
    \min@sch@text
  \ifx#1\min@xx\else\nobreak%
    \begin{list}{}{\setlength{\leftmargin}{1em}\setlength{\partopsep}{\parsep}}
    \item #1
    \end{list}
  \fi\par%
  \ifmin@scheduleStar\else
   \ifx#1\min@xx%
    \addcontentsline{\min@file@Cld}{schedule}{\protect\min@l@schedule{\min@sch@file}%
                    {\min@sch@date}{\min@sch@time}{\min@sch@text}{}}
   \else
    \addcontentsline{\min@file@Cld}{schedule}{\protect\min@l@schedule{\min@sch@file}%
                    {\min@sch@date}{\min@sch@time}{\min@sch@text}{#1}}
   \fi
  \fi
}
\def\min@writedate#1/#2/#3/{
\day=#3
\month=#2
\year=#1
\today
}
\DeclareOption{CreateCld}{\prepareCal}
\newcommand{\prepareCal}[1][\jobname]{
\ifhyperloaded
\renewcommand{\contentsline}[4]{
\csname l@##1\endcsname{##2}{##3}
}
\fi
\newwrite\cld
\gdef\min@calfilename{#1}
\immediate\openout\cld=#1.cld
\@starttoc{\min@file@Cld}
\immediate\closeout\cld %
}
\newcommand{\l@schedule}[2]{#1}
\newcommand{\min@l@schedule}[5]{%{file}{date}{time}{what}{longtext}
\let\"\relax%no expansion for "Umlaute"
\let\ss\relax%no expansion for sz
\catcode`\"12\relax%"is normal
\def\min@xx{#5}
\ifx\min@xx\@empty
\immediate\write\cld{\expandafter\min@writecal#2/ #3 {#4}}
\else
%%This is not robust
%%\immediate\write\cld{\expandafter\min@writecal#2/ #3 {#4}[#4:\noexpand\\ #5]}
%%This is robust, but not the expected behaviour.
\immediate\write\cld{\expandafter\min@writecal#2/ #3 {#4}}
\fi
}
\def\min@writecal#1/#2/#3/{
#3
\ifcase#2 \or jan\or feb\or mar\or apr\or may\or
jun\or jul\or aug\or sep\or oct\or nov\or dec\fi.
 #1
}
\let\Protokoll\Minutes
\let\endProtokoll\endMinutes
\let\untertitel\subtitle
\let\moderation\moderation
\let\protokollant\minutetaker
\let\teilnehmer\participant
\let\sitzungsdatum\minutesdate
\let\sitzungsbeginn\starttime
\let\sitzungsende\endtime
\let\sitzungsort\location
\let\gaeste\guest
\let\verteiler\cc
\let\fehlend\missing
\let\fehlendEntschuldigt\missingExcused
\let\fehlendUnentschuldigt\missingNoExcuse
\let\protokollKopf\min@maketitle
\let\fremdProtokoll\foreignMinutes
\let\neueSpalte\newcols
\let\zusatztopic\addtopic
\newenvironment{Abstimmung}{\begin{Vote}}{\end{Vote}}
\let\abstimmung\vote
\let\Einzelabstimmung\Onevote
\let\ergebnis\result
\let\beschluss\decision
\let\beschlussthema\decisiontheme
\let\beschlussliste\listofdecisions
\let\aufgabe\task
\let\aufgabenliste\listoftasks
\let\termin\schedule
\let\anhang\attachment
\let\anhangsliste\listofattachments
\let\nachtrag\postscript
\@ifundefined{addto}{\newcommand{\addto}[2]{#2}}{\relax}
\addto\extrasenglish{
\def\min@textModerator{Moderation}
\def\min@textMinutesTaker{Minutes taker}
\def\min@textPresent{Those present} %Participiant:
\def\min@textAbsent{Absent}
\def\min@textAbsentExcused{\min@textAbsent (excused)}
\def\min@textAbsentNoExcuse{\min@textAbsent (not excused)}
\def\min@textGuest{Guest}
\def\min@textDate{Date}
\def\min@textStarttime{Begin of the meeting}
\def\min@textEndtime{End of the meeting}
\def\min@textLocation{Location of the meeting}
\def\min@textCc{Distribution}
\def\min@textPostscript{Postscript}
\def\min@textEnclosure{Enclosure}
\def\min@textforeignMinutes{Foreign minutes}
\def\min@textSecret{including non-public informations}
\def\min@textPage{page}
\def\min@toptext{}%Text before Topic
\def\min@textForeign{(no \LaTeXe -minute)}
\def\min@textYes{Yes}
\def\min@textNo{No}
\def\min@textNoVote{no vote}
\def\min@textDecision{Decision}
\def\min@textTask{Task}
\def\min@textResponsible{Responsible}
\def\min@textAnybody{Anybody}
\@ifundefined{chapter}{
    \renewcommand{\partname}{Minutes}
    \renewcommand{\ptctitle}{Overview of topics}
    }{
    \renewcommand{\chaptername}{Minutes}
    \def\mtctitle{List of topics}
    }
}
\def\min@germanText{
\def\min@textModerator{Moderation}
\def\min@textMinutesTaker{Protokollant}
\def\min@textPresent{Anwesend}
\def\min@textAbsent{Fehlend}
\def\min@textAbsentExcused{\min@textAbsent (entschuldigt)}
\def\min@textAbsentNoExcuse{\min@textAbsent (unentschuldigt)}
\def\min@textGuest{G\"aste}
\def\min@textDate{Datum}
\def\min@textStarttime{Beginn der Sitzung}
\def\min@textEndtime{Ende der Sitzung}
\def\min@textLocation{Sitzungsort}
\def\min@textCc{Verteiler}
\def\min@textPostscript{Nachtrag}
\def\min@textEnclosure{Anhang}
\def\min@textforeignMinutes{Fremdes Protokoll}
\def\min@textSecret{mit nicht\"offentlichen Informationen}
\def\min@textPage{Seite}
\def\min@textForeign{(kein \LaTeXe -Protokoll)}
\def\min@textYes{Ja}
\def\min@textNo{Nein}
\def\min@textNoVote{Enthaltung}
\def\min@textDecision{Beschlu{\ss}}
\def\min@textTask{Aufgabe}
\def\min@textResponsible{Verantwortlich}
\def\min@textAnybody{Irgendwer}
\def\min@toptext{}%Top} %-> ugly table of contents
\@ifundefined{chapter}{
    \renewcommand{\partname}{Protokoll}
    \renewcommand{\ptctitle}{Tagesordnung}
    }{
    \renewcommand{\chaptername}{Protokoll}
    \renewcommand{\mtctitle}{Tagesordnung}
    }
}
\addto\extrasgerman{\min@germanText}
\addto\extrasngerman{\min@germanText}
\ProcessOptions\relax
\endinput
%%
%% End of file `minutes.sty'.
