Skip to content

Commit

Permalink
ensure \box does not unbind outer values when used twice in a frame
Browse files Browse the repository at this point in the history
  • Loading branch information
dginev committed Jan 9, 2025
1 parent ecbc892 commit d4285a3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
Binary file modified t/digestion/box.pdf
Binary file not shown.
10 changes: 10 additions & 0 deletions t/digestion/box.tex
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,14 @@
\endgroup
\box\myboxD

\newbox\myboxE
\setbox\myboxE\vbox{E will trail as outer, once.}
\begingroup
\setbox\myboxE\vbox{E will appear inner, once.}
\box\myboxE
\box\myboxE
\endgroup
\box\myboxE
\box\myboxE

\end{document}
6 changes: 6 additions & 0 deletions t/digestion/box.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,10 @@
<para vattach="bottom" xml:id="p21">
<p>D must appear twice.</p>
</para>
<para vattach="bottom" xml:id="p22">
<p>E will appear inner, once.</p>
</para>
<para vattach="bottom" xml:id="p23">
<p>E will trail as outer, once.</p>
</para>
</document>

0 comments on commit d4285a3

Please sign in to comment.