summaryrefslogtreecommitdiff
path: root/doc/f2py/f2python9-final/mk_html.sh
diff options
context:
space:
mode:
Diffstat (limited to 'doc/f2py/f2python9-final/mk_html.sh')
-rwxr-xr-xdoc/f2py/f2python9-final/mk_html.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/f2py/f2python9-final/mk_html.sh b/doc/f2py/f2python9-final/mk_html.sh
new file mode 100755
index 000000000..944110e93
--- /dev/null
+++ b/doc/f2py/f2python9-final/mk_html.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+cd src
+
+test -f aerostructure.eps || convert ../aerostructure.jpg aerostructure.eps
+test -f flow.eps || convert ../flow.jpg flow.eps
+test -f structure.eps || convert ../structure.jpg structure.eps
+
+latex python9.tex
+latex python9.tex
+latex python9.tex
+
+test `which tth` && cat python9.tex | sed -e "s/{{}\\\verb@/\\\texttt{/g" | sed -e "s/@{}}/}/g" | tth -Lpython9 -i > ../f2python9.html
+cd ..