src/Doc/prepare_document
author wenzelm
Thu, 10 Mar 2016 17:30:04 +0100
changeset 62589 b5783412bfed
parent 53498 05313b45a5ae
child 73724 5a3a2a52648d
permissions -rwxr-xr-x
prefer plain "isabelle" from PATH within Isabelle settings environment;

#!/usr/bin/env bash

set -e

FORMAT="$1"

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

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