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

diff --git a/doc/sod.tex b/doc/sod.tex
index 3ee1a5d..b2707f6 100644
--- a/doc/sod.tex
+++ b/doc/sod.tex
@@ -30,7 +30,14 @@
 \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}
+\usetikzlibrary{calc}
+\usetikzlibrary{positioning}
 \usepackage{syntax}
 \usepackage{sverb}
 \usepackage{mdwtab}
@@ -42,6 +49,8 @@
 
 \usepackage{sod}
 
+\makeindex
+
 \title{A Sensible Object Design for C}
 \author{Mark Wooding}
 
@@ -64,6 +73,7 @@
 %%%--------------------------------------------------------------------------
 \part{Reference} \label{p:ref}
 
+\include{refintro}
 \include{concepts}
 \include{cmdline}
 \include{syntax}
@@ -148,6 +158,11 @@
 
 \include{cutting-room-floor}
 
+%%%--------------------------------------------------------------------------
+\backmatter
+
+\printindex
+
 %%%----- That's all, folks --------------------------------------------------
 \end{document}
 
