summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty')
-rw-r--r--Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty22
1 files changed, 11 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty b/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty
index 0d1cc4a73dd..e8df5e87df6 100644
--- a/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty
+++ b/Master/texmf-dist/tex/latex/ocgx2/ocgbase.sty
@@ -102,8 +102,8 @@
\RequirePackage{l3keys2e}
-\def\g@ocgbase@date@tl{2021/06/11}
-\def\g@ocgbase@version@tl{0.20}
+\def\g@ocgbase@date@tl{2022/04/01}
+\def\g@ocgbase@version@tl{0.21}
\ProvidesExplPackage{ocgbase}{\g@ocgbase@date@tl}{\g@ocgbase@version@tl}
{support package for ocgx2.sty}
@@ -229,7 +229,7 @@
%macro for starting OCG object (and nested children) insertion into Order
%hierarchy (shown as tree structure in the viewers `Layers' tab
-\cs_new_protected:Nn\ocgbase_tree_node_begin:n{ % #1: OCG obj
+\cs_new_protected_nopar:Nn\ocgbase_tree_node_begin:n{ % #1: OCG obj
%get the parent node from stack
\seq_get:NN\g_ocgbase_tree_nd_stack_seq\l__ocgbase_prnt_tl
\tl_if_exist:cTF{g_ocgbase_nd_\l__ocgbase_prnt_tl _chld_tl}{
@@ -281,7 +281,7 @@
% the node which refers to the same OCG (arg #2 remains un-modified), or
% the last sibling inserted (arg #2 is cleared);
% the node id of the sibling found is returned in arg #1
-\cs_new:Nn\ocgbase_traverse_siblings:NN{
+\cs_new_protected:Nn\ocgbase_traverse_siblings:NN{
% #1: current node (in/out), #2: OCG obj (in/out)
\str_if_eq:eeF{#2}{\tl_use:c{g_ocgbase_nd_#1_ocg_tl}}{
\tl_if_exist:cTF{g_ocgbase_nd_#1_sbl_tl}{
@@ -293,7 +293,7 @@
}
}
-\cs_new:Nn\ocgbase_build_order:Nn{
+\cs_new_protected_nopar:Nn\ocgbase_build_order:Nn{
% (recursive macro)
% #1: tl var to which the OCG order is written (output)
% #2: starting node id (input; usually `1')
@@ -474,8 +474,8 @@
\RequirePackage{l3keys2e}
-\def\g@ocgbase@date@tl{2021/06/11}
-\def\g@ocgbase@version@tl{0.20}
+\def\g@ocgbase@date@tl{2022/04/01}
+\def\g@ocgbase@version@tl{0.21}
\ProvidesExplPackage{ocgbase}{\g@ocgbase@date@tl}{\g@ocgbase@version@tl}
{support package for ocgx2.sty}
@@ -592,7 +592,7 @@
\tl_gset:Nx\g_ocgbase_last_ocg_tl{\pdf_object_ref_last:}
\tl_gset:cx{g_pbs_objname_\pdf_object_ref_last: _tl}{
g_object_\int_use:N\g_ocgbase_int _pdf
- }
+ }
\int_gincr:N\g_ocgbase_int
}
@@ -606,7 +606,7 @@
%macro for starting OCG object (and nested children) insertion into Order
%hierarchy (shown as tree structure in the viewers `Layers' tab
-\cs_new_protected:Nn\ocgbase_tree_node_begin:n{ % #1: OCG obj
+\cs_new_protected_nopar:Nn\ocgbase_tree_node_begin:n{ % #1: OCG obj
%get the parent node from stack
\seq_get:NN\g_ocgbase_tree_nd_stack_seq\l__ocgbase_prnt_tl
\tl_if_exist:cTF{g_ocgbase_nd_\l__ocgbase_prnt_tl _chld_tl}{
@@ -658,7 +658,7 @@
% the node which refers to the same OCG (arg #2 remains un-modified), or
% the last sibling inserted (arg #2 is cleared);
% the node id of the sibling found is returned in arg #1
-\cs_new:Nn\ocgbase_traverse_siblings:NN{
+\cs_new_protected:Nn\ocgbase_traverse_siblings:NN{
% #1: current node (in/out), #2: OCG obj (in/out)
\str_if_eq:eeF{#2}{\tl_use:c{g_ocgbase_nd_#1_ocg_tl}}{
\tl_if_exist:cTF{g_ocgbase_nd_#1_sbl_tl}{
@@ -670,7 +670,7 @@
}
}
-\cs_new:Nn\ocgbase_build_order:Nn{
+\cs_new_protected_nopar:Nn\ocgbase_build_order:Nn{
% (recursive macro)
% #1: tl var to which the OCG order is written (output)
% #2: starting node id (input; usually `1')