Skip to content

Commit

Permalink
[macros] Remove italics and boldface
Browse files Browse the repository at this point in the history
Fixes ISO/CS comment (C++23 proof)
  • Loading branch information
jensmaurer committed May 14, 2024
1 parent 85f4bb4 commit 23d557d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion source/compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,7 @@
with the wrong number or type of arguments.
\effect
Change to semantics of well-defined feature.
This feature was marked as ``obsolescent'' in C.
This feature was marked as ``obsoles\-cent'' in C.
\difficulty
Syntactic transformation.
The function declarations using C incomplete declaration style must
Expand Down
8 changes: 4 additions & 4 deletions source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@
%% Library function descriptions
\newcommand{\Fundescx}[1]{\textit{#1}}
\newcommand{\Fundesc}[1]{\Fundescx{#1}:\space}
\newcommand{\recommended}{\Fundesc{Recommended practice}}
\newcommand{\recommended}{Recommended practice:\space}
\newcommand{\required}{\Fundesc{Required behavior}}
\newcommand{\constraints}{\Fundesc{Constraints}}
\newcommand{\mandates}{\Fundesc{Mandates}}
Expand Down Expand Up @@ -508,16 +508,16 @@
\newcommand{\countedrange}[2]{$\tcode{#1} + \range{0}{#2}$}

%% Change descriptions
\newcommand{\diffhead}[1]{\textbf{#1:}\space}
\newcommand{\diffhead}[1]{#1:\space}
\newcommand{\diffdef}[1]{\ifvmode\else\hfill\break\fi\diffhead{#1}}
\ExplSyntaxOn
\NewDocumentCommand \diffref { m } {
\clist_set:Nx \l_tmpa_clist { #1 }
\pnum
\int_compare:nTF { \clist_count:N \l_tmpa_clist < 2 } {
\textbf{Affected~subclause:} ~
\diffhead{Affected~subclause}
} {
\textbf{Affected~subclauses:} ~
\diffhead{Affected~subclauses}
}
\clist_map_inline:Nn \l_tmpa_clist {
\clist_put_right:Nn \g_tmpa_clist { \ref{##1} }
Expand Down

0 comments on commit 23d557d

Please sign in to comment.