summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx38
1 files changed, 5 insertions, 33 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx b/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx
index 6dc7ab596e0..ae2e660caa5 100644
--- a/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx
+++ b/Master/texmf-dist/source/latex/l3kernel/l3coffins.dtx
@@ -43,7 +43,7 @@
% }^^A
% }
%
-% \date{Released 2021-02-06}
+% \date{Released 2021-02-18}
%
% \maketitle
%
@@ -2247,34 +2247,6 @@
% \end{macrocode}
% \end{variable}
%
-% \begin{macro}{\@@_color:n}
-% Calls \tn{color}, and otherwise does nothing if \tn{color} is not defined.
-% As this is relatively rarely used, we have it self-define rather than delay
-% using a hook.
-% \begin{macrocode}
-\cs_new_protected:Npn \@@_color:n #1 {#1}
-\bool_lazy_and:nnT
- { \cs_if_exist_p:N \fmtname }
- { \str_if_eq_p:Vn \fmtname { LaTeX2e } }
- {
- \cs_gset_protected:Npn \@@_color:n
- {
- \cs_gset_protected:Npx \@@_color:n
- {
- \cs_if_exist:NTF \color_select:n
- { \color_select:n }
- {
- \cs_if_exist:NTF \color
- { \exp_not:N \color }
- { \exp_not:N \use_none:n }
- }
- }
- \@@_color:n
- }
- }
-% \end{macrocode}
-% \end{macro}
-%
% \begin{macro}{\@@_rule:nn}
% Abstract out creation of rules here until there is a higher-level interface.
% \begin{macrocode}
@@ -2298,14 +2270,14 @@
{
\hcoffin_set:Nn \l_@@_display_pole_coffin
{
- \@@_color:n {#4}
+ \color_select:n {#4}
\@@_rule:nn { 1pt } { 1pt }
}
\@@_attach_mark:NnnNnnnn #1 {#2} {#3}
\l_@@_display_pole_coffin { hc } { vc } { 0pt } { 0pt }
\hcoffin_set:Nn \l_@@_display_coord_coffin
{
- \@@_color:n {#4}
+ \color_select:n {#4}
\l_@@_display_font_tl
( \tl_to_str:n { #2 , #3 } )
}
@@ -2357,7 +2329,7 @@
{
\hcoffin_set:Nn \l_@@_display_pole_coffin
{
- \@@_color:n {#2}
+ \color_select:n {#2}
\@@_rule:nn { 1pt } { 1pt }
}
\prop_set_eq:Nc \l_@@_display_poles_prop
@@ -2398,7 +2370,7 @@
{ 0pt } { 0pt }
\hcoffin_set:Nn \l_@@_display_coord_coffin
{
- \@@_color:n {#6}
+ \color_select:n {#6}
\l_@@_display_font_tl
( \tl_to_str:n { #1 , ##1 } )
}