Current date will be used if no verstr.tex exists
parent
4929c89021
commit
8a0a8bba64
|
@ -58,7 +58,14 @@
|
||||||
\setcounter{secnumdepth}{4}
|
\setcounter{secnumdepth}{4}
|
||||||
|
|
||||||
% the version string is taken directly from a file written by the build process
|
% the version string is taken directly from a file written by the build process
|
||||||
\def\@verstr{{\footnotesize\tt\input{verstr.tex}}}
|
\def\@verstr{{%
|
||||||
|
\footnotesize\tt
|
||||||
|
% if verstr.tex exists, then use that as the version string; otherwise, fall
|
||||||
|
% back to the current date
|
||||||
|
\IfFileExists{verstr.tex}%
|
||||||
|
{\input{verstr.tex}}%
|
||||||
|
{\number\year-\number\month-\number\day}%
|
||||||
|
}}
|
||||||
|
|
||||||
\def\@oddhead{\small\sc\rightmark\hfill TODO}
|
\def\@oddhead{\small\sc\rightmark\hfill TODO}
|
||||||
\let\@evenhead\@oddhead
|
\let\@evenhead\@oddhead
|
||||||
|
|
Loading…
Reference in New Issue