summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/babel/bbidxglo.dtx
blob: 58a43d9adbfdbe3e701f83071d999320d1534120 (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
% \iffalse meta-comment
%
% Copyright 1989-2008 Johannes L. Braams and any individual authors
% listed elsewhere in this file.  All rights reserved.
% 
% This file is part of the Babel system.
% --------------------------------------
% 
% It may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
% 
% This work has the LPPL maintenance status "maintained".
% 
% The Current Maintainer of this work is Javier Bezos.
% 
% The list of all files belonging to the Babel system is
% given in the file `manifest.bbl. See also `legal.bbl' for additional
% information.
% 
% The list of derived (unpacked) files belonging to the distribution
% and covered by LPPL is defined by the unpacking scripts (with
% extension .ins) which are part of the distribution.
% \fi
% \CheckSum{66}
%
% \iffalse
%
%    \begin{macrocode}
%<*driver>
\ProvidesFile{bbidxglo.drv}[2008/03/21 v1.0b]
\documentclass{ltxdoc}
\GetFileInfo{bbidxglo.drv}
\newcommand{\babel}{\textsf{babel}}
\newcommand{\mkidx}{\texttt{MakeIndex}}
\newcommand{\file}[1]{\texttt{#1}}
\newcommand{\Lopt}[1]{\textsf{#1}}
\begin{document}
\DocInput{bbidxglo.dtx}
\end{document}
%</driver>
%    \end{macrocode}
%
% \fi
% \title{Generating the index and chage log for the Babel system}
% \author{Johannes Braams}
% \date{\filedate}
% \maketitle
%
% \section{Description}
%
%    This file contains the source for the style files for the \mkidx\
%    program. These are needed to produce the index for the complete
%    source listing and to produce the listing of the changes.
%
% \StopEventually{}
%
% \section{The index and the list of changes } Most of the entries are
%    the same as in the files \file{gind.ist} and \file{gglo.ist} from
%    the \Lopt{doc} package.
%
%    \begin{macrocode}
%<*idx|glo>
actual '='
quote '!'
level '>'
%</idx|glo>
%    \end{macrocode}
%
%    Because the \babel\ system consists of so many files the default
%    codeline numbering scheme of the \Lopt{doc} package has been
%    adapted. The line numbers consist of two parts seperated with a
%    dot. This has to made known to the \mkidx\ program when it
%    produces the index.
%
%    \begin{macrocode}
%<+idx>page_compositor "."
%    \end{macrocode}
%
%    Any further entries are again copied from \file{gind.ist} and
%    \file{gglo.ist}.
%
%    \begin{macrocode}
%<*idx>
preamble
"\n \\begin{theindex} \n \\makeatletter\\scan@allowedfalse\n"
postamble
"\n\n \\end{theindex}\n"
%</idx>
%<*glo>
preamble
"\n \\begin{theglossary} \n
    \\makeatletter\\scan@allowedfalse\n"
postamble
"\n\n \\end{theglossary}\n"
keyword "\\glossaryentry"
%</glo>
%<+idx|glo>item_x1   "\\efill \n \\subitem "
%<+idx>item_x2   "\\efill \n \\subsubitem "
%<+glo>item_x2   "\\ "
%<*idx|glo>
delim_0   "\\pfill "
delim_1   "\\pfill "
delim_2   "\\pfill "
% The next lines will produce some warnings when
% running Makeindex as they try to cover two different
% versions of the program:
lethead_prefix   "{\\bfseries\\hfil "
lethead_suffix   "\\hfil}\\nopagebreak\n"
%</idx|glo>
%<+idx>lethead_flag       1
%<+glo>lethead_flag       0
%<*idx|glo>
heading_prefix   "{\\bfseries\\hfil "
heading_suffix   "\\hfil}\\nopagebreak\n"
%</idx|glo>
%<+idx>headings_flag       1
%<+glo>headings_flag       0
%    \end{macrocode}
%