blob: 66ecbc43ae32642fd82e7864f23d305bfbe29317 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#! /bin/bash -e
# latex2pdf version 1.0 2008/08/26
#
# Example bash script making smaller PDF files
# from LaTeX using dvips option of package curves.
# e.g. Download file, make executable and run
# $ ./latex2pdf curves.dtx
latex $1
bn=${1%%.*}
dvips $bn
ps2pdf $bn.ps
rm $bn.dvi $bn.ps
|