diff options
author | Karl Berry <karl@freefriends.org> | 2008-07-16 16:47:44 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-07-16 16:47:44 +0000 |
commit | 13635b8a945b8166fa9e8caa3e0d5df595943b7e (patch) | |
tree | af4f8c2ae4078cd26593ffb8e46b21ebd0b2cbce /Master/texmf-dist/tex/latex/oberdiek/stampinclude.sty | |
parent | 61c75d01920f97b569cfea94a4773271ee2bf1a0 (diff) |
oberdiek stampinclude update (15jul08)
git-svn-id: svn://tug.org/texlive/trunk@9607 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/stampinclude.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/stampinclude.sty | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/stampinclude.sty b/Master/texmf-dist/tex/latex/oberdiek/stampinclude.sty new file mode 100644 index 00000000000..ffc04064c72 --- /dev/null +++ b/Master/texmf-dist/tex/latex/oberdiek/stampinclude.sty @@ -0,0 +1,109 @@ +%% +%% This is file `stampinclude.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% stampinclude.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2008 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% +%% 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. The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of +%% LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% This Current Maintainer of this work is Heiko Oberdiek. +%% +%% This work consists of the main source file stampinclude.dtx +%% and the derived files +%% stampinclude.sty, stampinclude.pdf, stampinclude.ins, stampinclude.drv. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{stampinclude} + [2008/07/14 v1.0 Time stamp based including (HO)]% +\RequirePackage{pdftexcmds}[2007/12/12]% +\begingroup + \chardef\x=1 % + \expandafter\ifx\csname pdf@filemoddate\endcsname\relax + \chardef\x=0 % + \fi + \expandafter\ifx\csname pdf@strcmp\endcsname\relax + \chardef\x=0 % + \fi +\expandafter\endgroup\ifcase\x + \PackageWarningNoLine{stampinclude}{% + \string\pdffilemoddate\space or % + \string\pdfstrcmp\space are not found,\MessageBreak + that are provided by pdfTeX >= 1.30.0.\MessageBreak + Also LuaTeX is not detected.\MessageBreak + Therefore package loading is aborted% + }% + \expandafter\endinput +\fi +\let\SInc@org@include\@include +\def\@include#1 {% + \IfFileExists{#1.aux}{% + \ifnum\pdf@strcmp{\pdf@filemoddate{#1.aux}}% + {\pdf@filemoddate{#1.tex}}<0 % + \ifx\@partlist\@empty + \gdef\@partlist{{#1}}% + \else + \g@addto@macro\@partlist{,{#1}}% + \fi + \fi + }{% + \ifx\@partlist\@empty + \gdef\@partlist{{#1}}% + \else + \g@addto@macro\@partlist{,{#1}}% + \fi + }% + \SInc@org@include{#1} \relax +} +\renewcommand*{\includeonly}[1]{% + \PackageInfo{stampinclude}{% + Ignoring \string\includeonly + }% +} +\@partswtrue +\gdef\@partlist{} +\AtEndDocument{% + \begingroup + \expandafter\let\expandafter\@partlist\expandafter\@empty + \expandafter\@for\expandafter\reserved@a + \expandafter:\expandafter=\@partlist\do{% + \ifx\@partlist\@empty + \edef\@partlist{\reserved@a}% + \else + \edef\@partlist{\@partlist, \reserved@a}% + \fi + }% + \typeout{********************% + ********************% + ********************% + ******************% + }% + \ifx\@partlist\@empty + \typeout{[stampinclude] No included files.}% + \else + \typeout{[stampinclude] Included files:}% + \typeout{\@partlist}% + \fi + \typeout{********************% + ********************% + ********************% + ******************% + }% + \endgroup +} +\endinput +%% +%% End of file `stampinclude.sty'. |