diff options
author | Norbert Preining <norbert@preining.info> | 2020-06-12 03:02:39 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-06-12 03:02:39 +0000 |
commit | c2fde990c352049f8aa6bc9629fee95bad518cde (patch) | |
tree | 19a9e8ae604d0ec51d24793dca25bbec46110fe3 /macros/latex/contrib/ocgx2/ocgx2.sty | |
parent | e3a95d205140a9c1ec8bc34f9a6125d8074f5e58 (diff) |
CTAN sync 202006120302
Diffstat (limited to 'macros/latex/contrib/ocgx2/ocgx2.sty')
-rw-r--r-- | macros/latex/contrib/ocgx2/ocgx2.sty | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/macros/latex/contrib/ocgx2/ocgx2.sty b/macros/latex/contrib/ocgx2/ocgx2.sty index bd2e4cb96a..a0dce3b500 100644 --- a/macros/latex/contrib/ocgx2/ocgx2.sty +++ b/macros/latex/contrib/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:{ |