Skip to content

Commit bada2ac

Browse files
committed
Introduce \oldconceptref.
1 parent c1d7e1d commit bada2ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

macros.tex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@
5252
\newcommand{\literaltcode}[1]{\tcode{#1}}
5353
\newcommand{\literalterminal}[1]{\terminal{##1}}
5454
\newcommand{\noncxxterminal}[1]{\terminal{##1}}
55+
\newcommand{\oldconceptref}[1]{\indexlink{\oldconcept{#1}}{generalindex}{\idxoldconcept{#1}}{}}
5556

5657
%% replacements for existing macros:
5758

59+
\newcommand{\defnoldconcept}[1]{\indexedspan{\oldconcept{#1}}{\indextext{\idxoldconcept{#1}}}}
5860
\newcommand{\indexdefn}[1]{\indextext{#1|idxbfpage}}
5961
\newcommand{\idxcode}[1]{#1@\tcode{#1}}
6062
\newcommand{\nontermdef}[1]{\hiddenindexlink{\indexedspan{#1\textnormal{:}}{\indexgrammar{\idxgram{#1}}}}{grammarindex}{\idxgram{#1}|idxbfpage}{}}

0 commit comments

Comments
 (0)