summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/xsavebox/xsavebox.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/xsavebox/xsavebox.sty')
-rw-r--r--macros/latex/contrib/xsavebox/xsavebox.sty16
1 files changed, 4 insertions, 12 deletions
diff --git a/macros/latex/contrib/xsavebox/xsavebox.sty b/macros/latex/contrib/xsavebox/xsavebox.sty
index 164dfab829..686640aaa9 100644
--- a/macros/latex/contrib/xsavebox/xsavebox.sty
+++ b/macros/latex/contrib/xsavebox/xsavebox.sty
@@ -45,18 +45,11 @@
%
% The Current Maintainer of this work is A. Grahn.
-%process non-detectable dvipdfmx driver for passing to expl3
-\RequirePackage{xkeyval}
-\DeclareOptionX{dvipdfmx}{%
- \PassOptionsToPackage{driver=dvipdfmx}{expl3}
-}
-\DeclareOptionX*{}\ProcessOptionsX*\relax %allow anything as an option
-
\RequirePackage{xparse}
\RequirePackage{l3keys2e}
-\def\g@xsb@version@tl{0.14}
-\def\g@xsb@date@tl{2019/08/13}
+\def\g@xsb@version@tl{0.15}
+\def\g@xsb@date@tl{2019/11/12}
\ProvidesExplPackage{xsavebox}{\g@xsb@date@tl}{\g@xsb@version@tl}
{saveboxes for repeating content without code replication}
@@ -122,7 +115,6 @@
\msg_error:nnn{xsavebox}{support~outdated}{pdfbase.sty}
\tex_endinput:D
}
-\cs_gset_eq:NN\xsb@newkey\pbs@newkey
\cs_gset_eq:NN\xsb_pdfxform:nnnnn\pbs_pdfxform:nnnnn
\cs_gset_eq:NN\xsb_pdflastxform:\pbs_pdflastxform:
\cs_gset_eq:NN\xsb_pdfrefxform:n\pbs_pdfrefxform:n
@@ -313,14 +305,14 @@
}
%for tracking box usage
\iow_now:Nx\@mainaux{
- \token_to_str:N\xsb@newkey{xsb@\int_use:N\g_xsb_id_int}{false}
+ \token_to_str:N\pbs@newkey{xsb@\int_use:N\g_xsb_id_int}{false}
}
%define command for inserting the m-boxed XObject reference
\cs_gset_protected:cpx{the#1}{
\exp_not:N\tl_if_exist:cF{xsb_\int_use:N\g_xsb_id_int}{
%mark box as `used'
\exp_not:N\iow_now:Nx\@mainaux{
- \token_to_str:N\xsb@newkey{xsb@\int_use:N\g_xsb_id_int}{true}
+ \token_to_str:N\pbs@newkey{xsb@\int_use:N\g_xsb_id_int}{true}
}
\exp_not:N\tl_new:c{xsb_\int_use:N\g_xsb_id_int}
}