src/Doc/Codegen/document/build
author paulson <lp15@cam.ac.uk>
Tue, 28 Jan 2020 14:59:54 +0000
changeset 71410 5385de42f9f4
parent 62589 b5783412bfed
child 73723 1bbbaae6b5e3
permissions -rwxr-xr-x
Tidied up some messy proofs

#!/usr/bin/env bash

set -e

FORMAT="$1"
VARIANT="$2"

# ad-hoc patching of temporary path from sources
perl -i -pe 's/\{\\isachardollar\}ISABELLE\{\\isacharunderscore\}TMP\{\\isacharslash\}examples/examples/g' *.tex

isabelle logo Isar
"$ISABELLE_HOME/src/Doc/prepare_document" "$FORMAT"

# clean up afterwards
rm -rf "${ISABELLE_TMP}/examples"