# This file is part of the PD system # Copyright (C) 1998 Ralf Hartmut Gueting, Fachbereich Informatik, FernUniversitaet Hagen # 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. #!/bin/sh # # pd2ps - Converts a PD file to a postscript file # # May 2004, M. Spiekermann if { ! pd2dvi $1; }; then exit 1 fi dvips -o "$1.ps" "$1.dvi"