for hevea 1.08-4: Extra Features -> Date and time file:///usr/share/doc/hevea/html/manual032.html#toc98
Date and time support is not enabled by default, for portability and simplicity reasons.
However, HEVEA source distribution includes a simple (sh) shell script xxdate.exe that activates date and time support. The hevea command, should be invoked as :
# hevea -exec xxdate.exe ...
This will execute the script xxdate.exe, whose output is then read by HEVEA. As a consequence, standard LATEX counters year, month, day and \ime are defined and LATEX command \today works properly. Additionnally the following counters and commands are defined :
Counter weekday, Hour, hour, minute…
To change the date format from European to US, make the following modification:
$ diff -wu1 /usr/share/hevea/latexcommon.hva~ /usr/share/hevea/latexcommon.hva --- /usr/share/hevea/latexcommon.hva~ 2006-05-16 19:53:17.000000000 +0200 +++ /usr/share/hevea/latexcommon.hva 2006-07-19 16:33:47.000000000 +0200 @@ -538,3 +538,4 @@ %%%%%%%% Format for \today, e.g 31st July, 1980 -\newcommand\today{\english@day\english@month,~\theyear} +%\newcommand\today{\english@day\english@month,~\theyear} +\newcommand\today{\english@month{} \theday,~\theyear} %%%%%%%%%%%%%% Defined counter printing functions