]> git.lyx.org Git - features.git/commitdiff
more fixes to grace converters
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 25 Apr 2002 08:28:53 +0000 (08:28 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 25 Apr 2002 08:28:53 +0000 (08:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4066 a592a061-630c-0410-9148-cb99ea01b6c8

lib/ChangeLog
lib/configure.m4

index 4f1e7b2faef216042c3becfe95a036991c2c42b9..fce91a96c6ef365ab370f813a04d0757b80bf947 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-25  Rob Lahaye  <lahaye@users.sourceforge.net>
+
+       * configure.m4: use gracebat instead of xmgrace in the Grace converters
+       to make the conversion independent of the availability of an Xserver
 2002-04-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
 
        * doc/ExternalMaterial.lyx: remove, since it has been included in
index 9fbf2391a765bd55a70af13ff2b8ab5d0b5d405d..6ce98bb726e9b56c3a6da8eee051b915390a13fc 100644 (file)
@@ -404,16 +404,13 @@ esac
 SEARCH_PROG([for a Grace -> Image converter], GRACE, gracebat)
 case $GRACE in
  gracebat) 
-  for device in `gracebat -version 2>/dev/null | grep "^Dummy"` ; do
-    case $device in
-      EPS)
-        agr_to_eps="xmgrace -hardcopy -printfile \$\$o -hdevice $device \$\$i";;
-      PDF)
-        agr_to_pdf="xmgrace -hardcopy -printfile \$\$o -hdevice $device \$\$i";;
-      PNG)
-        agr_to_png="xmgrace -hardcopy -printfile \$\$o -hdevice $device \$\$i";;
-    esac
-  done 
+   for device in `gracebat -version 2>/dev/null | grep "^Dummy"` ; do
+     case $device in
+       EPS) agr_to_eps="gracebat -hardcopy -printfile \$\$o -hdevice $device \$\$i 2>/dev/null";;
+       PDF) agr_to_pdf="gracebat -hardcopy -printfile \$\$o -hdevice $device \$\$i 2>/dev/null";;
+       PNG) agr_to_png="gracebat -hardcopy -printfile \$\$o -hdevice $device \$\$i 2>/dev/null";;
+     esac
+   done 
 esac
 
 #### Explore the LaTeX configuration