Skip to content

Commit 0a1ce7e

Browse files
committed
[macros] Remove library headers from general index.
1 parent f8a7990 commit 0a1ce7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/macros.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
% locations
120120
\newcommand{\indextext}[1]{\index[generalindex]{#1}}
121121
\newcommand{\indexlibrary}[1]{\index[libraryindex]{#1}}
122-
\newcommand{\indexhdr}[1]{\indextext{\idxhdr{#1}}\index[headerindex]{\idxhdr{#1}}}
122+
\newcommand{\indexhdr}[1]{\index[headerindex]{\idxhdr{#1}}}
123123
\newcommand{\indexconcept}[1]{\index[conceptindex]{#1}}
124124
\newcommand{\indexgram}[1]{\index[grammarindex]{#1}}
125125

@@ -192,7 +192,7 @@
192192

193193
% index for library headers
194194
\newcommand{\libheader}[1]{\indexhdr{#1}\tcode{<#1>}}
195-
\newcommand{\indexheader}[1]{\indextext{\idxhdr{#1}}\index[headerindex]{\idxhdr{#1}|idxbfpage}}
195+
\newcommand{\indexheader}[1]{\index[headerindex]{\idxhdr{#1}|idxbfpage}}
196196
\newcommand{\libheaderdef}[1]{\indexheader{#1}\tcode{<#1>}}
197197
\newcommand{\libnoheader}[1]{\indextext{\idxhdr{#1}!absence thereof}\tcode{<#1>}}
198198
\newcommand{\libheaderrefx}[2]{\libheader{#1}\iref{#2}}

0 commit comments

Comments
 (0)