Permalink
Browse files

Switch from convert to epstopdf

git-svn-id: http://svn.textmate.org/trunk/Bundles/Gri.tmbundle@2825 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
1 parent d1a6fc3 commit b4d78a40f5e26e0b8fa2214c45217bc67326c54d Dan Kelley committed Mar 6, 2006
Showing with 3 additions and 2 deletions.
  1. +3 −2 Commands/Gri and view.plist
@@ -24,6 +24,7 @@ FILE=`basename "$TM_FILEPATH"`
PSFILE=`basename "$FILE" .gri`.ps
PDFFILE=`basename "$FILE" .gri`.pdf
CWD="`pwd`/"
+TOPDF="epstopdf"
# Switch to the right directory.
cd "$TM_PROJECT_DIRECTORY"
@@ -45,9 +46,9 @@ echo "<BR>";
gri -output "${DIR}/${PSFILE}" "${TM_FILEPATH}";
RC=$?
if (($RC != 0)); then exit; fi
-echo "convert ${DIR}/$PSFILE ${DIR}/$PDFFILE";
+echo "${TOPDF} ${DIR}/$PSFILE ${DIR}/$PDFFILE";
echo "<BR>";
-convert "${DIR}/$PSFILE" "${DIR}/$PDFFILE";
+${TOPDF} "${DIR}/$PSFILE" > "${DIR}/$PDFFILE";
# View...
if [ "$V" == html ]; then

0 comments on commit b4d78a4

Please sign in to comment.