* library.tex: Update to latex2e. Include krb5idx.sty
authorEzra Peisach <epeisach@mit.edu>
Wed, 18 Oct 2000 13:58:17 +0000 (13:58 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 18 Oct 2000 13:58:17 +0000 (13:58 +0000)
        * Makefile (lib1.stamp): Use makeindex to generate index instead
        of an antiquated texindex program - which is not the same texindex
        as in the texinfo package.

        * krb5idx.sty: Style for generating indexes. Provides definitions
        for use with krb5.ist.

        * krb5.ist: makeindex macros. Based on gind.ist.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12802 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/ChangeLog
doc/api/Makefile
doc/api/krb5.ist [new file with mode: 0644]
doc/api/krb5idx.sty [new file with mode: 0644]
doc/api/library.tex

index 1fb822c26d0942abcc4187562be6ce61863457d8..d7f76d2b1e91345d5c65c4d89a6fe19a000b1859 100644 (file)
@@ -1,3 +1,16 @@
+Wed Oct 18 09:55:25 2000  Ezra Peisach  <epeisach@mit.edu>
+
+       * library.tex: Update to latex2e. Include krb5idx.sty.
+
+       * Makefile (lib1.stamp): Use makeindex to generate index instead
+       of an antiquated texindex program - which is not the same texindex
+       as in the texinfo package.
+
+       * krb5idx.sty: Style for generating indexes. Provides definitions
+       for use with krb5.ist.
+
+       * krb5.ist: makeindex macros. Based on gind.ist.
+
 2000-10-17  Ezra Peisach  <epeisach@mit.edu>
 
        * krb5.tex: krb5_unparse_name_ext(), krb5_build_principal(),
index dbb2f03ab2d4a511d276294665b5ecd48d1f1953..49cb7dcf9b3cc212521b34c3cd3577ee837423fb 100644 (file)
@@ -2,7 +2,7 @@
 
 SHELL=/bin/sh
 
-STYLES=changebar.sty fixunder.sty functions.sty
+STYLES=changebar.sty fixunder.sty functions.sty krb5idx.sty
 LIBTEX= library.tex intro.tex tables.tex errors.tex krb5.tex ccache.tex \
        rcache.tex keytab.tex libos.tex free.tex
 
@@ -28,7 +28,7 @@ library.dvi:  lib1.stamp $(LIBTEX) $(STYLES)
 lib1.stamp: $(LIBTEX) $(STYLES)
        touch library.ind
        latex library
-       texindex library.idx
+       makeindex -s krb5.ist library.idx
        date > lib1.stamp
 
 .tex.dvi:
diff --git a/doc/api/krb5.ist b/doc/api/krb5.ist
new file mode 100644 (file)
index 0000000..36e9adb
--- /dev/null
@@ -0,0 +1,26 @@
+%% 
+%% This is based on the gind.ist
+%%
+actual '='
+quote '!'
+level '>'
+preamble
+"\n \\begin{theindex} \n"
+postamble
+"\n\n \\end{theindex}\n"
+item_x1   "\\efill \n \\subitem "
+item_x2   "\\efill \n \\subsubitem "
+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"
+lethead_flag       1
+heading_prefix   "{\\bfseries\\hfil "
+heading_suffix   "\\hfil}\\nopagebreak\n"
+headings_flag       1
+%% 
+%%
diff --git a/doc/api/krb5idx.sty b/doc/api/krb5idx.sty
new file mode 100644 (file)
index 0000000..729ed97
--- /dev/null
@@ -0,0 +1,10 @@
+\usepackage{makeidx}
+
+% The following defintions are for our indexing scheme. Stolen from
+% doc.sty.
+\def\dotfill{\leaders\hbox to.6em{\hss .\hss}\hskip\z@ plus  1fill}%
+\def\dotfil{\leaders\hbox to.6em{\hss .\hss}\hfil}%
+\def\efill{\hfill\nopagebreak}%
+\def\pfill{\unskip~\dotfill\penalty500\strut\nobreak
+               \dotfil~\ignorespaces}%
+%%
index 804da9896cabb7ed28628945608401590fdd2e1d..cdfceb42c81f59bde8c4104c946150161322960f 100644 (file)
@@ -1,4 +1,14 @@
-\documentstyle[fixunder,functions,changebar,twoside,fancyheadings]{article}
+\documentclass[twoside]{article}
+\usepackage{fixunder,functions,changebar,fancyheadings}
+\usepackage{krb5idx}
+%\usepackage{hyperref}
+
+%\hypersetup{letterpaper,
+%    bookmarks=true,
+%pdfpagemode=UseOutlines,
+%}
+
+%
 %\setlength{\oddsidemargin}{1in}
 %\setlength{\evensidemargin}{1.00in}
 %\setlength{\textwidth}{6.5in}
@@ -100,5 +110,5 @@ programming, maintenance, and porting.
 
 \appendix
 \cleardoublepage
-\input{\jobname.ind}
+\printindex
 \end{document}