summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/filemod
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-20 23:14:36 +0000
committerKarl Berry <karl@freefriends.org>2011-09-20 23:14:36 +0000
commita0f4d2b96b28987ab2ebe37d9f1ce3d4e5fc2fec (patch)
tree97c79009665e1df2742918884b046e3edf4f5937 /Master/texmf-dist/tex/latex/filemod
parente64b9b2467b5c4b68eec69f80d56b9cf9210bbe6 (diff)
filemod (20sep11)
git-svn-id: svn://tug.org/texlive/trunk@24042 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.sty20
-rw-r--r--Master/texmf-dist/tex/latex/filemod/filemod.sty33
2 files changed, 21 insertions, 32 deletions
diff --git a/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty b/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty
index 9f9f44fc6e9..2329a898d63 100644
--- a/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty
+++ b/Master/texmf-dist/tex/latex/filemod/filemod-expmin.sty
@@ -1,5 +1,6 @@
-%% Copyright (C) 2011 by Martin Scharrer <martin@scharrer-online.de>
-%% ---------------------------------------------------------------------------
+%%
+%% Copyright (C) 2011 by Martin Scharrer <martin@scharrer.me>
+%% ----------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
@@ -13,15 +14,17 @@
%% The Current Maintainer of this work is Martin Scharrer.
%%
%% This work consists of the files filemod.dtx and filemod.ins
-%% and the derived filebase filemod.sty.
+%% and the derived files filemod.sty, filemod-expmin.sty,
+%% filemod.tex and filemod-expmin.tex.
+%%
\ProvidesPackage{filemod-expmin}[%
- 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
+ 2011/09/19
+ v1.2
+ Get and compare file modification times (expandable; minimal)]
+\newif\iffilemod@direct
\filemod@directtrue
\ifx\pdffilemoddate\@undefined
- \RequirePackage{pdftexcmds}
+ \RequirePackage{pdftexcmds}
\filemod@directfalse
\ifx\pdf@filemoddate\@undefined
\edef\filemod@help
@@ -33,7 +36,6 @@
\PackageError{filemod}{Required command \string\pdffilemoddate\space is not defined!}{\filemod@help}
\fi
\fi
-\fi
\begingroup
\catcode`\D=12
\catcode`\Z=12
diff --git a/Master/texmf-dist/tex/latex/filemod/filemod.sty b/Master/texmf-dist/tex/latex/filemod/filemod.sty
index 01c86468882..7c860761d7b 100644
--- a/Master/texmf-dist/tex/latex/filemod/filemod.sty
+++ b/Master/texmf-dist/tex/latex/filemod/filemod.sty
@@ -1,5 +1,6 @@
-%% Copyright (C) 2011 by Martin Scharrer <martin@scharrer-online.de>
-%% ---------------------------------------------------------------------------
+%%
+%% Copyright (C) 2011 by Martin Scharrer <martin@scharrer.me>
+%% ----------------------------------------------------------
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
@@ -13,27 +14,14 @@
%% The Current Maintainer of this work is Martin Scharrer.
%%
%% This work consists of the files filemod.dtx and filemod.ins
-%% and the derived filebase filemod.sty.
+%% and the derived files filemod.sty, filemod-expmin.sty,
+%% filemod.tex and filemod-expmin.tex.
+%%
\ProvidesPackage{filemod}[%
- 2011/09/19 v1.2
- Get and compare file modification times]
-\ifx\filemod@directtrue\@undefined
-\csname newif\expandafter\endcsname\csname iffilemod@direct\endcsname
-\filemod@directtrue
-\ifx\pdffilemoddate\@undefined
- \RequirePackage{pdftexcmds}
- \filemod@directfalse
- \ifx\pdf@filemoddate\@undefined
- \edef\filemod@help
- {The required command \string\pdffilemoddate\space is not defined.
- This means that the used\space\space LaTeX compiler does not support it.
- Please make sure that pdfLaTeX 1.30.0 or\space\space\space newer or LuaLaTeX is used.
- XeLaTeX does not support reading file modification\space\space dates.
- }%
- \PackageError{filemod}{Required command \string\pdffilemoddate\space is not defined!}{\filemod@help}
- \fi
-\fi
-\fi
+ 2011/09/19
+ v1.2
+ Get and compare file modification times]
+\RequirePackage{filemod-expmin}
\newcommand*\filemodparse{}
\iffilemod@direct
\def\filemodparse#1#2{%
@@ -69,7 +57,6 @@
\def\filemod@parse@@#1#2#3#4#5#6#7#8\empty#9\relax{%
#9#1{#2#3}{#4#5}{#6#7}{#8}%
}
-\RequirePackage{filemod-expmin}
\newcommand*%
\filemodnumdate{\filemodparse\filemod@numdate}
\def\filemod@numdate#1#2#3#4#5#6#7{#1#2#3}