diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty index 44b0715e71a..e235c2135d1 100644 --- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty +++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty @@ -37,7 +37,7 @@ \RequirePackage{xparse} \RequirePackage{l3keys2e} -\ProvidesExplPackage{ocgx2}{2015/12/07}{0.14} +\ProvidesExplPackage{ocgx2}{2016/01/29}{0.15} {ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx} %creating global definitions @@ -671,6 +671,24 @@ } } +\cs_gset_eq:NN\ocgxii_atenddvi_checkimpl_orig:\AtEndDvi@CheckImpl% +\def\AtEndDvi@CheckImpl{ + \ocgxii_atenddvi_checkimpl_orig: + \cs_if_exist:NTF\AtEndDvi@LastPage{ + \int_compare:nF{\AtEndDvi@LastPage=\value{abspage}}{ + \cs_if_exist:NF\g_ocgxii_rerunwarned_tl{ + \tl_new:N\g_ocgxii_rerunwarned_tl + \msg_warning:nn{ocgx2}{rerun} + } + } + }{ + \cs_if_exist:NF\g_ocgxii_rerunwarned_tl{ + \tl_new:N\g_ocgxii_rerunwarned_tl + \msg_warning:nn{ocgx2}{rerun} + } + } +} + % tikz related code follows (to be enabled with package option `tikz') \bool_if:NF\l_ocgxii_tikz_bool{\endinput} |