Am Mittwoch, 24. März 2004 09:31 schrieb Andre Poenitz: > Could you please provide a patch to implement this for current CVS?
Sure. Georg
Index: lib/ChangeLog =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/ChangeLog,v retrieving revision 1.574 diff -u -r1.574 ChangeLog --- lib/ChangeLog 2004/03/22 16:22:52 1.574 +++ lib/ChangeLog 2004/03/23 09:01:46 @@ -1,3 +1,7 @@ +2004-03-24 Georg Baum <[EMAIL PROTECTED]> + + * configure.m4: add OpenOffice.org -> TeX converter + 2004-03-22 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> * lyxrc.example: remove \ps_command Index: lib/configure.m4 =================================================================== RCS file: /cvs/lyx/lyx-devel/lib/configure.m4,v retrieving revision 1.75 diff -u -r1.75 configure.m4 --- lib/configure.m4 2004/03/22 16:22:52 1.75 +++ lib/configure.m4 2004/03/23 09:01:47 @@ -263,6 +265,9 @@ SEARCH_PROG([for Image converter],image_command,convert) test $image_command = "convert" && image_command="convert \$\$i \$\$o" +SEARCH_PROG([for an OpenOffice.org -> Latex converter],sxw_to_latex_command,w2l) +test "$sxw_to_latex_command" = "w2l" && sxw_to_latex_command="w2l -clean \$\$i" + # Search something to preview postscript SEARCH_PROG([for a Postscript previewer],GHOSTVIEW,gsview32 gv ghostview) case $GHOSTVIEW in @@ -524,6 +559,7 @@ \\Format program "" Program "" \\Format ps ps Postscript t \\Format pstex pstex_t PSTEX "" +\\Format sxw sxw "OpenOffice.Org Writer" "" \\Format text txt ASCII A \\Format textparagraph txt ASCII(paragraphs) "" \\Format tgif obj TGIF "" @@ -554,6 +595,7 @@ \\converter lyxpreview ppm "$lyxpreview_to_bitmap_command" "" \\converter ps fax "$fax_command" "" \\converter ps pdf "$ps_to_pdf_command" "" +\\converter sxw latex "$sxw_to_latex_command" "" \\converter word latex "$word_to_latex_command" "" \\viewer dvi "$DVI_VIEWER"