| author | wenzelm | 
| Mon, 04 Jul 2016 19:57:56 +0200 | |
| changeset 63380 | efdb70ad35f9 | 
| parent 62589 | b5783412bfed | 
| child 73723 | 1bbbaae6b5e3 | 
| permissions | -rwxr-xr-x | 
| 53498 | 1 | #!/usr/bin/env bash | 
| 48951 
b9238cbcdd41
more standard document preparation within session context;
 wenzelm parents: diff
changeset | 2 | |
| 
b9238cbcdd41
more standard document preparation within session context;
 wenzelm parents: diff
changeset | 3 | set -e | 
| 
b9238cbcdd41
more standard document preparation within session context;
 wenzelm parents: diff
changeset | 4 | |
| 
b9238cbcdd41
more standard document preparation within session context;
 wenzelm parents: diff
changeset | 5 | FORMAT="$1" | 
| 
b9238cbcdd41
more standard document preparation within session context;
 wenzelm parents: diff
changeset | 6 | VARIANT="$2" | 
| 
b9238cbcdd41
more standard document preparation within session context;
 wenzelm parents: diff
changeset | 7 | |
| 59334 | 8 | # ad-hoc patching of temporary path from sources | 
| 59376 
ead400fd6484
even more pervasive replacement of auxiliary destination
 haftmann parents: 
59334diff
changeset | 9 | perl -i -pe 's/\{\\isachardollar\}ISABELLE\{\\isacharunderscore\}TMP\{\\isacharslash\}examples/examples/g' *.tex
 | 
| 59334 | 10 | |
| 62589 
b5783412bfed
prefer plain "isabelle" from PATH within Isabelle settings environment;
 wenzelm parents: 
59376diff
changeset | 11 | isabelle logo Isar | 
| 48985 | 12 | "$ISABELLE_HOME/src/Doc/prepare_document" "$FORMAT" | 
| 48956 | 13 | |
| 59334 | 14 | # clean up afterwards | 
| 15 | rm -rf "${ISABELLE_TMP}/examples"
 |