Skip to content

[macros] Avoid small caps for cross-references to C. #7024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@
\newcommand{\templalias}{\Fundesc{Alias template}}

%% Cross-reference
\newcommand{\xref}{\textsc{See also:}\space}
\newcommand{\xrefc}[1]{\xref{} \IsoC{}, #1}
\newcommand{\xref}[1]{See also #1.}
\newcommand{\xrefc}[1]{\xref{\IsoC{}, #1}}
\newcommand{\termref}[3]{\textit{#2}{#3}\iref{#1}} % in Clause 3

%% Inline comma-separated parenthesized references
Expand Down
8 changes: 4 additions & 4 deletions source/regex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -686,23 +686,23 @@
\tcode{ECMAScript} &
Specifies that the grammar recognized by the regular expression engine
shall be that used by ECMAScript in ECMA-262, as modified in~\ref{re.grammar}.
\newline \xref ECMA-262 15.10
\newline \xref{ECMA-262 15.10}
\indextext{ECMAScript}%
\indexlibrarymember{syntax_option_type}{ECMAScript}%
\\ \rowsep
%
\tcode{basic} &
Specifies that the grammar recognized by the regular expression engine
shall be that used by basic regular expressions in POSIX.
\newline \xref POSIX, Base Definitions and Headers, Section 9.3
\newline \xref{POSIX, Base Definitions and Headers, Section 9.3}
\indextext{POSIX!regular expressions}%
\indexlibrarymember{syntax_option_type}{basic}%
\\ \rowsep
%
\tcode{extended} &
Specifies that the grammar recognized by the regular expression engine
shall be that used by extended regular expressions in POSIX.
\newline \xref POSIX, Base Definitions and Headers, Section 9.4
\newline \xref{POSIX, Base Definitions and Headers, Section 9.4}
\indextext{POSIX!extended regular expressions}%
\indexlibrarymember{syntax_option_type}{extended}%
\\ \rowsep
Expand Down Expand Up @@ -3997,5 +3997,5 @@
iterator range \range{first}{last} if
\tcode{traits_inst.isctype(c, traits_inst.lookup_classname(first, last, flags() \& icase))} is \tcode{true}.
\end{itemize}
\xref ECMA-262 15.10
\xref{ECMA-262 15.10}
\indextext{regular expression|)}