"isabelle logo" produces EPS and PDF format simultaneously;
more robust invocation of epstopdf: avoid filter mode;
#!/bin/bash
set -e
FORMAT="$1"
VARIANT="$2"
"$ISABELLE_TOOL" logo -n isabelle_sledgehammer "S/H"
cp "$ISABELLE_HOME/src/Doc/iman.sty" .
cp "$ISABELLE_HOME/src/Doc/manual.bib" .
"$ISABELLE_HOME/src/Doc/prepare_document" "$FORMAT"