properly take quantifiers into account (cf. my Ph.D. thesis, Section 6.4.1) and offer three modes of completeness (for experiments mostly)
#!/usr/bin/env bash
set -e
FORMAT="$1"
VARIANT="$2"
isabelle logo HOL
isabelle latex -o "$FORMAT"
isabelle latex -o bbl
./isa-index root
isabelle latex -o "$FORMAT"
[ -f root.out ] && "$ISABELLE_HOME/src/Doc/fixbookmarks" root.out
isabelle latex -o "$FORMAT"