summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/curves/latex2pdf
blob: c19952a89c3f87ff6878edc1d87f2544ad5de4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash 
# latex2pdf version 1.01 2009/08/31
#
# 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
set -e
bn=${1%%.*}
dvips $bn
ps2pdf $bn.ps
rm $bn.dvi $bn.ps