| 1 |
% \iffalse meta-comment |
| 2 |
% |
| 3 |
% Copyright 1989-2008 Johannes L. Braams and any individual authors |
| 4 |
% listed elsewhere in this file. All rights reserved. |
| 5 |
% |
| 6 |
% This file is part of the Babel system. |
| 7 |
% -------------------------------------- |
| 8 |
% |
| 9 |
% It may be distributed and/or modified under the |
| 10 |
% conditions of the LaTeX Project Public License, either version 1.3 |
| 11 |
% of this license or (at your option) any later version. |
| 12 |
% The latest version of this license is in |
| 13 |
% http://www.latex-project.org/lppl.txt |
| 14 |
% and version 1.3 or later is part of all distributions of LaTeX |
| 15 |
% version 2003/12/01 or later. |
| 16 |
% |
| 17 |
% This work has the LPPL maintenance status "maintained". |
| 18 |
% |
| 19 |
% The Current Maintainer of this work is Javier Bezos. |
| 20 |
% |
| 21 |
% The list of all files belonging to the Babel system is |
| 22 |
% given in the file `manifest.bbl. See also `legal.bbl' for additional |
| 23 |
% information. |
| 24 |
% |
| 25 |
% The list of derived (unpacked) files belonging to the distribution |
| 26 |
% and covered by LPPL is defined by the unpacking scripts (with |
| 27 |
% extension .ins) which are part of the distribution. |
| 28 |
% \fi |
| 29 |
% \CheckSum{66} |
| 30 |
% |
| 31 |
% \iffalse |
| 32 |
% |
| 33 |
% \begin{macrocode} |
| 34 |
%<*driver> |
| 35 |
\ProvidesFile{bbidxglo.drv}[2008/03/21 v1.0b] |
| 36 |
\documentclass{ltxdoc} |
| 37 |
\GetFileInfo{bbidxglo.drv} |
| 38 |
\newcommand{\babel}{\textsf{babel}} |
| 39 |
\newcommand{\mkidx}{\texttt{MakeIndex}} |
| 40 |
\newcommand{\file}[1]{\texttt{#1}} |
| 41 |
\newcommand{\Lopt}[1]{\textsf{#1}} |
| 42 |
\begin{document} |
| 43 |
\DocInput{bbidxglo.dtx} |
| 44 |
\end{document} |
| 45 |
%</driver> |
| 46 |
% \end{macrocode} |
| 47 |
% |
| 48 |
% \fi |
| 49 |
% \title{Generating the index and change log for the Babel system} |
| 50 |
% \author{Johannes Braams} |
| 51 |
% \date{\filedate} |
| 52 |
% \maketitle |
| 53 |
% |
| 54 |
% \section{Description} |
| 55 |
% |
| 56 |
% This file contains the source for the style files for the \mkidx\ |
| 57 |
% program. These are needed to produce the index for the complete |
| 58 |
% source listing and to produce the listing of the changes. |
| 59 |
% |
| 60 |
% \StopEventually{} |
| 61 |
% |
| 62 |
% \section{The index and the list of changes } Most of the entries are |
| 63 |
% the same as in the files \file{gind.ist} and \file{gglo.ist} from |
| 64 |
% the \Lopt{doc} package. |
| 65 |
% |
| 66 |
% \begin{macrocode} |
| 67 |
%<*idx|glo> |
| 68 |
actual '=' |
| 69 |
quote '!' |
| 70 |
level '>' |
| 71 |
%</idx|glo> |
| 72 |
% \end{macrocode} |
| 73 |
% |
| 74 |
% Because the \babel\ system consists of so many files the default |
| 75 |
% codeline numbering scheme of the \Lopt{doc} package has been |
| 76 |
% adapted. The line numbers consist of two parts separated with a |
| 77 |
% dot. This has to made known to the \mkidx\ program when it |
| 78 |
% produces the index. |
| 79 |
% |
| 80 |
% \begin{macrocode} |
| 81 |
%<+idx>page_compositor "." |
| 82 |
% \end{macrocode} |
| 83 |
% |
| 84 |
% Any further entries are again copied from \file{gind.ist} and |
| 85 |
% \file{gglo.ist}. |
| 86 |
% |
| 87 |
% \begin{macrocode} |
| 88 |
%<*idx> |
| 89 |
preamble |
| 90 |
"\n \\begin{theindex} \n \\makeatletter\\scan@allowedfalse\n" |
| 91 |
postamble |
| 92 |
"\n\n \\end{theindex}\n" |
| 93 |
%</idx> |
| 94 |
%<*glo> |
| 95 |
preamble |
| 96 |
"\n \\begin{theglossary} \n |
| 97 |
\\makeatletter\\scan@allowedfalse\n" |
| 98 |
postamble |
| 99 |
"\n\n \\end{theglossary}\n" |
| 100 |
keyword "\\glossaryentry" |
| 101 |
%</glo> |
| 102 |
%<+idx|glo>item_x1 "\\efill \n \\subitem " |
| 103 |
%<+idx>item_x2 "\\efill \n \\subsubitem " |
| 104 |
%<+glo>item_x2 "\\ " |
| 105 |
%<*idx|glo> |
| 106 |
delim_0 "\\pfill " |
| 107 |
delim_1 "\\pfill " |
| 108 |
delim_2 "\\pfill " |
| 109 |
% The next lines will produce some warnings when |
| 110 |
% running Makeindex as they try to cover two different |
| 111 |
% versions of the program: |
| 112 |
lethead_prefix "{\\bfseries\\hfil " |
| 113 |
lethead_suffix "\\hfil}\\nopagebreak\n" |
| 114 |
%</idx|glo> |
| 115 |
%<+idx>lethead_flag 1 |
| 116 |
%<+glo>lethead_flag 0 |
| 117 |
%<*idx|glo> |
| 118 |
heading_prefix "{\\bfseries\\hfil " |
| 119 |
heading_suffix "\\hfil}\\nopagebreak\n" |
| 120 |
%</idx|glo> |
| 121 |
%<+idx>headings_flag 1 |
| 122 |
%<+glo>headings_flag 0 |
| 123 |
% \end{macrocode} |
| 124 |
% |