summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-12-07 22:22:02 +0000
committerKarl Berry <karl@freefriends.org>2015-12-07 22:22:02 +0000
commitd38cb28960d2a0b887d90d57ea09ab06ebde293f (patch)
treec3d8167696e520cd038d8de898a3a31e24e528bf /Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
parent8c1327256a3343e32ed31678b9dc84ae4fd38644 (diff)
ocgx2 (7dec15)
git-svn-id: svn://tug.org/texlive/trunk@39042 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgx2.sty
index 8c55dbbf92d..44b0715e71a 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/03}{0.13}
+\ProvidesExplPackage{ocgx2}{2015/12/07}{0.14}
{ports `ocgx' functionality to dvips+ps2pdf, xelatex and dvipdfmx}
%creating global definitions
@@ -123,7 +123,7 @@
\bool_if:NT\g_ocgxii_nestedB_bool{
\seq_gput_left:Nx\g_ocgxii_nested_seq{
\seq_item:Nn\g_ocgxii_ocgstack_seq{\c_one}
- }
+ }
\ocgbase_add_to_order_list:n{[}
}
\bool_gset_true:N\g_ocgxii_nestedB_bool
@@ -140,9 +140,9 @@
\bool_gset_false:N\g_ocgxii_nestedB_bool
}
\bool_if:nTF{ %initial visibility
- \str_if_eq_p:nn{#4}{\c_one} ||
- \str_if_eq_p:nn{#4}{on} ||
- \str_if_eq_p:nn{#4}{true}
+ \str_if_eq_x_p:nn{#4}{1} ||
+ \str_if_eq_x_p:nn{#4}{on} ||
+ \str_if_eq_x_p:nn{#4}{true}
}{
\ocgbase_del_from_off_list:n{\tl_use:c{ocgxii@#3}}
}{
@@ -233,7 +233,7 @@
}
\ocgxii@stack@on@page{0}{} %initialize
-%end of page action in output routine
+%end-of-page action in output routine
\cs_new_nopar:Nn\ocgxii_at_end_page:{
%check whether end-of-page ocg stack has settled
\iow_shipout:Nx\@mainaux{
@@ -265,7 +265,7 @@
}
}
-%begin of page action in output routine
+%begin-of-page action in output routine
\cs_new_nopar:Nn\ocgxii_at_begin_page:{
% re-open pending ocgs
\seq_set_eq:Nc\l_ocgxii_temp_seq{
@@ -480,9 +480,9 @@
/A <</S/SetOCGState
/State [
\str_if_eq:VnF{\l_ocgxii_toswitch_u_tl}{}{
- /Toggle~\l_ocgxii_toswitch_tl}~
- \str_if_eq:VnF{\l_ocgxii_toshow_u_tl}{}{/ON~\l_ocgxii_toshow_tl}~
- \str_if_eq:VnF{\l_ocgxii_tohide_u_tl}{}{/OFF~\l_ocgxii_tohide_tl}
+ /Toggle~\l_ocgxii_toswitch_u_tl}~
+ \str_if_eq:VnF{\l_ocgxii_toshow_u_tl}{}{/ON~\l_ocgxii_toshow_u_tl}~
+ \str_if_eq:VnF{\l_ocgxii_tohide_u_tl}{}{/OFF~\l_ocgxii_tohide_u_tl}
]
>>
/Border [0~0~0]