File: mk_pdf.sh

package info (click to toggle)
python-numpy 1%3A1.12.1-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 23,568 kB
  • sloc: ansic: 146,995; python: 98,089; cpp: 1,112; makefile: 425; f90: 307; sh: 173; fortran: 169; perl: 58
file content (13 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
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