diff options
author | Karl Berry <karl@freefriends.org> | 2012-09-28 22:50:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-09-28 22:50:11 +0000 |
commit | d85661d3d3b7510a86424cadb9c6cb71a0210cc1 (patch) | |
tree | 8e80da9b1b8464c532e5976b9c2cf51851fc6e09 /Master/texmf-dist/scripts | |
parent | 02339c48110d49c5009d1553b3df1629e77e53cc (diff) |
typeoutfileinfo (28sep12)
git-svn-id: svn://tug.org/texlive/trunk@27846 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/typeoutfileinfo/typeoutfileinfo.sh | 21 |
1 files changed, 10 insertions, 11 deletions
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 |