From 1732d5000981939af71afb352e1928c3a5a8e9da Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 8 Jun 2017 21:23:05 +0000 Subject: ocgx2 (8jun17) git-svn-id: svn://tug.org/texlive/trunk@44528 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex') 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: -- cgit v1.2.3