X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/f1aa19a8c0ee3d522959326f5438955fea3771e3..d5fdd49e70b734b791eb907706f92da5775e2a8b:/doc/sod.tex diff --git a/doc/sod.tex b/doc/sod.tex index b2707f6..9b2964d 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} @@ -40,8 +40,8 @@ \usetikzlibrary{positioning} \usepackage{syntax} \usepackage{sverb} -\usepackage{mdwtab} -\usepackage[mdwmargin]{mdwthm} +\usepackage{longtable, mdwtab} +\usepackage[mdwmargin, within=section]{mdwthm} \usepackage{amssymb} \usepackage{footnote} \usepackage{at} @@ -50,9 +50,20 @@ \usepackage{sod} \makeindex +\let\indexstheadcase\relax +\bibliographystyle{mdwalpha} + +\ifx\pkgversion\xxundefined + \immediate\typeout{WARNING: \string\pkgversion\ not defined} + \def\pkgversion{UNSET} +\fi \title{A Sensible Object Design for C} \author{Mark Wooding} +\date{\today; version \pkgversion} +\innerhead[Version \pkgversion]{} + +%%\includeonly{...} \begin{document} @@ -65,13 +76,15 @@ \mainmatter +\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} @@ -81,7 +94,7 @@ \include{structures} %%%-------------------------------------------------------------------------- -\part{Lisp interface} \label{p:lisp} +\part{Lisp interface\label{p:lisp}} \include{lispintro} %% package.lisp @@ -161,6 +174,7 @@ %%%-------------------------------------------------------------------------- \backmatter +\bibliography{sod} \printindex %%%----- That's all, folks --------------------------------------------------