%
% This file contains overview tables for minutes.sty
% This file is loaded by:
% - minutes.dtx
% - protokol.tex
% It can be translated on it's own (little help for writing minutes)
\newif\iflocal
\makeatletter
\@ifundefined{section}{\localtrue}{\localfalse}
\makeatother
\iflocal
  \documentclass[a4paper,DIV11]{scrartcl}
\fi
%
\usepackage{url}
\usepackage{supertabular}
\IfFileExists{booktabs.sty}{\usepackage{booktabs}}{
% \hrule gibt Fehler, wenn booktabs.sty nicht vorhanden
    \let\toprule\hrule
    \let\midrule\hrule
    \let\bottomrule\hrule
    \let\addlinespace\relax}
\newcommand*{\Lprog}[1]{\textsf {#1}}           %typeset a program
\newcommand*{\Lpack}[2][\relax]{\textsf {#2\ifx\relax#1\else(#1)\fi}} % typeset a package
\newcommand*{\Lopt}[1]{\textsf {#1}}            %typeset an option
\newcommand*{\Lenv}[1]{\texttt {#1}}            %typeset an environment
\newcommand*{\file}[1]{\texttt {#1}}            %typeset a file
\providecommand*{\cmd}[1]{\texttt {$\backslash$#1}} %typeset a command
%
\newcommand{\minOptions}{
\label{tab:options}
\tablehead{\toprule
\textbf{Option}  & \textbf{description} & \textbf{Beschreibung}\\\midrule
}
\tabletail{\bottomrule}
\begin{supertabular}{lll}
ListTitle &   List-like header        & Listartiger Titel\\
TableTitle &  Table-like header       & Tabellenartiger Titel\\
OneColumn &   One column output       & Einspaltige Ausgabe\\
TwoColumn &   Two column output       & Zweispaltige Ausgabe\\
CreateCld &   create cld-File         & Erzeugung einer cld-Datei\\
8+3       &   filenames 8+3           & 8+3 Dateinamen\\
Fileinfo  &   information in lists    & Ausgabe von Dateiinformationen\\
Secret    &   Print secret parts      & Ausgabe geheimer Teile\\
ASCII     &   Prepared for ASCII      & Ausgabe f\"ur reines ASCII\\
\em{Other}&   Option from \file{minutes.cfg} & Option aus \file{minutes.cfg}\\
\end{supertabular}
}

\newcommand{\minStyles}{
\label{sec:minStyles}
Options for \cmd{minutesstyle}:
\begin{description}
  \item[columns] 1,2,3\ldots
  \item[header]  list, table
  \item[contents] true, false: Print list of topics
  \item[vote]    list, table
\end{description}
}

\newcommand{\minCommands}{
\label{tab:commands}
%\begin{center}
\def\Overview##1##2{\midrule\textbf{##1}&\textbf{##2}&\\}
\def\overview|##1|##2|##3|{\path|##1|&\path|##2|& \path|##3|\\}
\tablehead{\toprule
\textbf{english command}  & \textbf{deutsches Kommando} & \textbf{Parameter}\\
}
\tabletail{\bottomrule\multicolumn{3}{c}{
[]=optional\hfill
\{\}=must be filled/Mussfeld\hfill
\{*\}= \{\} or */\{\} oder *
}\\}
\begin{supertabular}{lll}
\Overview{Minutes           }{Protokoll}
\overview|\begin{Minutes}   |\begin{Protokoll}       | {Title/Titel}|
\overview|\maketitle        |\protokollKopf          | |
\overview|\foreignMinutes   |\fremdProtokoll         | |
\overview|\end{Minutes}     |\end{Protokoll}         | |
\Overview{Header data       }{Kopfdaten}
\overview|\subtitle         |\untertitel             | {text}|
\overview|\moderation       |\moderation             | {Name}|  %%=
\overview|\minutetaker      |\protokollant           | {Name}|
\overview|\participant      |\teilnehmer             | {Name,Name}|
\overview|\guest            |\gaeste                 | {Name,Name}|
\overview|\minutesdate      |\sitzungsdatum          | {Date/Datum}|
\overview|\starttime        |\sitzungsbeginn         | {time/Zeit}|
\overview|\endtime          |\sitzungsende           | {time/Zeit}|
\overview|\location         |\sitzungsort            | {location/Ort}|
\overview|\cc               |\verteiler              | {Name, Name}|
\overview|\missing          |\fehlend                | [Name]{Name, Name}|
\overview|\missingExcused   |\fehlendEntschuldigt    | {Name, Name}|
\overview|\missingNoExcuse  |\fehlendUnentschuldigt  | {Name, Name}|
\Overview{sectioning        }{Gliederung}
\overview|\topic            |\topic                  | [short]{Title}|
\overview|\addtopic         |\zusatztopic            | [short]{Title}|
\overview|\subtopic         |\subtopic               | [short]{Title}|
\overview|\subsubtopic      |\subsubtopic            | [short]{Title}|
\overview|\minitopic        |\minitopic              | {Title}|
\overview|\newcols          |\neueSpalte             | [Title][1]|
\Overview{Tasks             }{Aufgaben}
\overview|\task             |\aufgabe                | [done]{*who}[when]{what}|
\overview|\listoftasks      |\aufgabenliste          | [file]|
\Overview{Dates             }{Termine}
\overview|\schedule         |\termin                 | [cal]{when}[time]{what}[long]|
\Overview{Voting            }{Abstimmungen}
\overview|\begin{Vote}      |\begin{Abstimmung}      | |
\overview|\vote             |\abstimmung             | {text}{yes}{no}{-}[text]|
\overview|\end{Vote}        |\end{Abstimmung}        | |
\overview|\Onevote          |\Einzelabstimmung       | {text}{yes}{no}{-}[text]|
\Overview{Decisions         }{Entscheidungen}
\overview|\decisionTheme    |\beschlussThema         | {ref}{Title}|
\overview|\decision         |\beschluss              | {*ref}{Text}[long Text]|
\overview|\listofdecisions  |\beschlussliste         | |
\Overview{Argumentations    }{Argumentationen}
\overview|\begin{Argumentation}|\begin{Argumentation}      | |
\overview|\pro              |\pro                    | |
\overview|\Pro              |\Pro                    | |
\overview|\contra           |\contra                 | |
\overview|\Contra           |\Contra                 | |
\overview|\result           |\ergebnis               | |
\overview|\end{Argumentation}  |\end{Argumentation}        | |
\Overview{Versions          }{Versionen}
\overview|\begin{Secret}    |\begin{Geheim}          | |
\overview|\end{Secret}      |\end{Geheim}            | |
\overview|\secret           |\geheim                 | {text}|
\Overview{Attachments       }{Anh\"ange}
\overview|\attachment       |\anhang                 | [ref]{Title}{pages}|
\overview|\listofattachments|\anhangsliste           | |
\overview|\postscript       |\nachtrag               | {text}|
\Overview{Other commands    }{Sonstige Kommandos}
\overview|\inputminutes     |                        | {file}|
\end{supertabular}
%\end{center}
}

\iflocal
\else
\expandafter\endinput
\fi
\begin{document}
\section*{Options}
\minOptions
\section*{Commands}
\minCommands
\end{document}
