summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xBuild/source/texk/texlive/linked_scripts/thumbpdf/thumbpdf.pl14
-rw-r--r--Master/texmf-dist/doc/generic/thumbpdf/README (renamed from Master/texmf-dist/doc/generic/thumbpdf/readme.txt)7
-rwxr-xr-xMaster/texmf-dist/scripts/thumbpdf/thumbpdf.pl14
-rw-r--r--Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty5
-rw-r--r--Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex5
5 files changed, 35 insertions, 10 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/thumbpdf/thumbpdf.pl b/Build/source/texk/texlive/linked_scripts/thumbpdf/thumbpdf.pl
index dda3ad3d26d..3b52e5dd62c 100755
--- a/Build/source/texk/texlive/linked_scripts/thumbpdf/thumbpdf.pl
+++ b/Build/source/texk/texlive/linked_scripts/thumbpdf/thumbpdf.pl
@@ -26,8 +26,9 @@ $^W=1; # turn warning on
#
my $file = "thumbpdf.pl";
my $program = uc($&) if $file =~ /^\w+/;
-my $version = "3.14";
-my $date = "2012/04/09";
+my $prj = 'thumbpdf';
+my $version = "3.15";
+my $date = "2012/04/18";
my $author = "Heiko Oberdiek";
my $copyright = "Copyright (c) 1999-2012 by $author.";
#
@@ -150,6 +151,8 @@ my $copyright = "Copyright (c) 1999-2012 by $author.";
# 2011/08/10 v3.13
# * Use gswin64c in Windows with 64 bits.
# 2012/04/09 v3.14
+# 2012/04/18 v3.15
+# * Option --version added.
#
### program identification
@@ -212,6 +215,7 @@ $::opt_modes = "pdftex";
$::opt_gscmd = "";
$::opt_level2 = 0;
$::opt_help = 0;
+$::opt_version = 0;
$::opt_quiet = 0;
$::opt_debug = 0;
$::opt_verbose = 0;
@@ -234,6 +238,7 @@ Function: Support of thumbnails for pdfTeX or dvips/ps2pdf (pdfmark).
`<jobname>$pdftexext' (pdfTeX), `<jobname>$pdfmarkext' (pdfmark)
Options: (defaults:)
--help print usage
+ --version print version number
--(no)quiet suppress messages ($bool[$::opt_quiet])
--(no)verbose verbose printing ($bool[$::opt_verbose])
--(no)debug debug informations ($bool[$::opt_debug])
@@ -265,6 +270,7 @@ my @OrgArgv = @ARGV;
use Getopt::Long;
GetOptions(
"help!",
+ "version!",
"quiet!",
"debug!",
"verbose!",
@@ -286,6 +292,10 @@ GetOptions(
"greek!"
) or die $usage;
!$::opt_help or die $usage;
+if ($::opt_version) {
+ print "$prj $date v$version\n";
+ exit(0);
+}
@ARGV < 2 or die "$usage$Error Too many files!\n";
@ARGV == 1 or die "$usage$Error Missing jobname!\n";
diff --git a/Master/texmf-dist/doc/generic/thumbpdf/readme.txt b/Master/texmf-dist/doc/generic/thumbpdf/README
index b678fd1c041..79fd7eba855 100644
--- a/Master/texmf-dist/doc/generic/thumbpdf/readme.txt
+++ b/Master/texmf-dist/doc/generic/thumbpdf/README
@@ -1,4 +1,4 @@
-readme.txt for project thumbpdf 2012/04/09 v3.14
+README for project thumbpdf 2012/04/18 v3.15
TABLE OF CONTENTS
=================
@@ -73,7 +73,7 @@ thumbpdf.tex: A pdfTeX program to produce the thumbnail pdf
file (A2.).
thumbpdf.sty: The package for the user to be included in his TeX
source (A4.)
-readme.txt: Documentation, the file you are reading.
+README: Documentation, the file you are reading.
Following temporary files are produced if `thumbpdf' is invoked:
thb*.png: The thumbnails in PNG format:
@@ -607,3 +607,6 @@ J. HISTORY
* Fix of version date of thumbpdf.sty.
2012/04/09 v3.14:
* Fix for plain TeX compatibility (offending \RequirePackage).
+2012/04/18 v3.15:
+ * Option --version added.
+ * File `readme.txt' renamed to `README'.
diff --git a/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl b/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl
index dda3ad3d26d..3b52e5dd62c 100755
--- a/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl
+++ b/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl
@@ -26,8 +26,9 @@ $^W=1; # turn warning on
#
my $file = "thumbpdf.pl";
my $program = uc($&) if $file =~ /^\w+/;
-my $version = "3.14";
-my $date = "2012/04/09";
+my $prj = 'thumbpdf';
+my $version = "3.15";
+my $date = "2012/04/18";
my $author = "Heiko Oberdiek";
my $copyright = "Copyright (c) 1999-2012 by $author.";
#
@@ -150,6 +151,8 @@ my $copyright = "Copyright (c) 1999-2012 by $author.";
# 2011/08/10 v3.13
# * Use gswin64c in Windows with 64 bits.
# 2012/04/09 v3.14
+# 2012/04/18 v3.15
+# * Option --version added.
#
### program identification
@@ -212,6 +215,7 @@ $::opt_modes = "pdftex";
$::opt_gscmd = "";
$::opt_level2 = 0;
$::opt_help = 0;
+$::opt_version = 0;
$::opt_quiet = 0;
$::opt_debug = 0;
$::opt_verbose = 0;
@@ -234,6 +238,7 @@ Function: Support of thumbnails for pdfTeX or dvips/ps2pdf (pdfmark).
`<jobname>$pdftexext' (pdfTeX), `<jobname>$pdfmarkext' (pdfmark)
Options: (defaults:)
--help print usage
+ --version print version number
--(no)quiet suppress messages ($bool[$::opt_quiet])
--(no)verbose verbose printing ($bool[$::opt_verbose])
--(no)debug debug informations ($bool[$::opt_debug])
@@ -265,6 +270,7 @@ my @OrgArgv = @ARGV;
use Getopt::Long;
GetOptions(
"help!",
+ "version!",
"quiet!",
"debug!",
"verbose!",
@@ -286,6 +292,10 @@ GetOptions(
"greek!"
) or die $usage;
!$::opt_help or die $usage;
+if ($::opt_version) {
+ print "$prj $date v$version\n";
+ exit(0);
+}
@ARGV < 2 or die "$usage$Error Too many files!\n";
@ARGV == 1 or die "$usage$Error Missing jobname!\n";
diff --git a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty
index e67a9b1abd5..0bc646b1548 100644
--- a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty
+++ b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty
@@ -1,6 +1,6 @@
% File: thumbpdf.sty
% Project: thumbpdf
-% Version: 2012/04/09 v3.14
+% Version: 2012/04/18 v3.15
% Author: Heiko Oberdiek
%
% Function: Inclusion of thumbnails
@@ -100,6 +100,7 @@
% 2011/08/10 v3.13: Version date fixed.
% 2012/04/09 v3.14: Fix for plain TeX compatibility
% (offending \RequirePackage).
+% 2012/04/18 v3.15
%
% \THB@ is the prefix for internal command names.
%
@@ -120,7 +121,7 @@
\def\x{\endgroup\ProvidesPackage{thumbpdf}}%
\fi
\fi
-\x[2012/04/09 v3.14 Inclusion of thumbnails (HO)]%
+\x[2012/04/18 v3.15 Inclusion of thumbnails (HO)]%
% Dummy for \thisthumb and \DeclareThumbs. It is overwritten,
% if the checks succeed and the whole package is loaded.
diff --git a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
index f501ffeff31..8b375ee04ab 100644
--- a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
+++ b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
@@ -1,6 +1,6 @@
% File: thumbpdf.tex
% Project: thumbpdf
-% Version: 2012/04/09 v3.14
+% Version: 2012/04/18 v3.15
% Author: Heiko Oberdiek
%
% Copyright: Copyright (C) 1999-2012 Heiko Oberdiek.
@@ -93,9 +93,10 @@
% 2011/08/09 v3.12
% 2011/08/10 v3.13
% 2012/04/09 v3.14
+% 2012/04/18 v3.15
\immediate\write16{%
- File: thumbpdf.tex 2012/04/09 v3.14 %
+ File: thumbpdf.tex 2012/04/18 v3.15 %
Including thumbnails as images (HO)%
}
\immediate\write16{%