X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/1818107e8198734df843841a51bca3713bd37596..3e166443f7ed632f0a8b3d0e680c2afcc265d56f:/doc/sod.tex

diff --git a/doc/sod.tex b/doc/sod.tex
index 3ee1a5d..51fa401 100644
--- a/doc/sod.tex
+++ b/doc/sod.tex
@@ -30,6 +30,11 @@
 \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,6 +47,8 @@
 
 \usepackage{sod}
 
+\makeindex
+
 \title{A Sensible Object Design for C}
 \author{Mark Wooding}
 
@@ -148,6 +155,11 @@
 
 \include{cutting-room-floor}
 
+%%%--------------------------------------------------------------------------
+\backmatter
+
+\printindex
+
 %%%----- That's all, folks --------------------------------------------------
 \end{document}
 
