Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-gindex.sty

raw
1 %%
2 %% This is file `lwarp-gindex.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `gindex')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18 \LWR@ProvidesPackagePass{gindex}[2019/10/07]
19 \AtBeginDocument{
20 \robustify{\indexpagessep}
21 \robustify{\indexrangesep}
22 \renewcommand*{\IndexPageSeparator}{\indexpagessep}
23 \renewcommand*{\IndexRangeSeparator}{\indexrangesep}
24 }
25 \def\addindexitem#1#2{%
26 \indexflushitem
27 \gix@getspecial#1\indexspecial\indexspecial\@@\indexitem{\hyperindexref{#2}}}
28
29 \def\addindexsubitem#1#2{%
30 \stepcounter{indexsubitems}%
31 \gix@getspecial#1\indexspecial\indexspecial\@@\indexsubitem{\hyperindexref{#2}}}
32
33 \def\addindexsubsubitem#1#2{%
34 \gix@getspecial#1\indexspecial\indexspecial\@@\indexsubsubitem{\hyperindexref{#2}}}
35 \renewcommand\indexheading[1]{%
36 \begin{BlockClass}{indexheading}
37 \MakeUppercase{#1}%
38 \end{BlockClass}
39 }
40
41 \endinput
42 %%
43 %% End of file `lwarp-gindex.sty'.