doc/sod.tex: Spruce up the index handling.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 22 Sep 2015 10:27:11 +0000 (11:27 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 8 Oct 2015 21:02:03 +0000 (22:02 +0100)
  * Use `idxlayout' to format the index entries better.

  * Use the `makeidx' package's `\printindex' to read the index file.

doc/sod.tex

index df1e4c8..51fa401 100644 (file)
 \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}
 %%%--------------------------------------------------------------------------
 \backmatter
 
-\input{sod.ind}
+\printindex
 
 %%%----- That's all, folks --------------------------------------------------
 \end{document}