File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed
Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 158158\printindex [conceptindex]
159159}
160160
161+ \clearpage
162+ \renewcommand {\preindexhook }{The bold page number for each entry is the page
163+ where the macro is defined.
164+ Other page numbers refer to pages where the macro is mentioned in the general text.\\ }
165+ {
166+ \raggedright
167+ \printindex [macroindex]
168+ }
169+
161170\clearpage
162171\renewcommand {\preindexhook }{The entries in this index are rough descriptions; exact
163172specifications are at the indicated page in the general text.\\ }
Original file line number Diff line number Diff line change 138138\newcommand {\indexhdr }[1]{\index [headerindex]{\idxhdr {#1}}}
139139\newcommand {\indexconcept }[1]{\index [conceptindex]{#1}}
140140\newcommand {\indexgram }[1]{\index [grammarindex]{#1}}
141+ \newcommand {\indexmacro }[1]{\index [macroindex]{#1}}
141142
142143% Collation helper: When building an index key, replace all macro definitions
143144% in the key argument with a no-op for purposes of collation.
192193\newcommand {\idxcode }[1]{#1@\CodeStylex {#1}}
193194\newcommand {\idxconcept }[1]{#1@\CodeStylex {#1}}
194195\newcommand {\idxexposconcept }[1]{#1@\CodeStylex {\placeholder {#1}}}
196+ \newcommand {\idxmacro }[1]{#1@\CodeStylex {#1}}
195197\newcommand {\idxhdr }[1]{#1@\CodeStylex {<#1>}}
196198\newcommand {\idxgram }[1]{#1@\gterm {#1}}
197199\newcommand {\idxterm }[1]{#1@\term {#1}}
504506\newcommand {\defexposconcept }[1]{\ecname {#1}\indexconcept {\idxexposconcept {#1}|idxbfpage}} % macro length: 16
505507\newcommand {\defexposconceptnc }[1]{\ecname {#1}\indexconcept {\idxexposconcept {#1}|idxbfpage}\itcorr [-1]} % macro length: 18
506508
509+ % % Macros
510+ \newcommand {\macroname }[1]{\tcode {#1}}
511+ \newcommand {\stdmacrox }[2]{\macroname {#1}\indexmacro {\idxmacro {#2}}}
512+ \newcommand {\stdmacro }[1]{\stdmacrox {#1}{#1}}
513+ \newcommand {\defmacroname }[1]{\macroname {#1}\indexmacro {\idxmacro {#1}}\indexmacro {\idxmacro {#1}|idxbfpage}}
514+
507515% % Ranges
508516\newcommand {\Range }[4]{\ensuremath {#1}\tcode {#3}\ensuremath {,}\, \penalty 2000{}\tcode {#4}\ensuremath {#2}}
509517\newcommand {\crange }[2]{\Range {[}{]}{#1}{#2}}
Original file line number Diff line number Diff line change 6767\makeindex [name=headerindex,title=Index of library headers]
6868\makeindex [name=libraryindex,options=-s libraryindex.ist,title=Index of library names]
6969\makeindex [name=conceptindex,title=Index of library concepts]
70+ \makeindex [name=macroindex,title=Index of macro names]
7071\makeindex [name=impldefindex,title=Index of implementation-defined behavior]
7172\makeglossary [xrefindex]
7273\makeglossary [xrefdelta]
You can’t perform that action at this time.
0 commit comments