% File : splib.hva % Version : $Revision: 1.8 $ % Author : Ralf Treinen (for RTALOOP) % Last-modified : $Date: 2002/11/06 11:47:02 $ % Last-modifier : FJ \usepackage{article} %\usepackage{ifthen} \input{splib-common.sty} \includeonly{} % title of the bibliography section (at the end of the protocol environment) \renewcommand{\bibname}{Citations} \renewcommand{\@bodyargs}{BGCOLOR=white} \newcommand{\imageanchor}[2]{ \begin{rawhtml} \end{rawhtml} \end{rawhtml}} %\newcommand{\code}[1]{\green\texttt{#1}} \newcommand{\printcommand}[1]{{\green\verb!\!\texttt{#1}}} \newcommand{\printparam}[1]{{\green\verb!{!\textit{\footnotesize #1}\verb!}!}} \newcommand{\printbegin}[1]{\printcommand{begin}{\green \verb!{!\texttt{#1}\verb!}!}} \newcommand{\printend}[1]{\printcommand{end}{\green \verb!{!\texttt{#1}\verb!}!}} \newcommand{\printenv}[2]{\printbegin{#1}{\green \textit{\footnotesize #2}}\printend{#1}} \newcommand{\sphome}{% \ahref{index.html}{Home} } \newcommand{\sendcomment}{% \begin{rawhtml} Send a comment \end{rawhtml} % \ahref{newcomment.html}{Send a comment} } \newcommand{\navigation}{% CALCPREV\quad \ahref{table.html}{Index}\quad CALCNEXT } \newcommand{\download}{% \begin{rawhtml}
\end{rawhtml} download: \begin{rawhtml} \end{rawhtml} \ahref{\jobname.txt}{protocol specification in plain text} \begin{rawhtml}
\end{rawhtml} \ahref{\jobname.ps.gz}{page in compressed postscript} \begin{rawhtml}
\end{rawhtml} \ahref{\jobname.pdf}{page in pdf} \begin{rawhtml}
\end{rawhtml} \ahref{\jobname.tex}{page source in latex} \begin{rawhtml}
\end{rawhtml} \ahref{\jobname.bib}{bibTeX references} \begin{rawhtml}
\end{rawhtml} } % Main environment of a protocol description document. % % The format for the dates is dd/mm/aaaa. dd and mm can be 0 if they % are unknown but they must be present. % % param #1 protocol title % param #2 protocol author(s), separated by commas % param #3 date of the protocol's first publication % param #4 editor, who submitted the protocol to the library % param #5 submission date % param #6 date of the last change to submission % \newenvironment{protocol}[6]% {% begin protocol \include{all} \settitle{#1} \setlastchange{#6} % % header \begin{rawhtml}
\end{rawhtml} % % header left \sphome \begin{rawhtml}
\end{rawhtml} \sendcomment \begin{rawhtml}
\end{rawhtml} % % header center: navigation \navigation \begin{rawhtml} \end{rawhtml} % % header right: download menu \download % % header close \begin{rawhtml}
\end{rawhtml} % % contents % switch date format to original latex format \origdate \section*{#1} {\textbf{Author(s):} #2\quad {\slashdate{#3}}} \ifthenelse{\equal{#4}{}}{}% {\\% \textit{Submitted by #4} \ifthenelse{\equal{#5}{}}{} {\textit{\quad {\slashdate{#5}}}}} } {% end protocol \bibliography{splib} \bibliographystyle{alpha} \hfill\ifthenelse{\equal{\locallastchange}{}}{}% {\textit{last modified~{\slashdate{\locallastchange}}}.} % % footer \begin{rawhtml}
\end{rawhtml} % % footer left \sphome \begin{rawhtml}
\end{rawhtml} % % footer center: navigation \navigation \begin{rawhtml}
\end{rawhtml} % % footer right \sendcomment % % footer close \begin{rawhtml}
\end{rawhtml} } % end of environement protocol % An entry for the topic #1 % % param #1 name of the current page, an identifier of a topic (param of environment \general) % param #2 name (identifier) of the topic in the menu % param #3 label of the topic to be appear in the html page (as a link or not) \newcommand{\topic}[3]{% \begin{rawhtml} \end{rawhtml} \ifthenelse{\equal{#1}{#2}}{#3}{\ahref{{#2}.html}{#3}} \begin{rawhtml} \end{rawhtml} } % Left navigation menu for a general page. % This command can be inserted in the tex code of a general page, % called the current page. % % param #1 the identifier of the topic of the current page. % (it is unlinked in the menu). \newcommand{\mainmenu}[1]% {% % begin general \include{all} \begin{rawhtml} \end{rawhtml} % Home \topic{#1}{index}{Home} % News \topic{#1}{news}{News} % index \topic{#1}{table}{Index} % download \topic{#1}{download}{Download} % format \topic{#1}{format}{Protocols format} % submission \topic{#1}{submit}{How to submit} % info mailing list \topic{#1}{mailinglist}{Mailing list} % mail \topic{#1}{contact}{Contact us} % search \topic{#1}{search}{Search the library} % % end general \begin{rawhtml}
\end{rawhtml} } % Environment for a general page. % Its purpose is to be the main (root) environment % of the tex code of a general page (called current page). % % param #1 the identifier of the topic of the current page. \newenvironment{general}[1]{% \begin{rawhtml} \end{rawhtml} \begin{rawhtml}
\end{rawhtml} \textbf{\Large Security Prococols Library} \begin{rawhtml}
\end{rawhtml} \mainmenu{#1} \begin{rawhtml}
\end{rawhtml}% } {% end general \begin{rawhtml}
\end{rawhtml} }