#!/bin/sh # MPS2EPS converts MetaPost PostScript (MPS) files to Encapsulated # PostScript Files (EPS). # # Copyright (C) 2003 Jon Edvardsson # http://www.ida.liu.se/~joned # Linköpings universitet, Sweden # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # # $Id: mps2eps,v 1.9 2004/06/14 09:33:26 joned Exp $ # # Bugs and comments can be reported to Jon Edvardsson . PROG=`basename $0` PROGNAME="MPS2EPS"; REVISION='$Revision: 1.9 $' VERSION=`echo $REVISION|awk '{print $2}'` COPYRIGHT="Copyright (C) 2003 Jon Edvardsson." LICENSE="Released under GNU General Public License." version() { cat < $TEXFILE < /dev/null dvips $DVIPS_OPTS -E -j -o $EPSFILE $TEXBASE 2> /dev/null rm -f $TEXBASE.*