From d85661d3d3b7510a86424cadb9c6cb71a0210cc1 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Sep 2012 22:50:11 +0000 Subject: typeoutfileinfo (28sep12) git-svn-id: svn://tug.org/texlive/trunk@27846 c570f23f-e606-0410-a88d-b1316a301751 --- .../scripts/typeoutfileinfo/typeoutfileinfo.sh | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh b/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh index 18d618a1849..2780883e82f 100755 --- a/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh +++ b/Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh @@ -11,13 +11,9 @@ ## in order to display [FILENAME].[TXT]'s FILE INFO (\listfile entry) ## using \typeout. This requires that [FILENAME].[EXT] contains a ## \ProvidesFile, \ProvidesPackage, or \ProvidesClass command. -( -cat << EOM -\\RequirePackage{readprov} \\ReadFileInfos{$1} -\\typeout{^^J^^J *$1 info*: \\space \\csname ver@$1\\endcsname^^J^^J}% -\\batchmode\\stop ## \batchmode added 2012/09/16 -EOM -) | latex +latex \\RequirePackage{readprov}\\ReadFileInfos{$1}\ +\\typeout{^^J^^J + $1 info: + \\csname ver@$1\\endcsname^^J}\ +\\batchmode\\stop ## ## Copyright (C) 2012 Uwe Lueck, http://contact-ednotes.sty.de.vu/ ## @@ -31,11 +27,11 @@ EOM ## ## There is NO WARRANTY. ## -## This is package version v0.21 as of 2012-09-19. +## This is package version v0.31 as of 2012-09-28. ## -## CREDIT: this work derived from Harald Harders' `latexfileversion' -## as a simplification using my `readprov'. I learnt "here document" -## from `latexfileversion's -- UL. +## CREDITS: This work derived from Harald Harders' `latexfileversion' +## as a simplification using my `readprov'. Reinhard Kotucha +## improved the code, see HISTORY. ## ## PURPOSE/BACKGROUND: A package like this, `latexfileversion' or ## `ltxfileinfo' when you wonder which version of a source file @@ -51,3 +47,6 @@ EOM ## v0.1a 2012/03/16 ## v0.2 2012/09/16 adds \batchmode thanks to Heiko Oberdiek on texhax ## v0.21 2012/09/19 shebang line corrected/improved by Reinhard Kotucha +## v0.3 2012/09/27 long line instead of here document, +## different spacing, * -> + (misinterpreded) +## v0.31 2012/09/28 code line broken by `\', thanks to Reinhard Kotucha -- cgit v1.2.3