X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/e655a9fdf6391a41e5956ac4561f03c4ffef54cc..4c35de3a0467a4cab5ec7a0d76f99de764ddc316:/doc/sod.tex

diff --git a/doc/sod.tex b/doc/sod.tex
index b3147bc..1203b68 100644
--- a/doc/sod.tex
+++ b/doc/sod.tex
@@ -32,7 +32,7 @@
 \usepackage[palatino, helvetica, courier, maths=cmr]{mdwfonts}
 \usepackage{makeidx}
 \usepackage
-  [columns=2, itemlayout=singlepar, justific=raggedright,
+  [columns=2, justific=raggedright,
    totoc=true, font=small]
   {idxlayout}
 \usepackage{tikz}
@@ -41,7 +41,7 @@
 \usepackage{syntax}
 \usepackage{sverb}
 \usepackage{mdwtab}
-\usepackage[mdwmargin]{mdwthm}
+\usepackage[mdwmargin, within=section]{mdwthm}
 \usepackage{amssymb}
 \usepackage{footnote}
 \usepackage{at}
@@ -50,9 +50,12 @@
 \usepackage{sod}
 
 \makeindex
+\let\indexstheadcase\relax
+\bibliographystyle{mdwalpha}
 
 \title{A Sensible Object Design for C}
 \author{Mark Wooding}
+\date{\today; version \pkgversion}
 
 \begin{document}
 
@@ -68,12 +71,12 @@
 \include{intro}
 
 %%%--------------------------------------------------------------------------
-\part{Tutorial} \label{p:tut}
+\part{Tutorial\label{p:tut}}
 
 \include{tutorial}
 
 %%%--------------------------------------------------------------------------
-\part{Reference} \label{p:ref}
+\part{Reference\label{p:ref}}
 
 \include{refintro}
 \include{concepts}
@@ -83,7 +86,7 @@
 \include{structures}
 
 %%%--------------------------------------------------------------------------
-\part{Lisp interface} \label{p:lisp}
+\part{Lisp interface\label{p:lisp}}
 
 \include{lispintro}
 %% package.lisp
@@ -163,6 +166,9 @@
 %%%--------------------------------------------------------------------------
 \backmatter
 
+\bibliography{%
+  isostd,%
+  sigplan1990}
 \printindex
 
 %%%----- That's all, folks --------------------------------------------------
