summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-01-23 00:57:49 +0000
committerKarl Berry <karl@freefriends.org>2015-01-23 00:57:49 +0000
commit2df105aec1c8b455c9e372be66b36a7d6ec44b05 (patch)
tree29999d098b145322baced7b56693d1fb0121f8c8
parent3b008b95ec29bf75244fd0e2e1ade8784815d4c8 (diff)
ltxfileinfo (22jan15)
git-svn-id: svn://tug.org/texlive/trunk@36121 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo6
-rw-r--r--Master/texmf-dist/doc/support/ltxfileinfo/README23
-rw-r--r--Master/texmf-dist/doc/support/ltxfileinfo/ltxfileinfo.pdfbin38349 -> 37883 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/ltxfileinfo/ltxfileinfo6
4 files changed, 19 insertions, 16 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo b/Build/source/texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo
index 3f832a956cb..2911b0262f4 100755
--- a/Build/source/texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo
+++ b/Build/source/texk/texlive/linked_scripts/ltxfileinfo/ltxfileinfo
@@ -1,6 +1,6 @@
#!/bin/bash
-version=2.01
+version=2.02
myname=$(basename $0)
<<'DOC'
@@ -129,7 +129,7 @@ DOC
help() { sed -n '/^= Synopsis/,/^= /p' $0|sed '1s/.*/Usage:/;/^= /d'; exit; }
helpall() { sed -n '/^<<.DOC.$/,/^DOC$/p' $0|sed -n '1d;$d;p'|less; exit; }
version() { echo $version; exit; }
-install() { which instscript>&/dev/null && instscript -zp $myname; exit; }
+install() { which instscript>&/dev/null && instscript --zip --pdf --markdown $myname; exit; }
Nor='\e[0m' # reset color ]
Err='\e[31;1m' # light red ]
@@ -287,7 +287,7 @@ prov=$(grep '\\Provides' "$loca") || die "no \\Provides..."
# \ProvideFile statements in them mostly refer to merlin.mbs, or other names
[[ $arg =~ \.(mbs|bst)$ ]] && dombsbst
-dir=$(mktemp -d)
+dir=$(mktemp -d -t $myname.XXXXXXXXXX)
$debug && echo Running in $dir || trap "rm -rf $dir" 0 1 2 15
cp "$loca" $dir
cd $dir
diff --git a/Master/texmf-dist/doc/support/ltxfileinfo/README b/Master/texmf-dist/doc/support/ltxfileinfo/README
index c7bb1daac08..b77890a1ac9 100644
--- a/Master/texmf-dist/doc/support/ltxfileinfo/README
+++ b/Master/texmf-dist/doc/support/ltxfileinfo/README
@@ -1,16 +1,19 @@
- script: ltxfileinfo - print version information for a LaTeX file
- type: bash
- author: Wybo Dekker
- email: wybo@dekkerdocumenten.nl
-version: 2.01
-license: Released under the GNU General Public License
---------------------------------------------------------------------------------
+|
+-------:|:--------------------------------------
+ script:| ltxfileinfo - print version information for a LaTeX file
+ type:| bash
+ author:| Wybo Dekker
+ email:| wybo@dekkerdocumenten.nl
+version:| 2.02
+license:| Released under the GNU General Public License
+
ltxfileinfo displays version information for LaTeX files. If no path
information is given, the file is searched using kpsewhich. As an extra,
-for developers, the script will (use the |--star| or |--color| options)
-check the valididity of the |\Provides...| statement in the files.
-The script uses code from Uwe Lück's |readprov.sty|.
+for developers, the script will (use the --star or --color options)
+check the valididity of the \Provides... statement in the files.
+The script uses code from Uwe Lück's readprov.sty.
+Recent changes:
Changes with respect to version 2.00:
- Documentation adapted to gendoc
- Syntactically beautified
diff --git a/Master/texmf-dist/doc/support/ltxfileinfo/ltxfileinfo.pdf b/Master/texmf-dist/doc/support/ltxfileinfo/ltxfileinfo.pdf
index 69530118e07..ef4a736cff4 100644
--- a/Master/texmf-dist/doc/support/ltxfileinfo/ltxfileinfo.pdf
+++ b/Master/texmf-dist/doc/support/ltxfileinfo/ltxfileinfo.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/ltxfileinfo/ltxfileinfo b/Master/texmf-dist/scripts/ltxfileinfo/ltxfileinfo
index 3f832a956cb..2911b0262f4 100755
--- a/Master/texmf-dist/scripts/ltxfileinfo/ltxfileinfo
+++ b/Master/texmf-dist/scripts/ltxfileinfo/ltxfileinfo
@@ -1,6 +1,6 @@
#!/bin/bash
-version=2.01
+version=2.02
myname=$(basename $0)
<<'DOC'
@@ -129,7 +129,7 @@ DOC
help() { sed -n '/^= Synopsis/,/^= /p' $0|sed '1s/.*/Usage:/;/^= /d'; exit; }
helpall() { sed -n '/^<<.DOC.$/,/^DOC$/p' $0|sed -n '1d;$d;p'|less; exit; }
version() { echo $version; exit; }
-install() { which instscript>&/dev/null && instscript -zp $myname; exit; }
+install() { which instscript>&/dev/null && instscript --zip --pdf --markdown $myname; exit; }
Nor='\e[0m' # reset color ]
Err='\e[31;1m' # light red ]
@@ -287,7 +287,7 @@ prov=$(grep '\\Provides' "$loca") || die "no \\Provides..."
# \ProvideFile statements in them mostly refer to merlin.mbs, or other names
[[ $arg =~ \.(mbs|bst)$ ]] && dombsbst
-dir=$(mktemp -d)
+dir=$(mktemp -d -t $myname.XXXXXXXXXX)
$debug && echo Running in $dir || trap "rm -rf $dir" 0 1 2 15
cp "$loca" $dir
cd $dir