X-Git-Url: https://git.distorted.org.uk/~mdw/doc/ips/blobdiff_plain/41761fdc7bb8f1ed87f5e1116d389158513ee280..d7891575df8f6673b4e4f65d556a171d8aab2ba0:/ips.tex

diff --git a/ips.tex b/ips.tex
index 8702127..47c8f96 100644
--- a/ips.tex
+++ b/ips.tex
@@ -2,8 +2,7 @@
 %%%
 %%% Main document sequencing for IPS course
 
-\ifx\printslides\notdef\documentclass[a4, article, twoside]{seminar}\fi
-\usepackage{ips}
+\documentclass{ips}
 
 \title{Introduction to Provable Security}
 \author{Mark Wooding}
@@ -39,8 +38,7 @@
 %% \include{zk}
 %% \include{chan}
 
-\section{Answers to exercises}
-\answers
+\ifipsanswers\section{Answers to exercises}\answers\fi
 
 \section{Acknowledgements}
 
@@ -48,10 +46,11 @@ A great deal of the material covered here, particularly the earlier stuff, is
 derived from \cite{Goldwasser:1999:LNC}.  Of course, any errors are mine
 alone.
 
-\ifarticle\bibliography{cryptography,mdw-crypto}\else
+\xcalways\def\bibl{\bibliography{mdw-crypto,cryptography2000,cryptography}}\x
+\ifarticle\bibl\else
 \begin{slide}
   \head{References} \sectionmark{References}
-  \bibliography{cryptography,mdw-crypto}
+  \bibl
 \end{slide}
 \fi
 
