Handy LaTeX Hints


Multipart documents and CVS

The scenario: Now, which version did they read and correct?

The suggestion:

Define the following macro in your main latex file (the one that includes the others):

% Use the CVSID as the center footer
\newcommand{\CVSID}[1]{{         %
  \cfoot[ \mbox{#1} ] { \mbox{#1} }  %
}}
At the top of every separate file, put the line:
\CVSID{\$Id: latex.html,v 1.1 2003/11/01 16:41:42 djs Exp $$\$}
Also, in the file that includes the others, after every \include repeat the original \CVSID line.

Now every page should have a footer containing the CVS Id: which comprises the version number, checkin date etc.


Page last modified on $Date: 2003/11/01 16:41:42 $
[ HOME ] [ revalidate HTML ] [ revalidate CSS ]