summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-07-09 23:34:51 +0000
committerKarl Berry <karl@freefriends.org>2010-07-09 23:34:51 +0000
commit79a8dbd649abbc830f0ae0e0445ca2bf8313e793 (patch)
tree57019d1ca4f524accfa5f5c3d2a8a203c59fe4ea /Master
parent08f969358f3f17343977b49d670e45aa7d82dc24 (diff)
thumbpdf update (8jul10)
git-svn-id: svn://tug.org/texlive/trunk@19315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/thumbpdf/readme.txt15
-rwxr-xr-xMaster/texmf-dist/scripts/thumbpdf/thumbpdf.pl10
-rw-r--r--Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty17
-rw-r--r--Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex20
4 files changed, 48 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/generic/thumbpdf/readme.txt b/Master/texmf-dist/doc/generic/thumbpdf/readme.txt
index 3451b37088b..48acbcd02c3 100644
--- a/Master/texmf-dist/doc/generic/thumbpdf/readme.txt
+++ b/Master/texmf-dist/doc/generic/thumbpdf/readme.txt
@@ -1,4 +1,4 @@
-readme.txt for project thumbpdf 2008/04/16 v3.10
+readme.txt for project thumbpdf 2010/07/07 v3.11
TABLE OF CONTENTS
=================
@@ -50,7 +50,7 @@ In the following the user TeX file is called `<jobname>.tex'.
B. COPYRIGHT, DISCLAIMER, LICENSE
=================================
-Copyright (C) 1999-2008 Heiko Oberdiek.
+Copyright (C) 1999-2010 Heiko Oberdiek.
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
@@ -112,7 +112,7 @@ E. INSTALLATION
of your choice and update the file data base when your
distribution supports it (mikTeX, teTeX, TeX Live, ...).
Check E.2 for installation of the perl script.
-
+
Alternatively you can install the files manually:
The files
`readme.txt' (documentation)
@@ -401,7 +401,7 @@ or for the dvips/ps2pdf route:
G. AUTHOR
=========
Heiko Oberdiek
-Email: oberdiek@ruf.uni-freiburg.de
+Email: heiko.oberdiek at googlemail.com
H. QUESTIONS, SUGGESTED IMPROVEMENTS
====================================
@@ -425,6 +425,9 @@ Other ps->pdf routes:
I. KNOWN PROBLEMS
=================
+* Compressed PDF objects (version PDF-1.5) are not supported,
+ thus the PDF file should be generated with \pdfobjcompresslevel=0,
+ before running thumbpdf.
* The most bug reports I get are perl script error messages regarding
Ghostscript. Especially versions below 5.50 often have problems
with the pdf support. Sometimes it can be necessary to update
@@ -600,3 +603,7 @@ J. HISTORY
* Deprecation warning of perl 5.8.8 fixed.
2008/04/16 v3.10:
* TDS archive `thumbpdf.tds.zip' provided.
+2010/07/07 v3.11:
+ * \pdfcompresslevel=0 and \pdfminorversion=4 added for thumbpdf.tex.
+ * \input is used with file name extension for "thumbpdf.tex".
+ * Warning if \pdfobjcompresslevel>0.
diff --git a/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl b/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl
index 02ed86e190f..9dc544b77e8 100755
--- a/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl
+++ b/Master/texmf-dist/scripts/thumbpdf/thumbpdf.pl
@@ -26,10 +26,10 @@ $^W=1; # turn warning on
#
my $file = "thumbpdf.pl";
my $program = uc($&) if $file =~ /^\w+/;
-my $version = "3.10";
-my $date = "2008/04/16";
+my $version = "3.11";
+my $date = "2010/07/07";
my $author = "Heiko Oberdiek";
-my $copyright = "Copyright (c) 1999-2008 by $author.";
+my $copyright = "Copyright (c) 1999-2010 by $author.";
#
# Reqirements: Perl5, Ghostscript
# History:
@@ -145,6 +145,8 @@ my $copyright = "Copyright (c) 1999-2008 by $author.";
# 2007/11/07 v3.9:
# * Deprecation warning of perl 5.8.8 fixed.
# 2008/04/16 v3.10
+# 2010/07/07 v3.11
+# * \input is used with file name extension for "thumbpdf.tex".
#
### program identification
@@ -180,7 +182,7 @@ my $thumbprefix = "thb";
my $envvar = "THUMBPDF";
my $pdffile = "thumbpdf.pdf";
my $logfile = "thumbpdf.log";
-my $texfile = "thumbpdf";
+my $texfile = "thumbpdf.tex";
my $package = "thumbpdf.sty";
my $readme = "readme.txt";
my $gscnffile = "thumbpdf.gs";
diff --git a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty
index 6ab97374c3f..2c925afbd7e 100644
--- a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty
+++ b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty
@@ -1,11 +1,11 @@
% File: thumbpdf.sty
% Project: thumbpdf
-% Version: 2008/04/16 v3.10
+% Version: 2010/07/07 v3.11
% Author: Heiko Oberdiek
%
% Function: Inclusion of thumbnails
%
-% Copyright: Copyright (C) 1999-2008 Heiko Oberdiek.
+% Copyright: Copyright (C) 1999-2010 Heiko Oberdiek.
%
% This work may be distributed and/or modified under
% the conditions of the LaTeX Project Public License,
@@ -95,6 +95,7 @@
% 2005/07/06 v3.8
% 2007/11/07 v3.9
% 2008/04/16 v3.10
+% 2010/07/07 v3.11: Warning if \pdfobjcompresslevel>0.
%
% \THB@ is the prefix for internal command names.
%
@@ -115,7 +116,7 @@
\def\x{\endgroup\ProvidesPackage{thumbpdf}}%
\fi
\fi
-\x[2008/04/16 v3.10 Inclusion of thumbnails (HO)]%
+\x[2010/07/07 v3.11 Inclusion of thumbnails (HO)]%
% Dummy for \thisthumb and \DeclareThumbs. It is overwritten,
% if the checks succeed and the whole package is loaded.
@@ -269,6 +270,16 @@
\global\let\ThumbpdfDriver\THB@pdftex
\fi
+ % Check \pdfobjcompresslevel
+ \expandafter\ifx\csname pdfobjcompresslevel\endcsname\relax
+ \else
+ \ifnum\pdfobjcompresslevel>0 %
+ \PackageWarningNoLine{\THB@name}{%
+ Compressed PDF objects of PDF 1.5 are not supported%
+ }%
+ \fi
+ \fi
+
% Check: Does data file exists?
\edef\THB@datafile{%
\jobname.tp\ifx\ThumbpdfDriver\THB@pdftex t\else m\fi
diff --git a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
index 8b534992b4c..148edbed8e2 100644
--- a/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
+++ b/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
@@ -1,9 +1,9 @@
% File: thumbpdf.tex
% Project: thumbpdf
-% Version: 2008/14/16 v3.10
+% Version: 2010/07/07 v3.11
% Author: Heiko Oberdiek
%
-% Copyright: Copyright (C) 1999-2008 Heiko Oberdiek.
+% Copyright: Copyright (C) 1999-2010 Heiko Oberdiek.
%
% This work may be distributed and/or modified under
% the conditions of the LaTeX Project Public License,
@@ -88,9 +88,11 @@
% 2005/07/06 v3.8
% 2007/11/07 v3.9
% 2008/04/16 v3.10
+% 2010/07/07 v3.11: \pdfcompresslevel=0 and
+% \pdfminorversion=4 added.
\immediate\write16{%
- File: thumbpdf.tex 2008/04/16 v3.10 %
+ File: thumbpdf.tex 2010/07/07 v3.11 %
Including thumbnails as images (HO)%
}
\immediate\write16{%
@@ -123,6 +125,18 @@
\pdfoutput=1
+% Disable \pdfobjcompresslevel
+\ifx\pdfobjcompresslevel\undefined
+\else
+ \pdfobjcompresslevel=0 %
+\fi
+\ifx\pdfminorversion\undefined
+\else
+ \ifnum\pdfminorversion>4 %
+ \pdfminorversion=4 %
+ \fi
+\fi
+
% this file is tested with pdfTeX 0.13a
% but for downward compatibilty a trick from Hans Hagen:
\ifnum\pdftexversion<13 \ifnum\expandafter `\pdftexrevision<`s