more fixes to grace converters

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4066 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-04-25 08:28:53 +00:00
parent 8d4a2a275b
commit 30e9e3379d
2 changed files with 12 additions and 10 deletions

View 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> 2002-04-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* doc/ExternalMaterial.lyx: remove, since it has been included in * doc/ExternalMaterial.lyx: remove, since it has been included in

View File

@ -404,16 +404,13 @@ esac
SEARCH_PROG([for a Grace -> Image converter], GRACE, gracebat) SEARCH_PROG([for a Grace -> Image converter], GRACE, gracebat)
case $GRACE in case $GRACE in
gracebat) gracebat)
for device in `gracebat -version 2>/dev/null | grep "^Dummy"` ; do for device in `gracebat -version 2>/dev/null | grep "^Dummy"` ; do
case $device in case $device in
EPS) EPS) agr_to_eps="gracebat -hardcopy -printfile \$\$o -hdevice $device \$\$i 2>/dev/null";;
agr_to_eps="xmgrace -hardcopy -printfile \$\$o -hdevice $device \$\$i";; PDF) agr_to_pdf="gracebat -hardcopy -printfile \$\$o -hdevice $device \$\$i 2>/dev/null";;
PDF) PNG) agr_to_png="gracebat -hardcopy -printfile \$\$o -hdevice $device \$\$i 2>/dev/null";;
agr_to_pdf="xmgrace -hardcopy -printfile \$\$o -hdevice $device \$\$i";; esac
PNG) done
agr_to_png="xmgrace -hardcopy -printfile \$\$o -hdevice $device \$\$i";;
esac
done
esac esac
#### Explore the LaTeX configuration #### Explore the LaTeX configuration