src/Doc/prepare_document
author wenzelm
Tue, 10 Sep 2013 11:57:53 +0200
changeset 53498 05313b45a5ae
parent 48985 5386df44a037
child 62589 b5783412bfed
permissions -rwxr-xr-x
more portable hash-bang;

#!/usr/bin/env 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"