texlive[44528] Master/texmf-dist: ocgx2 (8jun17)

commits+karl at tug.org commits+karl at tug.org
Thu Jun 8 23:23:05 CEST 2017


Revision: 44528
          http://tug.org/svn/texlive?view=revision&revision=44528
Author:   karl
Date:     2017-06-08 23:23:05 +0200 (Thu, 08 Jun 2017)
Log Message:
-----------
ocgx2 (8jun17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
    trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty

Modified: trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog	2017-06-08 21:22:51 UTC (rev 44527)
+++ trunk/Master/texmf-dist/doc/latex/ocgx2/ChangeLog	2017-06-08 21:23:05 UTC (rev 44528)
@@ -1,3 +1,7 @@
+2017-06-08
+	* v0.29 : ocgx2.sty
+	* fix: wrong box number in internal macro, ocgcolorlinks broken for dvips
+
 2017-06-07
 	* v0.28 : ocgx2.sty
 	* fix: hotfix from v0.27 replaced
@@ -4,7 +8,7 @@
 
 2017-06-07
 	* v0.27 : ocgx2.sty
-	* fix: hotfix to cope with a change of \hbox:N in expl3 [2017/05/13]
+	* fix: hotfix to cope with a change of \hbox:n in expl3 [2017/05/13]
 
 2017-05-12
 	* v0.26 : ocgx2.sty

Modified: trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty	2017-06-08 21:22:51 UTC (rev 44527)
+++ trunk/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty	2017-06-08 21:23:05 UTC (rev 44528)
@@ -37,8 +37,8 @@
 \RequirePackage{xparse}
 \RequirePackage{l3keys2e}
 
-\def\g at ocgxii@date at tl{2017/06/07}
-\def\g at ocgxii@version at tl{0.28}
+\def\g at ocgxii@date at tl{2017/06/08}
+\def\g at ocgxii@version at tl{0.29}
 
 \ProvidesExplPackage{ocgx2}{\g at ocgxii@date at tl}{\g at ocgxii@version at tl}
 {ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}
@@ -681,13 +681,14 @@
 \cs_new_nopar:Nn\ocgxii_colourlink_begin:{}
 \cs_new_nopar:Nn\ocgxii_colourlink_end:{}
 \cs_new_nopar:Nn\ocgxii_colourlink_nobreak_begin:{
-  \hbox_set:Nw\l_tmpa_box
+  \hbox_set:Nw\l_tmpa_box\color at begingroup
+    \tl_set_eq:NN\color at setgroup\group_begin:
 }
 \cs_new_nopar:Nn\ocgxii_colourlink_nobreak_end:{
-  \hbox_set_end:
+  \color at endgroup\hbox_set_end:
   \mbox{
     \ocgbase_oc_bdc:n{\ocgxii at OCPrint}
-    \hbox_to_zero:n{\box_use:N0\hss}
+    \hbox_to_zero:n{\box_use:N\l_tmpa_box\hss}
     \ocgbase_oc_emc:
     \ocgbase_oc_bdc:n{\ocgxii at OCView}
     \group_begin:



More information about the tex-live-commits mailing list