blob: 73e27201f4fcf58078ec35e5e87b02a719e47ce2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Web package, %%
%% Copyright (C) 1999-2019 D. P. Story %%
%% dpstory@uakron.edu %%
%% %%
%% This program can redistributed and/or modified under %%
%% the terms of the LaTeX Project Public License %%
%% Distributed from CTAN archives in directory %%
%% macros/latex/base/lppl.txt; either version 1 of the %%
%% License, or (at your option) any later version. %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%% History: Noel Vaillant began developing a better web.sty
%% based on my earlier published web.sty. Many thanks
%% to him for starting me off.
%%---------------------------------------------------------
\newcommand{\setupFullwidth}{%
\setlength{\textwidth}{\paperwidth}%
\advance\textwidth-2in
\setlength{\linewidth}{\textwidth}%
\setlength{\columnseprule}{0pt}%
\setlength{\oddsidemargin}{0in}%
\setlength{\evensidemargin}{0in}%
}
\makeatletter
\def\clindx{\ifcodeline@index\expandafter\@firstoftwo\else
\expandafter\@secondoftwo\fi}
\GlossaryPrologue{\section{Change History}}
\IndexPrologue{\section{Index}\hfuzz\linewidth
\parbox{\linewidth}{Numbers written in italic
refer to the page where the corresponding entry is described;
numbers underlined refer to the
\clindx{code line of the}{}
definition; numbers in roman refer to the
\clindx{code lines}{pages}
where the entry is used.}\medskip\par\hfuzz=0.1pt}
\value{IndexColumns}=2
\value{GlossaryColumns}=2
\def\changes@#1#2#3{%
\protected@edef\@tempa{\noexpand\glossary{#1 (#2)\levelchar
\ifx\saved@macroname\@empty
\space
\actualchar
\generalname
\else
\expandafter\@gobble
\saved@macroname
\actualchar
\string\verb\quotechar*%
\verbatimchar\saved@macroname
\verbatimchar
\fi
:\levelchar #3}}%
\@tempa\endgroup\@esphack}
\def\SpecialMainOptIndex#1{\@bsphack\index{%
#1\actualchar
{\string\ttfamily\space#1}
(option)%
\encapchar usage}%
\index{options:\levelchar#1\actualchar{%
\string\ttfamily\space#1}\encapchar
usage}\@esphack}
\def\SpecialMainKeyIndex#1{\@bsphack\index{%
#1\actualchar
{\string\ttfamily\space#1}
(key)%
\encapchar usage}%
\index{keys:\levelchar#1\actualchar{%
\string\ttfamily\space#1}\encapchar
usage}\@esphack}
\def\SpecialMainJSIndex#1{\@bsphack\index{%
#1\actualchar
{\string\ttfamily\space#1}
(JS function)%
\encapchar usage}%
\index{JS functions:\levelchar#1\actualchar{%
\string\ttfamily\space#1}\encapchar
usage}\@esphack}
\makeatother
\newcommand\IndexOpt[2][]{\SpecialMainOptIndex{#1#2}%
\marginpar{\raggedleft\PrintDescribeMacro{#2}}}
\def\IndexKey#1{\SpecialMainKeyIndex{#1}%
\marginpar{\raggedleft\PrintDescribeMacro{#1}}}
\def\IndexJS#1{\SpecialMainJSIndex{#1}%
\marginpar{\raggedleft\PrintDescribeMacro{#1}}}
\endinput
%%
%% End of file `aebdocfmt.def'.
|