summaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/ChangeLog13
-rw-r--r--doc/api/Makefile4
-rw-r--r--doc/api/krb5.ist26
-rw-r--r--doc/api/krb5idx.sty10
-rw-r--r--doc/api/library.tex14
5 files changed, 63 insertions, 4 deletions
diff --git a/doc/api/ChangeLog b/doc/api/ChangeLog
index 1fb822c26..d7f76d2b1 100644
--- a/doc/api/ChangeLog
+++ b/doc/api/ChangeLog
@@ -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(),
diff --git a/doc/api/Makefile b/doc/api/Makefile
index dbb2f03ab..49cb7dcf9 100644
--- a/doc/api/Makefile
+++ b/doc/api/Makefile
@@ -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
index 000000000..36e9adb2b
--- /dev/null
+++ b/doc/api/krb5.ist
@@ -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
index 000000000..729ed9779
--- /dev/null
+++ b/doc/api/krb5idx.sty
@@ -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}%
+%%
diff --git a/doc/api/library.tex b/doc/api/library.tex
index 804da9896..cdfceb42c 100644
--- a/doc/api/library.tex
+++ b/doc/api/library.tex
@@ -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}