src/Doc/Codegen/document/build
author wenzelm
Tue, 09 Apr 2019 10:28:17 +0200
changeset 70081 093ab1a99eb6
parent 62589 b5783412bfed
child 73723 1bbbaae6b5e3
permissions -rwxr-xr-x
back to more robust "standard" anti-aliasing (reverting f610115ca3d0): sub-pixel rendering can have odd color effects, even on high-end displays;

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