X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/0a262580e14bf2c3e6f3a8feec518aa57d78691b..2c6153373f927d948a74b283ebb16330af8ee49a:/doc/sod.tex

diff --git a/doc/sod.tex b/doc/sod.tex
index e140c1f..9b2964d 100644
--- a/doc/sod.tex
+++ b/doc/sod.tex
@@ -40,7 +40,7 @@
 \usetikzlibrary{positioning}
 \usepackage{syntax}
 \usepackage{sverb}
-\usepackage{mdwtab}
+\usepackage{longtable, mdwtab}
 \usepackage[mdwmargin, within=section]{mdwthm}
 \usepackage{amssymb}
 \usepackage{footnote}
@@ -53,8 +53,17 @@
 \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}
 
@@ -165,9 +174,7 @@
 %%%--------------------------------------------------------------------------
 \backmatter
 
-\bibliography{%
-  isostd,%
-  sigplan1990}
+\bibliography{sod}
 \printindex
 
 %%%----- That's all, folks --------------------------------------------------
