Attached is a patch needed for the inline previewing, it adds
conversions to XPM.

It currently pretty much depends on ImageMagick, if you use something
else please add whatever is needed to do it too.

-- 
Baruch Even
http://baruch.ev-en.org/
Index: lib/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/ChangeLog,v
retrieving revision 1.79
diff -u -r1.79 ChangeLog
--- lib/ChangeLog       2001/07/23 10:04:17     1.79
+++ lib/ChangeLog       2001/07/23 16:11:12
@@ -1,3 +1,8 @@
+2001-07-23  Baruch Even <[EMAIL PROTECTED]>
+
+       * configure: Added XPM file conversions (depends on ImageMagick). 
+       Very rudimentary, needs a better solution.
+
 2001-07-23  [EMAIL PROTECTED]  <Jürgen Spitzmüller>
 
        * bind/*.bind: add binding for ligature-break-insert
Index: lib/configure
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/lib/configure,v
retrieving revision 1.25
diff -u -r1.25 configure
--- lib/configure       2001/05/17 15:10:58     1.25
+++ lib/configure       2001/07/23 16:11:14
@@ -1154,8 +1154,10 @@
 \\Format ps      ps    Postscript      t
 \\Format program  ""   Program         ""
 \\Format word    doc   Word            W
+\\Format xpm      xpm   XPM      ""
 
 
+
 \\converter latex dvi "$LATEX \$\$i" "latex"
 \\converter latex pdf2 "$PDFLATEX \$\$i" "latex"
 \\converter latex html "$latex_to_html_command" "originaldir,needaux"
@@ -1180,6 +1182,9 @@
 \converter png eps "$image_command" ""
 \converter jpg eps "$image_command" ""
 \converter gif png "$image_command" ""
+\converter png xpm "$image_command" ""
+\converter jpg xpm "$image_command" ""
+\converter gif xpm "$image_command" ""
 
 \\viewer dvi "$DVI_VIEWER"
 \\viewer html "$HTML_VIEWER"

Reply via email to