[OS X TeX] print the latex source filename

Claus Gerhardt gerhardt at me.com
Sat Mar 21 19:09:08 CET 2009


I don't know the fink package. Here is the content of "qfriedman- 
ym.additions" from my test

\newcommand{\theFile}{/Users/claus/Documents/qfriedman-ym.tex}
\newcommand{\creationDate}{February 8, 2009 11:58:18}
\newcommand{\modDate}{March 21, 2009 18:39:49}

Whenever the script is executed the old content will be replaced. My  
suggestion is: try it.

Claus

On Mar 21, 2009, at 18:54, Alain Schremmer wrote:

>
> On Mar 21, 2009, at 1:49 PM, Claus Gerhardt wrote:
>
>> (* The attached script writes the file path, the creation date and  
>> the modification date and the new commands
>>
>> \theFile
>> \modDate
>> \creationDate
>>
>> to a file filename.additions. Read this file via  
>> \input{filename.additions}, then the above commands and their  
>> values are available.
>
> A quick reaction as I have to leave:
>
> How  does this compare with the fink package?
>
> Best regards
> --schremmer
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>

-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list