summaryrefslogtreecommitdiff
path: root/scipy/f2py/doc/f2python9-final/mk_pdf.sh
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2005-10-28 21:25:47 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2005-10-28 21:25:47 +0000
commit5dda00de77bbb5ec80deb350a95b5d7780c571b8 (patch)
tree1a017a7ce73b2aff22f2e92ba80a07f41d20542d /scipy/f2py/doc/f2python9-final/mk_pdf.sh
parentb87a003a9205916b22abd5fa64580974a2df652a (diff)
downloadnumpy-5dda00de77bbb5ec80deb350a95b5d7780c571b8.tar.gz
Moved f2py2e to f2py.
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