summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/ocgx2/ChangeLog6
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty11
2 files changed, 11 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
index f7ed81244bb..e7ee6dc96c2 100644
--- a/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
+++ b/Master/texmf-dist/doc/latex/ocgx2/ChangeLog
@@ -1,10 +1,14 @@
+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
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
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
index 105e54e119d..1bd15ab8f42 100644
--- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
+++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
@@ -37,8 +37,8 @@
\RequirePackage{xparse}
\RequirePackage{l3keys2e}
-\def\g@ocgxii@date@tl{2017/06/07}
-\def\g@ocgxii@version@tl{0.28}
+\def\g@ocgxii@date@tl{2017/06/08}
+\def\g@ocgxii@version@tl{0.29}
\ProvidesExplPackage{ocgx2}{\g@ocgxii@date@tl}{\g@ocgxii@version@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@begingroup
+ \tl_set_eq:NN\color@setgroup\group_begin:
}
\cs_new_nopar:Nn\ocgxii_colourlink_nobreak_end:{
- \hbox_set_end:
+ \color@endgroup\hbox_set_end:
\mbox{
\ocgbase_oc_bdc:n{\ocgxii@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@OCView}
\group_begin: