diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-09 21:27:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-09 21:27:37 +0000 |
commit | 6ca039fc0b1d265e7247d7d425ecf48f1a009963 (patch) | |
tree | 5532306998d4fbd73065b5b224802fbb2f4d4dd9 /Master/texmf-dist/tex/latex/xsavebox | |
parent | 310afd92e855360332766e5f61812ec9b9ea6cb7 (diff) |
xsavebox (9jul18)
git-svn-id: svn://tug.org/texlive/trunk@48171 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xsavebox')
-rw-r--r-- | Master/texmf-dist/tex/latex/xsavebox/xsavebox.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/xsavebox/xsavebox.sty b/Master/texmf-dist/tex/latex/xsavebox/xsavebox.sty index 0e001c446b4..21bc7116136 100644 --- a/Master/texmf-dist/tex/latex/xsavebox/xsavebox.sty +++ b/Master/texmf-dist/tex/latex/xsavebox/xsavebox.sty @@ -49,8 +49,8 @@ \RequirePackage{pdfbase} %everything with `pbs_' prefix \RequirePackage{l3keys2e} -\def\g@xsb@version@tl{0.11} -\def\g@xsb@date@tl{2018/06/07} +\def\g@xsb@version@tl{0.12} +\def\g@xsb@date@tl{2018/07/09} \ProvidesExplPackage{xsavebox}{\g@xsb@date@tl}{\g@xsb@version@tl} {saveboxes for repeating content without code replication} @@ -249,9 +249,13 @@ } \box_set_ht:Nn#4{\height+\g_xsb_margin_tl} \box_set_dp:Nn#4{\depth+\g_xsb_margin_tl} - \tl_if_exist:cF{xsb@\int_use:N\g_xsb_id_int}{ + \sys_if_output_dvi:TF{ + \tl_if_exist:cF{xsb@\int_use:N\g_xsb_id_int}{ + \tl_gset:cn{xsb@\int_use:N\g_xsb_id_int}{true} + \xsb_rerun_msg: + } + }{ \tl_gset:cn{xsb@\int_use:N\g_xsb_id_int}{true} - \xsb_rerun_msg: } \xsb_pop_props_to:N\l_tmpa_tl %distill box to Form XObject, if used (ref'ed) |