Hi Lars,

here comes the converter patch that is necessary due to Angus's last patch.

Kind regards, Michael

PS: Could you please also check my other patches???
      - Trivial mouse wheel patch
      - Fix of CTRL-Pos1/End in mathed
      - Fix for spacing around previewed formula
Index: ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/ChangeLog,v
retrieving revision 1.345
diff -u -r1.345 ChangeLog
--- ChangeLog   2003/01/12 19:35:37     1.345
+++ ChangeLog   2003/01/12 22:20:01
@@ -1,3 +1,7 @@
+2003-01-12  Michael Schmitt <[EMAIL PROTECTED]>
+
+        * Replace fig/tgif/agr->xpm converters by fig/tgif/agr->ppm/jpeg converters
+
 2003-01-06  Angus Leeming  <[EMAIL PROTECTED]>
 
        * configure.m4: added a few graphics formats (gif, jpg etc).
Index: configure.m4
===================================================================
RCS file: /cvs/lyx/lyx-devel/lib/configure.m4,v
retrieving revision 1.59
diff -u -r1.59 configure.m4
--- configure.m4        2003/01/12 19:35:37     1.59
+++ configure.m4        2003/01/12 22:20:04
@@ -497,11 +497,11 @@
 ### the graphic converter part with the predefined ones
 #### Search for tne nonstandard converting progs
 #
-SEARCH_PROG([for an FIG -> EPS/XPM converter], FIG2DEV, fig2dev)
+SEARCH_PROG([for an FIG -> EPS/PPM converter], FIG2DEV, fig2dev)
 if test "$FIG2DEV" = "fig2dev"; then
 cat >>$outfile <<EOF
 \\converter fig eps "fig2dev -L eps \$\$i \$\$o" ""
-\\converter fig xpm "fig2dev -L xpm \$\$i \$\$o" ""
+\\converter fig ppm "fig2dev -L ppm \$\$i \$\$o" ""
 EOF
 fi
 
@@ -512,13 +512,13 @@
 EOF
 fi
 
-SEARCH_PROG([for an TGIF -> EPS/XPM converter], TGIF, tgif)
+SEARCH_PROG([for an TGIF -> EPS/PPM converter], TGIF, tgif)
 if test "$TGIF" = "tgif"; then
 cat >>$outfile <<EOF
 \\converter tgif eps "tgif -print -eps \$\$i" ""
 \\converter tgif pdf "tgif -print -pdf \$\$i" ""
 \\converter tgif png "tgif -print -png \$\$i" ""
-\\converter tgif xpm "tgif -print -stdout -xpm \$\$i > \$\$o" ""
+\\converter tgif ppm "tgif -print -stdout -xpm \$\$i | xpmtoppm > \$\$o" ""
 EOF
 fi
 
@@ -535,7 +535,7 @@
 cat >>$outfile <<EOF
 \\converter agr eps "gracebat -hardcopy -printfile \$\$o -hdevice EPS \$\$i 
2>/dev/null" ""
 \\converter agr png "gracebat -hardcopy -printfile \$\$o -hdevice PNG \$\$i 
2>/dev/null" ""
-\\converter agr xpm "gracebat -hardcopy -printfile - -hdevice PNG \$\$i 2>/dev/null | 
convert - \$\$o" ""
+\\converter agr jpg "gracebat -hardcopy -printfile \$\$o -hdevice JPEG \$\$i 
+2>/dev/null" ""
 EOF
 fi
 

Reply via email to