Debian Codegraph @

texmf-dist/doc/latex/texpower/__TPindexing.tex

raw
1 %%
2 %% This is file `__TPindexing.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% texpower-doc.dtx (with options: `indexing')
8 %%
9 %% --------------------------------------------------------------
10 %% TeXPower bundle - dynamic online presentations with LaTeX
11 %% Copyright (C) 1999-2004 Stephan Lehmke
12 %% Copyright (C) 2003-2005 Hans Fredrik Nordhaug
13 %%
14 %% This program is free software; you can redistribute it and/or
15 %% modify it under the terms of the GNU General Public License
16 %% as published by the Free Software Foundation; either version 2
17 %% of the License, or (at your option) any later version.
18 %%
19 %% This program is distributed in the hope that it will be useful,
20 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
21 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 %% GNU General Public License for more details.
23 %% --------------------------------------------------------------
24 %%
25 %% The list of all files belonging to the TeXPower bundle is
26 %% given in the file `00readme.txt'.
27 %%
28 %
29 % Setting up indexing for the TeXPower fulldemo and manual.
30 %
31 %-----------------------------------------------------------------------------------------------------------------
32
33 \usepackage{makeidx}
34 \makeindex
35 \newcommand{\indexcode}[1]{\index{#1@\code{#1}}}
36 \newcommand{\indexmacro}[1]{\index{#1@\macroname{#1}}}
37 \newcommand{\indexmacroopt}[2]{%
38 \index{#1 macro options@\macroname{#1} macro options!#2@\code{#2}}%
39 \index{#2@\code{#2}|see{\macroname{#1} macro options}}}
40 \newcommand{\indexfile}[2]{\index{#1@\code{#1} #2}}
41 \newcommand{\indexpckopt}[2]{%
42 \index{#1 package options@\code{#1} package options!#2@\code{#2}}%
43 \index{#2@\code{#2}|see{\code{#1} package options}}}
44 \newcommand{\indexpckswitch}[2]{%
45 \index{#1 package switches@\code{#1} package switches!#2@\code{#2}}%
46 \index{#2@\code{#2}|see{\code{#1} package switches}}}
47 \newcommand{\indexstepwise}[2]{%
48 \index{stepwise@\macroname{stepwise}!#1@\code{#1} (#2)}%
49 \index{#1@\code{#1}|see{\macroname{stepwise}}}}
50
51 \endinput
52 %%
53 %% End of file `__TPindexing.tex'.