Skip to content

Commit

Permalink
Use a new macro to avoid \- in index reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
frederick-vs-ja committed Jul 21, 2024
1 parent 3de9b1c commit 4933269
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/compatibility.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,7 @@
\libheaderrefx{condition_variable}{condition.variable.syn},
\libheaderrefx{forward_list}{forward.list.syn},
\libheaderref{future},
\libheaderrefx{initiali\-zer_list}{initializer.list.syn},
\libheaderreftxtx{initializer_list}{initiali\-zer_list}{initializer.list.syn},
\libheaderref{mutex},
\libheaderrefx{random}{rand.synopsis},
\libheaderref{ratio},
Expand All @@ -2273,7 +2273,7 @@
\libheaderrefx{system_error}{system.error.syn},
\libheaderref{thread},
\libheaderref{tuple},
\libheaderrefx{type\-index}{type.index.synopsis},
\libheaderreftxtx{typeindex}{type\-index}{type.index.synopsis},
\libheaderrefx{type_traits}{meta.type.synop},
\libheaderrefx{unordered_map}{unord.map.syn},
and
Expand Down
1 change: 1 addition & 0 deletions source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@
\newcommand{\libheaderrefx}[2]{\libheader{#1}\iref{#2}}
\newcommand{\libheaderref}[1]{\libheaderrefx{#1}{#1.syn}}
\newcommand{\libdeprheaderref}[1]{\libheaderrefx{#1}{depr.#1.syn}}
\newcommand{\libheaderreftxtx}[3]{\indexhdr{#1}\tcode{<#2>}\iref{#3}}

%%--------------------------------------------------
% General code style
Expand Down

0 comments on commit 4933269

Please sign in to comment.