From a0f4d2b96b28987ab2ebe37d9f1ce3d4e5fc2fec Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Sep 2011 23:14:36 +0000 Subject: filemod (20sep11) git-svn-id: svn://tug.org/texlive/trunk@24042 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/filemod/filemod-expmin.sty | 20 +++++++------ Master/texmf-dist/tex/latex/filemod/filemod.sty | 33 +++++++--------------- 2 files changed, 21 insertions(+), 32 deletions(-) (limited to 'Master/texmf-dist/tex/latex/filemod') 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 -%% --------------------------------------------------------------------------- +%% +%% Copyright (C) 2011 by Martin Scharrer +%% ---------------------------------------------------------- %% 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 -%% --------------------------------------------------------------------------- +%% +%% Copyright (C) 2011 by Martin Scharrer +%% ---------------------------------------------------------- %% 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} -- cgit v1.2.3