#!/bin/sh # # Copyright (C) Koji Nakamaru # # Author: Koji Nakamaru (nakamaru at gmail.com) # Modified: Apr 30 2005 # * changed the contact information. # Created: Apr 14 2002 # Keywords: postscript, ghostscript, dvipdfm # # This file is part of dvipdfa. # # 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, 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 GNU Emacs; see the file COPYING. If not, write to the # Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. # #PATH=/usr/local/tex/bin:/usr/bin:/bin #export PATH ADHOCSHOW=/usr/local/tex/lib/ad-hoc-show.pro dvipdfm -D "zcat -f %i | gs -q -dBATCH -dNOPAUSE -dSAFER -dWRITESYSTEMDICT -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -dCompatibilityLevel=1.2 -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o -f $ADHOCSHOW - -c quit" $@