%% %% 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 %% Location on CTAN: tex-archive/macros/latex/contrib/supported/minutes %% http://tex.lickert.net/packages/minutes/index.html %% 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') %% (also possible as task.sty) %% - 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 %% - protokol.tex German description %% - Overview.tex Include for minutes.dtx and protokol.tex %% Also stand-alone document %% - Tagesordnung.tex %% A template for a "Mitgliederversammlung" %% To run the examples, you need blindtext.sty. %% %% After running minutes.ins this package include: %% - minutes.sty The style itself %% - minutes.cfg A configuration file %% - Sample.tex A file, including an English, Dutch and German minute %% - SampleEN.tex An English minutes (loaded by Sample.tex) %% - SampleDE.tex A German minutes (loaded by Sample.tex) %% - SampleNL.tex A Dutch minutes (loaded by Sample.tex) %% - MinStyGd.tex A file to check the behavior with other classes, %% test different layouts... %% ---------------------------------------------------------------------- \def\minfileversion{V1.8b} %^^Aof minutes.sty \def\minfiledate{2007/07/19} %^^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] \RequirePackage{keyval}[1999/03/16 v1.13] \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 }{} } \newcommand{\minutesstyle}[1]{% \setkeys{min@style}{#1}% } \newif\ifmin@listoftopics \min@listoftopicstrue \define@key{min@style}{contents}[true]{% \def\min@xx{#1} \def\min@yy{true} \ifx\min@xx\min@yy \min@listoftopicstrue \else \min@listoftopicsfalse \fi } \newcounter{columns}\setcounter{columns}{1} \newcounter{min@columns}\setcounter{min@columns}{1} \define@key{min@style}{columns}[1]{ \setcounter{min@columns}{#1} } \DeclareOption{OneColumn}{ \minutesstyle{columns = {1}} } \DeclareOption{TwoColumn}{ \minutesstyle{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@guest}{\min@textGuest} \min@writeNotRelax{\min@location}{\min@textLocation} \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} \ifmin@listoftopics \vspace{1ex} \@ifundefined{chapter}{\parttoc}{\minitoc}% \fi% \ifnum\value{columns} > 1 \begin{multicols}{\value{columns}}[][1cm] \fi }% \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} \ifmin@listoftopics% \@ifundefined{chapter}{\tableofcontents}{\minitoc}% \fi% \ifnum\value{columns} > 1 \begin{multicols}{\value{columns}}[][1cm] \fi }% \let\min@maketitle\min@maketitleList \DeclareOption{ListTitle}{ \minutesstyle{header = {list}} } \DeclareOption{TableTitle}{ \minutesstyle{header = {table}} } \define@key{min@style}{header}{ \def\min@xx{#1} \def\min@yy{list} \ifx\min@xx\min@yy \let\min@maketitle\min@maketitleList \else \def\min@yy{table} \ifx\min@xx\min@yy \let\min@maketitle\min@maketitleTable \else \PackageError{minutes.sty}{Unknown Header-Style}{ minutes.sty:\MessageBreak } \fi \fi } \newif\ifminutes@titleset \newenvironment{Minutes}[2][\relax]{%[short title]{Titel} \minutes@titlesetfalse \setcounter{columns}{\value{min@columns}} \setcounter{min@section}{0} \let\maketitle\min@maketitle \let\protokollKopf\maketitle \let\notulenkop\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 \let\min@date\relax } \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\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\@Roman\c@min@section)} }{ \immediate\gdef\thesection{(\min@toptext\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 \newcommand{\vote}[1]{ \gdef\min@voteT{#1} \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@voteIV}[1][\min@empty]{ \min@voteV{#1} } \newcommand{\min@voteV}{\min@voteIVlist} \define@key{min@style}{vote}{ \newif\ifmin@nofound \min@nofoundtrue \def\min@xx{#1} \def\min@yy{list} \ifx\min@xx\min@yy \renewcommand{\min@voteV}{\min@voteIVlist} \min@nofoundfalse \fi \def\min@yy{table} \ifx\min@xx\min@yy \renewcommand{\min@voteV}{\min@voteIVtable} \min@nofoundfalse \fi \ifmin@nofound \PackageError{minutes.sty}{Unknown Vote-Style}{ minutes.sty:\MessageBreak You try to use the style #1 for votes.\MessageBreak This style is unknown}% \fi } \newlength{\votelength} \newcommand{\min@voteIVtable}[1]{ \setlength{\votelength}{0.25\linewidth} \ifdim\votelength > 2cm \setlength{\votelength}{2cm} \fi \par\noindent \begin{tabular}{*{3}{p{\votelength}}}% \hline \multicolumn{3}{p{3\votelength}}{\min@voteT}\\\hline \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}{p{3\votelength}}{\decision{-}{#1}}% \fi \end{tabular}\par } \newcommand{\min@voteIVlist}[1]{ \par \begin{tabular}{ll} \multicolumn{2}{p{0.9\textwidth}}{\min@voteT}\\ \min@voteTI: & \min@voteVI\\ \min@voteTII: & \min@voteVII\\ \min@voteTIII: &\min@voteVIII\\ \ifx\min@empty#1\else% \multicolumn{2}{p{0.9\textwidth}}{\decision{-}{#1}}% \fi \end{tabular}\par } \newenvironment{Vote}{ \setlength{\parindent}{0mm} }{} \newcommand{\Onevote}{% \PackageWarningNoLine{minutes.sty}{% The use of the macro Onevote is obsolete since V1.6 }% \vote% } \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$]} \newenvironment{Opinions}{\begin{description}}{\end{description}} \newcommand{\opinion}[2]{\textsc{#1:} #2} \let\min@date\relax \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]{% \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\ifx#2\empty\else/\fi#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\fremdProtokoll\foreignMinutes \let\neueSpalte\newcols \let\zusatztopic\addtopic \newenvironment{Abstimmung}{\begin{Vote}}{\end{Vote}} \let\abstimmung\vote \let\Einzelabstimmung\Onevote%obsolete since V1.6 \let\ergebnis\result \newenvironment{Meinungen}{\begin{Opinions}}{\end{Opinions}} \let\meinung\opinion \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 \newenvironment{Nachtrag}{\begin{Postscript}}{\end{Postscript}} \let\Notulen\Minutes \let\endNotulen\endMinutes \let\ondertitel\subtitle \let\voorzitter\moderation \let\notulist\minutetaker \let\deelnemer\participant \let\bijeenkomstdatum\minutesdate \let\beginbijeenkomst\starttime \let\eindbijeenkomst\endtime \let\locatie\location \let\gast\guest \let\cc\cc \let\afwezig\missing \let\afwezigBericht\missingExcused \let\afwezigZonderBericht\missingNoExcuse \let\extranotulen\foreignMinutes \let\nieuweKolom\newcols \let\extrapunt\addtopic \newenvironment{Stemming}{\begin{Vote}}{\end{Vote}} \let\stemming\vote %%\let\Eenstemming\Onevote%obsolete since V1.6 \let\resultaat\result \let\besluit\decision \let\besluitonderwerp\decisiontheme \let\besluitenlijst\listofdecisions \let\aktie\task \let\aktielijst\listoftasks \let\termijn\schedule \let\bijlage\attachment \let\bijlagenlijst\listofattachments \let\naschrift\postscript \newenvironment{Naschrift}{\begin{Postscript}}{\end{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} } } \addto\extrasdutch{ \def\min@textModerator{Voorzitter} \def\min@textMinutesTaker{Notulist} \def\min@textPresent{Aanwezig} %Participiant: \def\min@textAbsent{Afwezig} \def\min@textAbsentExcused{\min@textAbsent (met bericht)} \def\min@textAbsentNoExcuse{\min@textAbsent (zonder bericht)} \def\min@textGuest{Gasten} \def\min@textDate{Datum} \def\min@textStarttime{Begin van de bijeenkomst} \def\min@textEndtime{Eind van de bijeenkomst} \def\min@textLocation{Locatie van de bijeenkomst} \def\min@textCc{Distributie} \def\min@textPostscript{Naschrift} \def\min@textEnclosure{Bijlagen} \def\min@textforeignMinutes{Externe notulen} \def\min@textSecret{inclusief niet openbare informatie} \def\min@textPage{pagina} \def\min@toptext{}%Text before Topic \def\min@textForeign{(no \LaTeXe -minute)} \def\min@textYes{Ja} \def\min@textNo{Nee} \def\min@textNoVote{Geen Mening} \def\min@textDecision{Besluit} \def\min@textTask{Aktie} \def\min@textResponsible{Verantwoordelijk} \def\min@textAnybody{Iedereen} \@ifundefined{chapter}{ \renewcommand{\partname}{Notulen} \renewcommand{\ptctitle}{Onderwerpen} }{ \renewcommand{\chaptername}{Notulen} \def\mtctitle{Onderwerpen} } } \addto\extrasfrench{ \def\min@textModerator{Direction proc\grave{e}s--verbal} \def\min@textMinutesTaker{R\acute{e}dacteur du proc\grave{e}s--verbal} \def\min@textPresent{Participant} \def\min@textAbsent{Absent} \def\min@textAbsentExcused{\min@textAbsent (annonc\acute{e})} \def\min@textAbsentNoExcuse{\min@textAbsent (pas annonc\acute{e})} \def\min@textGuest{Visiteur} \def\min@textDate{Date} \def\min@textStarttime{Commencement} \def\min@textEndtime{Fin} \def\min@textLocation{Lieu} \def\min@textCc{Distribution} \def\min@textPostscript{Suppl\acute{e}ment} \def\min@textEnclosure{Appendice} \def\min@textforeignMinutes{proc\grave{e}s--verbal \acute{e}trang\grave{e}re} \def\min@textSecret{avec des informations secret} \def\min@textPage{page} \def\min@toptext{}%Text before Topic \def\min@textForeign{proc\grave{e}s--verbal sans \LaTeX} \def\min@textYes{Oui} \def\min@textNo{Non} \def\min@textNoVote{Sans d\acute{e}cision} \def\min@textDecision{D\acute{e}cision} \def\min@textTask{Devoir} \def\min@textResponsible{R\acute{e}sponsible} \def\min@textAnybody{Quelqu'un} \@ifundefined{chapter}{ \renewcommand{\partname}{Proc\grave{e}s--verbal} \renewcommand{\ptctitle}{Table des proc\grave{e}s--verbal} }{ \renewcommand{\chaptername}{Proc\grave{e}s--verbal} \def\mtctitle{Table des proc\grave{e}s--verbal} } } \def\min@germanText{ \def\min@textModerator{Moderation} \def\min@textMinutesTaker{Protokollant} \def\min@textPresent{Anwesend} \def\min@textAbsent{Abwesend} \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}}% diff new/old spelling \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 \def\min@textDecision{Beschlu{\ss}} } \addto\extrasngerman{ \min@germanText \def\min@textDecision{Beschluss} } \ProcessOptions\relax \endinput %% %% End of file `minutes.sty'.