src/Doc/prepare_document
author wenzelm
Mon, 11 Feb 2013 14:39:04 +0100
changeset 51085 d90218288d51
parent 48985 5386df44a037
child 53498 05313b45a5ae
permissions -rwxr-xr-x
make WWW_Find work again, now that its ML modules reside within a theory context (cf. bf5b45870110) -- patch by Rafal Kolanski;

#!/bin/bash

set -e

FORMAT="$1"

"$ISABELLE_TOOL" latex -o sty
cp "$ISABELLE_HOME/src/Doc/pdfsetup.sty" .

"$ISABELLE_TOOL" latex -o "$FORMAT"
"$ISABELLE_TOOL" latex -o bbl
[ -f root.idx ] && "$ISABELLE_HOME/src/Doc/sedindex" root
"$ISABELLE_TOOL" latex -o "$FORMAT"
[ -f root.out ] && "$ISABELLE_HOME/src/Doc/fixbookmarks" root.out
"$ISABELLE_TOOL" latex -o "$FORMAT"