summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/filemod
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-19 23:45:10 +0000
committerKarl Berry <karl@freefriends.org>2011-09-19 23:45:10 +0000
commit92d4b04fa1e31cfc4d0c314aa84d75d0a239db62 (patch)
tree59da5eb0c0634a9a51cd07b22b442893e333b1f2 /Master/texmf-dist/tex/latex/filemod
parentcddb7efdd31657bda6113ecfbd467b12fa22f5ca (diff)
filemod (19sep11)
git-svn-id: svn://tug.org/texlive/trunk@24023 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/filemod')
-rw-r--r--Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty2
-rw-r--r--Master/texmf-dist/tex/latex/filemod/filemod.sty12
2 files changed, 12 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty b/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty
index 85357bb09cd..9f9f44fc6e9 100644
--- a/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty
+++ b/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty
@@ -15,7 +15,7 @@
%% This work consists of the files filemod.dtx and filemod.ins
%% and the derived filebase filemod.sty.
\ProvidesPackage{filemod-expmin}[%
- 2011/03/24 v1.1
+ 2011/09/19 v1.2
Get and compare file modification times (expandable; minimal)]
\ifx\filemod@directtrue\@undefined
\csname newif\expandafter\endcsname\csname iffilemod@direct\endcsname
diff --git a/Master/texmf-dist/tex/latex/filemod/filemod.sty b/Master/texmf-dist/tex/latex/filemod/filemod.sty
index 3fa49d20fed..01c86468882 100644
--- a/Master/texmf-dist/tex/latex/filemod/filemod.sty
+++ b/Master/texmf-dist/tex/latex/filemod/filemod.sty
@@ -15,7 +15,7 @@
%% This work consists of the files filemod.dtx and filemod.ins
%% and the derived filebase filemod.sty.
\ProvidesPackage{filemod}[%
- 2011/03/24 v1.1
+ 2011/09/19 v1.2
Get and compare file modification times]
\ifx\filemod@directtrue\@undefined
\csname newif\expandafter\endcsname\csname iffilemod@direct\endcsname
@@ -338,6 +338,16 @@
}%
}
\def\filemod@gl{>}
+\newcommand*\Filemodtoday[1]%
+{{%
+ \def\thefilemod##1##2##3##4##5##6##7{\year##1 \month##2 \day##3 \today}%
+ \filemodprint{#1}%
+}}
+\newcommand*\FilemodToday[1]%
+{{%
+ \def\thefilemoddate##1##2##3{\year##1 \month##2 \day##3 \today}%
+ \filemodprint{#1}%
+}}
\newcommand*
\filemodprint{\filemodparse\thefilemod}
\newcommand*