diff options
author | Karl Berry <karl@freefriends.org> | 2020-06-11 21:10:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-06-11 21:10:56 +0000 |
commit | 0731fbc086c6265354b163d811280f199f2ac3f5 (patch) | |
tree | 6c775fb1af2504cccf2116621ad26cbfea2eac18 /Master/texmf-dist/tex/latex/ocgx2 | |
parent | 332324fd9c3ea44b44a430649856775c140fc38a (diff) |
ocgx2 (11jun20)
git-svn-id: svn://tug.org/texlive/trunk@55519 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ocgx2')
-rw-r--r-- | Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty | 11 |
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 bd2e4cb96a7..a0dce3b5007 100644 --- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty +++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty @@ -40,8 +40,8 @@ \RequirePackage{xparse} \RequirePackage{l3keys2e} -\def\g@ocgxii@date@tl{2019/11/07} -\def\g@ocgxii@version@tl{0.48} +\def\g@ocgxii@date@tl{2020/06/11} +\def\g@ocgxii@version@tl{0.49} \ProvidesExplPackage{ocgx2}{\g@ocgxii@date@tl}{\g@ocgxii@version@tl} {ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx} @@ -1120,9 +1120,7 @@ % (dingbats) font at the end of every ocgcolorlink in order to prevent % empty links from flooding the page with link colour \cs_new_nopar:Npn\ocgxii_tiny_space_char:{ - \group_begin: - \font\l_tmpa_tl=pzdr~scaled~1\l_tmpa_tl\char32 - \group_end: + \group_begin: \font\l_tmpa_tl=pzdr~scaled~1\l_tmpa_tl\char32 \group_end: } \bool_if:nTF{\sys_if_output_dvi_p: && !\g_ocgxii_dvipdfmx_bool}{ @@ -1181,6 +1179,9 @@ } \bool_if:NT\l_ocgxii_ocgcolorlinks_bool{ \cs_gset_nopar:Nn\ocgxii_colourlink_begin:{ + %tiny space char put here in order to neutralise possible transformation + %matrix modifications from previous \pdfliteral{} (TikZ makes a lot use of it) + \hbox_overlap_left:n{\ocgxii_tiny_space_char:} \pbs_literal:nn{page}{q~7~Tr} } \cs_gset_nopar:Nn\ocgxii_colourlink_end:{ |