diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty')
-rw-r--r-- | Master/texmf-dist/tex/generic/thumbpdf/thumbpdf.sty | 17 |
1 files changed, 14 insertions, 3 deletions
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 |