diff options
Diffstat (limited to 'macros/latex/contrib/l3kernel/l3coffins.dtx')
-rw-r--r-- | macros/latex/contrib/l3kernel/l3coffins.dtx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/macros/latex/contrib/l3kernel/l3coffins.dtx b/macros/latex/contrib/l3kernel/l3coffins.dtx index ae2e660caa..1291f40128 100644 --- a/macros/latex/contrib/l3kernel/l3coffins.dtx +++ b/macros/latex/contrib/l3kernel/l3coffins.dtx @@ -43,7 +43,7 @@ % }^^A % } % -% \date{Released 2021-02-18} +% \date{Released 2021-05-07} % % \maketitle % @@ -92,8 +92,8 @@ % \begin{function}[EXP, pTF, added = 2012-06-20] % {\coffin_if_exist:N, \coffin_if_exist:c} % \begin{syntax} -% \cs{coffin_if_exist_p:N} \meta{box} -% \cs{coffin_if_exist:NTF} \meta{box} \Arg{true code} \Arg{false code} +% \cs{coffin_if_exist_p:N} \meta{coffin} +% \cs{coffin_if_exist:NTF} \meta{coffin} \Arg{true code} \Arg{false code} % \end{syntax} % Tests whether the \meta{coffin} is currently defined. % \end{function} @@ -566,7 +566,7 @@ \coffin_if_exist:NTF #1 { #2 } { - \__kernel_msg_error:nnx { kernel } { unknown-coffin } + \__kernel_msg_error:nnx { coffin } { unknown } { \token_to_str:N #1 } } } @@ -913,7 +913,7 @@ \prop_get:cnNF { coffin ~ \@@_to_value:N #1 ~ poles } {#2} #3 { - \__kernel_msg_error:nnxx { kernel } { unknown-coffin-pole } + \__kernel_msg_error:nnxx { coffin } { unknown-pole } { \exp_not:n {#2} } { \token_to_str:N #1 } \tl_set:Nn #3 { { 0pt } { 0pt } { 0pt } { 0pt } } } @@ -1147,7 +1147,7 @@ \l_@@_pole_a_tl \l_@@_pole_b_tl \bool_if:NT \l_@@_error_bool { - \__kernel_msg_error:nn { kernel } { no-pole-intersection } + \__kernel_msg_error:nn { coffin } { no-pole-intersection } \dim_zero:N \l_@@_x_dim \dim_zero:N \l_@@_y_dim } @@ -1677,7 +1677,7 @@ } \cs_generate_variant:Nn \coffin_gresize:Nnn { c } \cs_new_protected:Npn \@@_resize:NnnNN #1#2#3#4#5 - { + { \fp_set:Nn \l_@@_scale_x_fp { \dim_to_fp:n {#2} / \dim_to_fp:n { \coffin_wd:N #1 } } \fp_set:Nn \l_@@_scale_y_fp @@ -1720,7 +1720,7 @@ #4 { coffin ~ \@@_to_value:N #1 ~ corners } \l_@@_corners_prop #4 { coffin ~ \@@_to_value:N #1 ~ poles } - \l_@@_poles_prop + \l_@@_poles_prop } % \end{macrocode} % \end{macro} @@ -1950,7 +1950,7 @@ \@@_reset_structure:N \l_@@_aligned_coffin \prop_set_eq:cc { - coffin ~ \@@_to_value:N \l_@@_aligned_coffin + coffin ~ \@@_to_value:N \l_@@_aligned_coffin \c_space_tl corners } { coffin ~ \@@_to_value:N #1 ~ corners } @@ -2012,7 +2012,7 @@ % \begin{macro}{\@@_offset_pole:Nnnnnnn} % Transferring structures from one coffin to another requires that the % positions are updated by the offset between the two coffins. This is -% done by mapping to the property list of the source coffins, moving +% done by mapping over the property list of the source coffins, moving % as appropriate and saving to the new coffin data structures. The % test for a |-| means that the structures from the parent coffins % are uniquely labelled and do not depend on the order of alignment. @@ -2454,16 +2454,16 @@ % structure then the code complains. % \begin{macrocode} \cs_new_protected:Npn \coffin_show_structure:N - { \@@_show_structure:NN \msg_show:nnxxxx } + { \@@_show_structure:NN \__kernel_msg_show:nnxxxx } \cs_generate_variant:Nn \coffin_show_structure:N { c } \cs_new_protected:Npn \coffin_log_structure:N - { \@@_show_structure:NN \msg_log:nnxxxx } + { \@@_show_structure:NN \__kernel_msg_log:nnxxxx } \cs_generate_variant:Nn \coffin_log_structure:N { c } \cs_new_protected:Npn \@@_show_structure:NN #1#2 { \@@_if_exist:NT #2 { - #1 { LaTeX / kernel } { show-coffin } + #1 { coffin } { show } { \token_to_str:N #2 } { \iow_newline: >~ ht ~=~ \dim_eval:n { \coffin_ht:N #2 } @@ -2484,23 +2484,23 @@ % \subsection{Messages} % % \begin{macrocode} -\__kernel_msg_new:nnnn { kernel } { no-pole-intersection } +\__kernel_msg_new:nnnn { coffin } { no-pole-intersection } { No~intersection~between~coffin~poles. } { LaTeX~was~asked~to~find~the~intersection~between~two~poles,~ but~they~do~not~have~a~unique~meeting~point:~ the~value~(0pt,~0pt)~will~be~used. } -\__kernel_msg_new:nnnn { kernel } { unknown-coffin } +\__kernel_msg_new:nnnn { coffin } { unknown } { Unknown~coffin~'#1'. } { The~coffin~'#1'~was~never~defined. } -\__kernel_msg_new:nnnn { kernel } { unknown-coffin-pole } +\__kernel_msg_new:nnnn { coffin } { unknown-pole } { Pole~'#1'~unknown~for~coffin~'#2'. } { LaTeX~was~asked~to~find~a~typesetting~pole~for~a~coffin,~ but~either~the~coffin~does~not~exist~or~the~pole~name~is~wrong. } -\__kernel_msg_new:nnn { kernel } { show-coffin } +\__kernel_msg_new:nnn { coffin } { show } { Size~of~coffin~#1 : #2 \\ Poles~of~coffin~#1 : #3 . |