[OS X TeX] Re: Save date-time, not Print date
Joachim Kock
jkock at start.no
Mon Jan 8 08:44:45 CET 2007
Perhaps you will find the tex command \jobname useful.
Joachim.
Victor Ivrii wrote:
>\documentclass[12pt]{article}
>
>\newcommand\file{foo}
>
>\begin{document}
>
>Test
>
>\immediate\write18{ls -l \file.tex | cut -b33-45 > \file.date}
>\input\file.date
>
>\end{document}
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list