From: Mark Wooding Date: Tue, 22 Sep 2015 10:27:11 +0000 (+0100) Subject: doc/sod.tex: Spruce up the index handling. X-Git-Url: https://git.distorted.org.uk/~mdw/sod/commitdiff_plain/b59108e202b0d0dcddedf4695cabdfb6d29a5e4c doc/sod.tex: Spruce up the index handling. * Use `idxlayout' to format the index entries better. * Use the `makeidx' package's `\printindex' to read the index file. --- diff --git a/doc/sod.tex b/doc/sod.tex index df1e4c8..51fa401 100644 --- a/doc/sod.tex +++ b/doc/sod.tex @@ -30,6 +30,11 @@ \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} @@ -153,7 +158,7 @@ %%%-------------------------------------------------------------------------- \backmatter -\input{sod.ind} +\printindex %%%----- That's all, folks -------------------------------------------------- \end{document}