[texhax] Information about document in the document

Tom Backer Johnsen backer at psych.uib.no
Wed Oct 8 15:34:06 CEST 2008


Dr Nicola L C Talbot wrote:
> Tom Backer Johnsen wrote:
>> For some of the documents I write I would like to include a line in 
>> the upper left corner of the first page containing (a) the directory 
>> and name of the main file, and (b) the date and the time the document 
>> was printed.  At the same time I would like to drop the date that 
>> appears by default when using the \maketitle command.
>>
>> I know about the \jobname command which gives the name of the main 
>> file (without the extension), but how do I get hold of the (full) 
>> directory path and the date/time?
> 
> The datetime package provides a command for printing the current time 
> (you can change the format). I think the fink package provides a command 
> to access the directory name.
> 
> Regards
> Nicola Talbot
> 
The datetime package looks fine (I assume you are the person behind that 
one, so thank you!), but I am less sure about fink, so far I have been 
unable locate any documentation.  I'll keep searching.

Tom


More information about the texhax mailing list