--- a/src/Doc/Codegen/document/build Fri Jan 09 21:20:07 2015 +0100
+++ b/src/Doc/Codegen/document/build Sat Jan 10 10:24:30 2015 +0100
@@ -5,6 +5,12 @@
FORMAT="$1"
VARIANT="$2"
+# ad-hoc patching of temporary path from sources
+perl -i -pe 's/\\isakeyword\{module\{\\isacharunderscore\}name\}\\ Example\\ \\isakeyword\{file\}\\ \{\\isachardoublequoteopen\}.*\{\\isacharslash\}/\\isakeyword{module{\\isacharunderscore}name}\\ Example\\ \\isakeyword{file}\\ {\\isachardoublequoteopen}examples{\\isacharslash}/g' \
+ Introduction.tex
+
"$ISABELLE_TOOL" logo Isar
"$ISABELLE_HOME/src/Doc/prepare_document" "$FORMAT"
+# clean up afterwards
+rm -rf "${ISABELLE_TMP}/examples"