texlive[51798] Master/texmf-dist: hypdvips (1aug19)

commits+karl at tug.org commits+karl at tug.org
Thu Aug 1 23:19:05 CEST 2019


Revision: 51798
          http://tug.org/svn/texlive?view=revision&revision=51798
Author:   karl
Date:     2019-08-01 23:19:05 +0200 (Thu, 01 Aug 2019)
Log Message:
-----------
hypdvips (1aug19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hypdvips/README
    trunk/Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdf
    trunk/Master/texmf-dist/doc/latex/hypdvips/images/ids.eps
    trunk/Master/texmf-dist/doc/latex/hypdvips/images/logfile.eps
    trunk/Master/texmf-dist/doc/latex/hypdvips/manifest.txt
    trunk/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty

Modified: trunk/Master/texmf-dist/doc/latex/hypdvips/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hypdvips/README	2019-08-01 21:18:51 UTC (rev 51797)
+++ trunk/Master/texmf-dist/doc/latex/hypdvips/README	2019-08-01 21:19:05 UTC (rev 51798)
@@ -1,4 +1,4 @@
-LaTeX package hypdvips 2014/06/22 v3.02
+LaTeX package hypdvips 2019/07/31 v3.03
 
 The hypdvips package is a collection of add-ons and fixes for problems when
 using hyperref with dvips. It adds support for breaking links, hyperlinked
@@ -8,7 +8,14 @@
 
 History:
 
-v3.02 - fixes erroneous "disable" and "enable" text output before and after
+v3.03 - fixes /rangecheck error in ps2pdf when the `objdef' keyword is used
+        in a \pdfmark in conjunction with package option `quadpoints=false'
+        (thanks to Joseph Wright for the bug-report)
+      - supports newer versions of KOMA-Script (fixes \bmstyle command)
+      - supports newer versions of the Ghostscript software (fixes hyperlinks
+        for version 9.14 and above)
+
+v3.02 - fixes erroneous `disable' and `enable' text output before and after
         the \tableofcontents, \listoffigures, \listoftables, and
         \listofattachments commands when hyperref option backref is disabled
         (thanks to Matthias Walter for the bug-report and to Heiko Oberdiek

Modified: trunk/Master/texmf-dist/doc/latex/hypdvips/hypdvips.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hypdvips/images/ids.eps
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hypdvips/images/logfile.eps
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hypdvips/manifest.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hypdvips/manifest.txt	2019-08-01 21:18:51 UTC (rev 51797)
+++ trunk/Master/texmf-dist/doc/latex/hypdvips/manifest.txt	2019-08-01 21:19:05 UTC (rev 51798)
@@ -10,13 +10,13 @@
 hypdvips.pdf
 hypdvips.tex (attached to hypdvips.pdf)
 README
-images/ex1.eps
-images/ex2.eps
-images/ex3.eps
-images/ex4.eps
-images/ex5.eps
-images/ex6.eps
-images/ex7.eps
+images/example1.eps
+images/example2.eps
+images/example3.eps
+images/example4.eps
+images/example5.eps
+images/example6.eps
+images/example7.eps
 images/graph.eps
 images/icon_draft.eps
 images/ids.eps

Modified: trunk/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty	2019-08-01 21:18:51 UTC (rev 51797)
+++ trunk/Master/texmf-dist/tex/latex/hypdvips/hypdvips.sty	2019-08-01 21:19:05 UTC (rev 51798)
@@ -1,6 +1,6 @@
 %%
 %% This is file `hypdvips.sty',
-%% Copyright 2008-2014 Raimund Niedrist
+%% Copyright 2008-2019 Raimund Niedrist
 %%
 %% With portions written by Donald Arsenau, David Carlisle, Steven
 %% Douglas Cochran, Toby Cubitt, Geoffrey Keating, Heiko Oberdiek,
@@ -22,7 +22,7 @@
 %%
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{hypdvips}
-  [2014/06/22 v3.02
+  [2019/07/31 v3.03
   Hyperref extensions for use with dvips]
 \@ifpackageloaded{hyperref}
   {
@@ -407,7 +407,7 @@
 \pp at PScatcodes
 \pp at HeaderPS{
   true setglobal
-    /pp.globaldict 8 dict def
+    /pp.globaldict 10 dict def
     pp.globaldict /pp.gsborderwarning true put
     pp.globaldict /pp.starttime realtime put
     pp.globaldict /pp.warncount 0 put
@@ -782,6 +782,7 @@
     } def
   /pp.appendef {pop pop} def
   /pp.putefnametree {} def
+  /pp.adddest {} def
 %
 % substitute for /EMBED-pdfmark:
 %
@@ -817,6 +818,36 @@
     /pp.appendef {pp.subst.appendef} def
     /pp.putefnametree {pp.subst.putefnametree} def
     } def
+%
+% substitute for /DEST-pdfmark:
+%
+  /pp.subst.adddest
+    {
+    true setglobal
+      View length 1 add array
+    false setglobal
+    dup 0 pp.globaldict /pp.currentpage get put
+    dup 1 View putinterval
+    pp.globaldict /pp.dests get exch Dest exch put
+    mark
+    {Catalog}
+      <<
+      /Dests pp.globaldict /pp.dests get
+      >>
+    /PUT pp.backup.pdfmark
+    } def
+  /pp.substDESTpdfmark
+    {
+    true setglobal
+      SDict /pp.globaldict get /pp.dests 65534 dict put
+      SDict /pp.globaldict get /pp.currentpage 0 put
+    false setglobal
+    userdict /eop-hook
+      {
+      SDict /pp.globaldict get dup /pp.currentpage get 1 add /pp.currentpage exch put
+      } put
+    /pp.adddest {pp.subst.adddest} def
+    } def
   /pp.strippt % arguments: string
     {
     (pt) search
@@ -1107,6 +1138,14 @@
     } def
   /pp.writebrokenlink % arguments: /ANN-pdfmark with /Rect as last entry and without /ANN
     {
+    counttomark 1 sub index /_objdef eq
+      {
+      counttomark -2 roll dup wcheck
+        {readonly counttomark 2 roll}
+        {pop pop}
+      ifelse
+      }
+    if
     counttomark 1 add copy
     pop pp.currentrect
     /ANN pp.backup.pdfmark
@@ -1227,6 +1266,7 @@
           ifelse
           }
         if
+        pp.adddest
         end
       currentdict /pp.pdfmarkcontent undef
       }
@@ -1708,10 +1748,9 @@
         {
         dup 0 get 47 eq % /
           {
-          1 1 index length 1 sub getinterval
+          1 1 index length 1 sub getinterval cvn
           }
         if
-        cvn
         }
       if
       }
@@ -1869,10 +1908,11 @@
     if
     }
   if
-  product (AFPL Ghostscript) eq
-  product (GPL Ghostscript) eq or
+  product (Ghostscript) search
     {
-    pp.substEMBEDpdfmark
+    pop pop pop
+    revision 914 lt {pp.substEMBEDpdfmark} if
+    revision 914 eq {pp.substDESTpdfmark} if
     /BorderArrayPatch
       {
       [ exch
@@ -1897,7 +1937,10 @@
       forall ]
       } def
     }
-  if
+    {
+    pop
+    }
+  ifelse
     <<
     /DeferredMediaSelection true
     /PageSize [\strip at pt\paperwidth\space pp.ptToBP \strip at pt\paperheight\space pp.ptToBP]
@@ -2287,8 +2330,16 @@
   {\def\Hy at numberline#1{#1\autodot~}}
 
 \bookmarkdefinestyle{pp at bmstyle@empty}{italic=false,bold=false,color={},rellevel=0,keeplevel=true}
-\let\pp at backup@@startsection\@startsection
-\def\@startsection#1#2#3#4#5#6{%
+\@ifundefined{scr at startsection}
+  {
+  \let\pp at backup@@startsection\@startsection
+  \def\@startsection{\pp at startsection}
+  }
+  {
+  \let\pp at backup@@startsection\scr at startsection
+  \def\scr at startsection{\pp at startsection}
+  }
+\def\pp at startsection#1#2#3#4#5#6{%
   \bookmarksetup{style=pp at bmstyle@empty}%
   \ifx\@M#2%
     \xdef\BKM at currentlevel{1}%
@@ -3072,7 +3123,7 @@
       \csname l@#1\endcsname{#2}{#3}%
     \or % section
       \csname l@#1\endcsname{%
-        \hyper@@link{}{\Hy at tocdestname}{#2}
+        \hyper@@link{}{\Hy at tocdestname}{#2}%
       }{#3}%
     \or % page
       \def\Hy at temp{#3}%
@@ -3080,7 +3131,7 @@
         \csname l@#1\endcsname{#2}{#3}%
       \else
         \csname l@#1\endcsname{{#2}}{%
-          \hyper@@link{}{\Hy at tocdestname}{#3}
+          \hyper@@link{}{\Hy at tocdestname}{#3}%
         }%
       \fi
     \else % all
@@ -3087,13 +3138,13 @@
       \def\Hy at temp{#3}%
       \ifx\Hy at temp\ltx at empty
         \csname l@#1\endcsname{%
-          \hyper@@link{}{\Hy at tocdestname}{#2}
+          \hyper@@link{}{\Hy at tocdestname}{#2}%
         }{}%
       \else
         \csname l@#1\endcsname{%
-          \hyper@@link{}{\Hy at tocdestname}{#2}
+          \hyper@@link{}{\Hy at tocdestname}{#2}%
         }{%
-          \hyper@@link{}{\Hy at tocdestname}{#3}
+          \hyper@@link{}{\Hy at tocdestname}{#3}%
         }%
       \fi
     \fi
@@ -3582,7 +3633,8 @@
       \fi%
     \else
       \pp at tabbutton%
-    \fi%      
+    \fi%
+    \normalsize\hskip1pt%
 }
 
 \edef\@tablenotecolor{\@linkcolor}
@@ -3598,7 +3650,7 @@
         pdfmark=/DEST,%
         linktype=anchor,%
         View={/\@pdfview \@pdfviewparams},%
-        Dest={\@currentHlabel.note: \pp at string}%
+        Dest={\@currentHlabel.note:\pp at string}%
         }%
       }%
     \renewcommand{\tnote}[1]{%
@@ -3618,7 +3670,7 @@
             BorderStyle=\@pdfborderstyle,%
             Color=\@tablenotebordercolor,%
             View={/\@pdfview \@pdfviewparams},%
-            Dest={\@currentHlabel.note: \pp at string}%
+            Dest={\@currentHlabel.note:\pp at string}%
             }%
         \fi}}%
       }



More information about the tex-live-commits mailing list