diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty index 0b43c9e0e9b..5b1872cd213 100644 --- a/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty +++ b/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty @@ -94,7 +94,6 @@ % The Current Maintainer of this work is A. Grahn. \RequirePackage{expl3} -\RequirePackage{atenddvi} \RequirePackage{pdfbase} \def\g@ocgbase@date@tl{2017/03/16} @@ -107,7 +106,7 @@ \seq_new:N\g_ocgbase_ocgorder_seq \seq_new:N\g_ocgbase_offocgs_seq -\AtEndDvi{ +\pbs_at_end_dvi:n{ \tl_if_empty:NF\g_ocgbase_ocgs_tl{ %global OCG array \pbs_pdfobj:nnn{}{array}{\g_ocgbase_ocgs_tl} @@ -295,7 +294,7 @@ \cs_new_nopar:Nn\ocgbase_ocgstack_pop:N{\seq_gpop:NN\g_ocgbase_ocgstack_seq#1} %get top OCG on stack, without removing it \cs_new_nopar:Nn\ocgbase_ocgstack_top:{ - \seq_item:Nn\g_ocgbase_ocgstack_seq{c_one}} + \seq_item:Nn\g_ocgbase_ocgstack_seq{\c_one}} %command that inserts /OC <<OCMD with currently open OCGs>> entry; %for use within annotation/xobject dicts |