summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ocgx2
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-08 21:23:05 +0000
committerKarl Berry <karl@freefriends.org>2017-06-08 21:23:05 +0000
commit1732d5000981939af71afb352e1928c3a5a8e9da (patch)
tree5ca60e803c90500e541bc5a8b8f4d0fd4f335b60 /Master/texmf-dist/tex/latex/ocgx2
parentc387b4335d941ac26001069af7765cd3f2f6d2eb (diff)
ocgx2 (8jun17)
git-svn-id: svn://tug.org/texlive/trunk@44528 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ocgx2')
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty11
1 files changed, 6 insertions, 5 deletions
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: