X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/a588c77a273681e3cdc85d15fc44f3ddb7da9224..de869fc8c8f988f5551802bf1887a1e9b8f4d6cf:/doc/sod.tex

diff --git a/doc/sod.tex b/doc/sod.tex
index b81abf7..51fa401 100644
--- a/doc/sod.tex
+++ b/doc/sod.tex
@@ -23,13 +23,18 @@
 %%% along with SOD; if not, write to the Free Software Foundation,
 %%% Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
-\documentclass[noarticle]{strayman}
+\documentclass[noarticle, titlepage]{strayman}
 
 \errorcontextlines=999
 
 \usepackage[T1]{fontenc}
 \usepackage[utf8]{inputenc}
 \usepackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
+\usepackage{makeidx}
+\usepackage
+  [columns=2, itemlayout=singlepar, justific=raggedright,
+   totoc=true, font=small]
+  {idxlayout}
 \usepackage{tikz}
 \usepackage{syntax}
 \usepackage{sverb}
@@ -42,15 +47,17 @@
 
 \usepackage{sod}
 
+\makeindex
+
 \title{A Sensible Object Design for C}
 \author{Mark Wooding}
 
 \begin{document}
 
+\frontmatter
 \maketitle
 
 %%%--------------------------------------------------------------------------
-\frontmatter
 
 \tableofcontents
 
@@ -80,13 +87,10 @@
 %% auto.lisp.in
 
 \include{misc}
+%% utilities.lisp
 %% pset-impl.lisp
 %% pset-parse.lisp
 %% pset-proto.lisp
-%% lexer-bits.lisp
-%% lexer-impl.lisp
-%% lexer-proto.lisp
-%% utilities.lisp
 %% optparse.lisp
 %% frontend.lisp
 %% final.lisp
@@ -106,6 +110,8 @@
 %% parser-proto.lisp
 %% parser-expr-impl.lisp
 %% parser-expr-proto.lisp
+%% lexer-impl.lisp
+%% lexer-proto.lisp
 
 \include{clang}
 %% c-types-class-impl.lisp
@@ -149,6 +155,11 @@
 
 \include{cutting-room-floor}
 
+%%%--------------------------------------------------------------------------
+\backmatter
+
+\printindex
+
 %%%----- That's all, folks --------------------------------------------------
 \end{document}
 
