[latex3-commits] [git/LaTeX3-latex3-latex3] master: Symbolic name for output box (fe6fc0a)
Joseph Wright
joseph.wright at morningstar2.co.uk
Mon Sep 17 19:04:28 CEST 2018
Repository : https://github.com/latex3/latex3
On branch : master
Link : https://github.com/latex3/latex3/commit/fe6fc0a92865acfaddcc613891da0066d0ecce74
>---------------------------------------------------------------
commit fe6fc0a92865acfaddcc613891da0066d0ecce74
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Sep 17 18:04:28 2018 +0100
Symbolic name for output box
Perhaps this should be in l3boxes (\c_box_output_int?), or XOR (or
whatever we do now) ...
>---------------------------------------------------------------
fe6fc0a92865acfaddcc613891da0066d0ecce74
l3experimental/xmarks/xmarks.dtx | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/l3experimental/xmarks/xmarks.dtx b/l3experimental/xmarks/xmarks.dtx
index 72332a2..92aa82e 100644
--- a/l3experimental/xmarks/xmarks.dtx
+++ b/l3experimental/xmarks/xmarks.dtx
@@ -614,6 +614,13 @@
% \end{macrocode}
% \end{variable}
%
+% \begin{variable}{\c_@@_output_int}
+% The output box.
+% \begin{macrocode}
+\int_const:Nn \c_@@_output_int { 255 }
+% \end{macrocode}
+% \end{variable}
+%
% \begin{macro}{\marks_OR_restore_state:nn}
% Restoring the mark state is more complex than saving it as we need to
% interact with the output routine to get \tn{botmark} to be correct. To
@@ -658,7 +665,7 @@
%</trace>
\int_compare:nNnF \c_@@_penaltyi_int = \tex_outputpenalty:D
{ \__kernel_msg_error:nn { marks } { bad-restore } }
- \box_gclear:N \c_two_hundred_fifty_five
+ \box_gclear:N \c_@@_output_int
\hbox:n { }
\tex_penalty:D \c_@@_penaltyii_int
#1
@@ -669,7 +676,7 @@
%</trace>
\int_compare:nNnF \c_@@_penaltyii_int = \tex_outputpenalty:D
{ \__kernel_msg_error:nn { marks } { bad-restore } }
- \box_gclear:N \c_two_hundred_fifty_five
+ \box_gclear:N \c_@@_output_int
#2
%<*trace>
\trace_pop:n { marks_restore_state~(inline~code~arg2) }
More information about the latex3-commits
mailing list