--- a/doc-src/LaTeXsugar/document/build Tue Aug 28 16:18:23 2012 +0200
+++ b/doc-src/LaTeXsugar/document/build Tue Aug 28 16:43:47 2012 +0200
@@ -5,14 +5,5 @@
FORMAT="$1"
VARIANT="$2"
-"$ISABELLE_TOOL" latex -o sty
-cp "$ISABELLE_HOME/doc-src/pdfsetup.sty" .
+"$ISABELLE_HOME/doc-src/prepare_document" "$FORMAT"
-"$ISABELLE_TOOL" latex -o "$FORMAT"
-"$ISABELLE_TOOL" latex -o bbl
-"$ISABELLE_TOOL" latex -o "$FORMAT"
-"$ISABELLE_TOOL" latex -o "$FORMAT"
-"$ISABELLE_HOME/doc-src/sedindex" root
-[ -f root.out ] && "$ISABELLE_HOME/doc-src/fixbookmarks" root.out
-"$ISABELLE_TOOL" latex -o "$FORMAT"
-"$ISABELLE_TOOL" latex -o "$FORMAT"