summaryrefslogtreecommitdiff
path: root/scipy/f2py/doc/f2python9-final/mk_pdf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/f2py/doc/f2python9-final/mk_pdf.sh')
-rwxr-xr-xscipy/f2py/doc/f2python9-final/mk_pdf.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/scipy/f2py/doc/f2python9-final/mk_pdf.sh b/scipy/f2py/doc/f2python9-final/mk_pdf.sh
new file mode 100755
index 000000000..b773028b7
--- /dev/null
+++ b/scipy/f2py/doc/f2python9-final/mk_pdf.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+cd src
+
+test -f aerostructure.pdf || convert ../aerostructure.jpg aerostructure.pdf
+test -f flow.pdf || convert ../flow.jpg flow.pdf
+test -f structure.pdf || convert ../structure.jpg structure.pdf
+
+cat python9.tex | sed -e "s/eps,/pdf,/g" > python9pdf.tex
+pdflatex python9pdf.tex
+pdflatex python9pdf.tex
+pdflatex python9pdf.tex
+
+mv python9pdf.pdf ../f2python9.pdf \ No newline at end of file