[latex3-commits] [latex3/latex2e] develop: remove textbf tagging (da6ce82a)

github at latex-project.org github at latex-project.org
Wed Jun 7 23:17:18 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/da6ce82a41b758b0e0c2de8f1bbee44698ef38a3

>---------------------------------------------------------------

commit da6ce82a41b758b0e0c2de8f1bbee44698ef38a3
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue May 30 16:57:23 2023 +0200

    remove textbf tagging


>---------------------------------------------------------------

da6ce82a41b758b0e0c2de8f1bbee44698ef38a3
 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.