src/Doc/Codegen/document/build
changeset 59334 f0141b991c8f
parent 56534 3ff16a7f0b2e
child 59376 ead400fd6484
--- 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"