Menu

Tree [914abd] default tip /
 History

Read Only access


File Date Author Commit
 test 2011-10-12 Martin Scharrer Martin Scharrer [a212ca] Added test files.
 .hgignore 2011-09-20 Martin Scharrer Martin Scharrer [4b1cbe] Updated ignore list.
 .hgtags 2011-09-19 Martin Scharrer Martin Scharrer [939b54] Added tag v1.2 for changeset 6004995a676d
 FilemodCmp.tex 2011-03-22 martin_scharrer martin_scharrer [2e14ab] FilemodCmp.tex:: Added test file for `\Filemod...
 FilemodNewest.tex 2011-03-23 martin_scharrer martin_scharrer [56ea27] dev/Filemodnewest.tex::
 Filemodcmp.tex 2011-03-09 martin_scharrer martin_scharrer [cbd620] dev/filemodnewest.tex::
 Filemodnewest.tex 2011-03-23 martin_scharrer martin_scharrer [56ea27] dev/Filemodnewest.tex::
 Makefile 2011-09-22 Martin Scharrer Martin Scharrer [a5d7c6] Worked on Makefile.
 README 2016-04-24 Martin Scharrer Martin Scharrer [914abd] Added copyright year.
 filemod-expmin.sty 2011-09-20 Martin Scharrer Martin Scharrer [dad100] Added new header style.
 filemod.dtx 2011-09-20 Martin Scharrer Martin Scharrer [dad100] Added new header style.
 filemod.ins 2011-09-20 Martin Scharrer Martin Scharrer [0d52b6] Updated INS file.
 filemod.sty 2011-09-20 Martin Scharrer Martin Scharrer [dad100] Added new header style.
 filemodCmp-tex.tex 2011-03-24 martin_scharrer martin_scharrer [c17ee7] filemodCmp-tex.tex:: Added plainTeX version of...
 filemodCmp.tex 2011-03-22 martin_scharrer martin_scharrer [29f7ae] filemodCmp.tex:: Moved test macro definition t...
 filemodcmp.tex 2011-03-22 martin_scharrer martin_scharrer [3f8851] filemodcmp.tex:: Added self testing test cases.
 filemodestbm1.tex 2011-03-11 martin_scharrer martin_scharrer [5456d8] Remvoed %& lines.
 filemodestbm2.tex 2011-03-11 martin_scharrer martin_scharrer [5456d8] Remvoed %& lines.
 filemodnewest.tex 2011-03-24 martin_scharrer martin_scharrer [e071c3] dev/filemodnewest.tex:: Added test for file na...
 filemodnums.tex 2011-03-22 martin_scharrer martin_scharrer [ed875d] filemodnums.tex:: Added test for numeric macros.
 filemodparse.tex 2011-03-11 martin_scharrer martin_scharrer [5456d8] Remvoed %& lines.
 fmtest.tex 2011-03-08 martin_scharrer martin_scharrer [f1745b] dev/fmtest.tex::
 todaytest.tex 2011-09-19 Martin Scharrer Martin Scharrer [775a6e] Added test file for today macros.

Read Me

The filemod Package
~~~~~~~~~~~~~~~~~~~
Copyright (C) 2011-2016 Martin Scharrer <martin@scharrer-online.de>

This package provides macros to read and compare the modification dates
of files. These files can be .tex files, images or other files as long as they can be
found by the LaTeX compiler. It uses the \pdffilemoddate primitive of pdfLaTeX
to receive the file modification date as PDF date string, parses it and returns
the value to the user.
The functionality is provided by purely expandable macros or by faster but non-expandable ones.

This package will work with LaTeX and plain eTeX as long pdf(La)TeX (in
PDF or DVI mode) or Lua(La)TeX is used. Xe(La)TeX is not supported because it
does not provide \pdffilemoddate.

Examples:
    % Prints file modification date and time of main file
    \filemodprint{\jobname}

    % Include newest of a set of files:
    \input{\filemodNewest{{file1}{file2}{file3}}}

    % Include newest of a set of images:
    % (\includegraphics doesn't expand its fully before parsing it)
    \FilemodNewest{{file1}{file2}{file3}}
    \includegraphics{\filemodresultfile}


REQUIREMENTS:
=============
pdflatex v1.30.0 or later is required.
Alternative LuaTeX can be used together with the `pdftexcmds` package.


INSTALLATION:
=============
Compile the DTX file (with included INS file) through pdflatex:

    pdflatex filemod.dtx
    pdflatex filemod.dtx
    pdflatex filemod.dtx

Copy the files to the following directories which must be created beforehand.
Example for a Unix/Linux OS, change accordantly for MS Windows and Mac, e.g.
copy it using a graphics interface.

    cp filemod*.sty ${TEXMF}/tex/latex/filemod/
    cp filemod*.tex ${TEXMF}/tex/generic/filemod/

OPTIONAL:
The documentation can be installed by:
    cp filemod.pdf README  ${TEXMF}/doc/latex/filemod/

The source can be installed by:
    cp filemod.dtx  ${TEXMF}/source/latex/filemod/

The TEXMF is /usr/local/texlive/2010/texmf-dist, ${HOME}/texmf or similar.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.