CTAN Comprehensive TeX Archive Network

CTAN has a new pack­age: file­mod

Date: March 23, 2011 7:05:31 PM CET
On Wed, 23 Mar 2011, Martin Schar­rer sub­mit­ted the file­mod pack­age. Sum­mary de­scrip­tion: Pack­age to dis­play and com­pare file mod­if­ca­tion dates Li­cense type: lppl An­nounce­ment text:
This pack­age pro­vides macros to read and com­pare the mod­i­fi­ca­tion dates of files. Th­ese files can be .tex files, im­ages or other files as long as they can be found by the LaTeX com­piler. It uses the \pdf­file­mod­date prim­i­tive of pdfLaTeX to re­ceive the file mod­i­fi­ca­tion date as PDF date string, parses it and re­turns the value to the user. This pack­age will also work for DVI out­put with re­cent ver­sions of the LaTeX com­piler which uses pdfLTEX in DVI mode. The func­tion­al­ity is pro­vided by purely ex­pand­able macros or by faster but non-ex­pand­able ones. Ex­am­ples: % Prints file mod­i­fi­ca­tion date and time of main file \file­mod­print{\job­name} % In­clude newest of a set of files: \in­put{\file­mod­Newest{{file1}{file2}{file3}}}
This pack­age is lo­cated at http://mir­ror.ctan.org/macros/la­tex/con­trib/file­mod . More in­for­ma­tion is at http://www.ctan.org/pkg/file­mod (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .
Thanks for the up­load. For the CTAN Team Rainer Schöpf

file­mod – Pro­vide file mod­i­fi­ca­tion times, and com­pare them

The pack­age pro­vides macros to read and com­pare the mod­i­fi­ca­tion dates of files. The files may be .tex files, im­ages or other files (as long as they can be found by ). It uses the \pdf­file­mod­date prim­i­tive of pdf to find the file mod­i­fi­ca­tion date as PDF date string, parses the string and re­turns the value to the user. The pack­age will also work for DVI out­put with re­cent ver­sions of the com­piler which uses pdf in DVI mode. The func­tion­al­ity is pro­vided by purely ex­pand­able macros or by faster but non-ex­pand­able ones.

Pack­agefile­mod
Ver­sion1.2
Copy­right2011 Martin Schar­rer
Main­tainerMartin Schar­rer

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author