[latex3-commits] [latex3/latex3] develop: Use coffin func., not box ones to measure coffins (4698e8768)
github at latex-project.org
github at latex-project.org
Mon Sep 2 07:20:25 CEST 2024
Repository : https://github.com/latex3/latex3
On branch : develop
Link : https://github.com/latex3/latex3/commit/4698e8768e131ca2a7b4bb5a66288b75ed093a83
>---------------------------------------------------------------
commit 4698e8768e131ca2a7b4bb5a66288b75ed093a83
Author: Yukai Chou <muzimuzhi at gmail.com>
Date: Sun Sep 1 21:29:45 2024 +0800
Use coffin func., not box ones to measure coffins
>---------------------------------------------------------------
4698e8768e131ca2a7b4bb5a66288b75ed093a83
l3kernel/l3doc.dtx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index fb1781e4b..a347c8fc4 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -2540,7 +2540,7 @@ and all files in that bundle must be distributed together.
\cs_new_protected:Npn \@@_function_typeset_stop:
{
\par
- \dim_set:Nn \prevdepth { \box_dp:N \l_@@_descr_coffin }
+ \dim_set:Nn \prevdepth { \coffin_dp:N \l_@@_descr_coffin }
\allowbreak
}
% \end{macrocode}
@@ -2605,7 +2605,7 @@ and all files in that bundle must be distributed together.
\dim_zero:N \l_@@_trial_width_dim
\hcoffin_set:Nn \l_@@_functions_coffin { \@@_typeset_functions: }
\dim_set:Nn \l_@@_trial_width_dim
- { \box_wd:N \l_@@_functions_coffin }
+ { \coffin_wd:N \l_@@_functions_coffin }
\bool_set:Nn \l_@@_long_name_bool
{ \dim_compare_p:nNn \l_@@_trial_width_dim > \marginparwidth }
}
More information about the latex3-commits
mailing list.