From b939be2da81f239e8014c619acf5a31d45f2e5c2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 26 Jan 2021 21:47:44 +0000 Subject: ocgx2 (26jan21) git-svn-id: svn://tug.org/texlive/trunk@57531 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty') diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty index a0dce3b5007..470057f619f 100644 --- a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty +++ b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty @@ -37,11 +37,10 @@ % % The Current Maintainer of this work is A. Grahn. -\RequirePackage{xparse} \RequirePackage{l3keys2e} -\def\g@ocgxii@date@tl{2020/06/11} -\def\g@ocgxii@version@tl{0.49} +\def\g@ocgxii@date@tl{2021/01/25} +\def\g@ocgxii@version@tl{0.50} \ProvidesExplPackage{ocgx2}{\g@ocgxii@date@tl}{\g@ocgxii@version@tl} {ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx} @@ -1255,16 +1254,20 @@ /Export<> }{on} \tl_gset:cx{ocgxii_ocg_OCView}{\ocgbase_last_ocg:} + \ocgbase_add_ocg_to_radiobtn_grp:nn{OCPrintViewGrp}{\ocgbase_last_ocg:} %in case somebody wants to reopen with \begin{ocg}... \tl_gset:cx{ocgxii_ocg_OCView.opts}{ - showingui=never,printocg=never,exportocg=never} + showingui=never,printocg=never,exportocg=never, + radiobtngrp=OCPrintViewGrp} \ocgbase_new_ocg:nnn{OCPrint}{ /Print<> /Export<> }{off} \tl_gset:cx{ocgxii_ocg_OCPrint}{\ocgbase_last_ocg:} + \ocgbase_add_ocg_to_radiobtn_grp:nn{OCPrintViewGrp}{\ocgbase_last_ocg:} \tl_gset:cx{ocgxii_ocg_OCPrint.opts}{ - showingui=never,printocg=always,exportocg=always} + showingui=never,printocg=always,exportocg=always, + radiobtngrp=OCPrintViewGrp} \ocgxii_enable_ocglinks: \iow_now:Nx\@mainaux{ \token_to_str:N\ocgxii@newkey{ocgx2.ocg.OCView}{ -- cgit v1.2.3