summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/minutes/minutes.sty
blob: e9ff910f22ddb7e563b71df156c660cf6e7b2b2d (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
%%
%% 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
%%                       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'.