%% %% This is file `rcsinfo2html.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% rcsinfo.doc (with options: `header,html') %% %% IMPORTANT NOTICE: %% %% For the copyright see the source file. %% %% Any modified versions of this file must be renamed %% with new filenames distinct from rcsinfo2html.tex. %% %% For distribution of the original source see the terms %% for copying and modification in the file rcsinfo.doc. %% %% This generated file may be distributed as long as the %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) %% Package rcsinfo to use with LaTeX2e %% Copyright (C) 1995-1999 Dr. Juergen Vollmer, all rights reserved. %% Dr. Juergen Vollmer, Viktoriastrasse 15, D-76133 Karlsruhe, Germany %% email: Juergen.Vollmer@acm.org %% $Id: rcsinfo.doc,v 1.6 1999/02/05 18:01:05 vollmer Entwurf vollmer $ %% %% This system is distributed in the hope that it will be useful, %% but WITHOUT ANY WARRANTY; without even the implied warranty of %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. %%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \documentclass{article} \usepackage{rcsinfo} \newcommand{\latextohtml}{\LaTeX 2\texttt{HTML}} \newcommand{\Var}[1]{\texttt{\$rcsinfo::#1}} \pagestyle{fancy} \rcsInfo $Id: rcsinfo.doc,v 1.6 1999/02/05 18:01:05 vollmer Entwurf vollmer $ \begin{document} \rcsInfo $Id: rcsinfo.doc,v 1.6 1999/02/05 18:01:05 vollmer Entwurf vollmer $ \title{Example for converting a \LaTeX\ document to \texttt{HTML}\\ using \latextohtml{} and the \texttt{rcsinfo}-package} \author{Dr.~J{\"u}rgen Vollmer\\ Viktoriastra{\ss}e 15, D-76133 Karlruhe, Germany\\ \small{\texttt{Juergen.Vollmer@acm.org}}} \date{\today} \maketitle \section{Usage} Note: If using the \latextohtml{} tool, you must place \verb|\rcsInfo| into the preamble too, i.e.\ before the \verb|\begin{document}|. Using only \LaTeX{}, \verb|\rcsInfo| must be placed after the preamble. Note: If the \verb|fancy| / \verb|fancyhdr| option is given to the \verb|rcsinfo| package, the date of the \verb|ADDRESS| at the bottom of the \texttt{HTML} page is set to the RCS-date. Note: If you would like to set your own \verb|ADDRESS| text, you should define a procedure, which sets the \texttt{perl}-variable \verb|$main::ADDRESS| in your local \texttt{.latex2html} initialization file. The routine may use the \texttt{perl} variables shown in the section~\ref{sec-examples}. Assign a reference of this procdure to the \texttt{perl}-variable \verb|$rcsinfo::SetAddressProc|. For example the follownig \texttt{perl}-code does the job: \begin{verbatim} sub my_address_field { $ADDRESS = '
This file was last updated on ' . $rcsinfo::Date . '  by ' . '' . 'Juergen Vollmer ' . '<Juergen.Vollmer@acm.org>'; } $rcsinfo::SetAddressProc = \&my_address_field; \end{verbatim} \newpage \section{Example} \label{sec-examples} Here are the commands and their output: \begin{tabular}{lll} \LaTeX-command & \texttt{perl} variable & Result for this file \\\hline \verb|\today| & \texttt{\$today} & \today \\ \verb|\rcsInfoFile| & \Var{File} & \rcsInfoFile \\ \verb|\rcsInfoOwner| & \Var{Owner} & \rcsInfoOwner \\ \verb|\rcsInfoStatus| & \Var{Status} & \rcsInfoStatus \\ \verb|\rcsInfoLocker| & \Var{Locker} & \rcsInfoLocker \\ \verb|\rcsInfoDate| & \Var{Date} & \rcsInfoDate \\ \verb|\rcsInfoLongDate| & \Var{LongDate} & \rcsInfoLongDate \\ \verb|\rcsInfoDay| & \Var{Day} & \rcsInfoDay \\ \verb|\rcsInfoMonth| & \Var{Month} & \rcsInfoMonth \\ \verb|\rcsInfoYear| & \Var{Year} & \rcsInfoYear \\ \end{tabular} \end{document} \endinput %% %% End of file `rcsinfo2html.tex'.