summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex')
-rw-r--r--Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.tex20
1 files changed, 17 insertions, 3 deletions
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