[latex3-commits] [latex3/latex2e] lab-review-01: remove textbf tagging (3f6d3898)
github at latex-project.org
github at latex-project.org
Tue May 30 16:57:23 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : lab-review-01
Link : https://github.com/latex3/latex2e/commit/3f6d38988ab13f8d82dc8108fd3098f16a1d2784
>---------------------------------------------------------------
commit 3f6d38988ab13f8d82dc8108fd3098f16a1d2784
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue May 30 16:57:23 2023 +0200
remove textbf tagging
>---------------------------------------------------------------
3f6d38988ab13f8d82dc8108fd3098f16a1d2784
required/latex-lab/latex-lab-text.dtx | 17 +++--------------
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/required/latex-lab/latex-lab-text.dtx b/required/latex-lab/latex-lab-text.dtx
index dd893cf2..0f31c459 100644
--- a/required/latex-lab/latex-lab-text.dtx
+++ b/required/latex-lab/latex-lab-text.dtx
@@ -99,21 +99,10 @@
}
% \end{macrocode}
%
-% \subsection{Emphasizing and bold text}
+% \subsection{Emphasizing}
+% We tag \cs{emph} but leave commands like \cs{textbf} alone, as it is not
+% clear if they always have a semantic meaning.
% \begin{macrocode}
-\AddToHook{cmd/textbf/before}
- {
- \mode_leave_vertical:
- \tag_mc_end_push:
- \tag_struct_begin:n{tag=Strong}
- \tag_mc_begin:n{}}
-
-\AddToHook{cmd/textbf/after}
- {
- \tag_mc_end:
- \tag_struct_end:
- \tag_mc_begin_pop:n{}}
-
\AddToHook{cmd/emph/before}
{
\mode_leave_vertical:
More information about the latex3-commits
mailing list.