Re: include openoffice export and import filter
On 24 Mar 2004, [EMAIL PROTECTED] wrote: Am Mittwoch, 24. März 2004 16:42 schrieb Uwe Brauer: ok, what is about the first filter oolatex? Should be even easier to include. The configure bit is probably easy, but: I wanted to test oolatex, and failed. The system installed version of tex4ht is too old (has no oolatex), and installing it from the downloadable archive is a pain. I gave up after fiddling too long with it. Why can't they include a Makefile but instead write a html doc that contains the appropriate commands here and there? Or better even .configure In any case it is sadly true, it took me quite a while to install. I tried to convince the person in charge for debian to upgrade the package, but did not got any reply. I have the tex4ht in deb and rpm format (however converted by alien so it is not very professional.) It is around 1 Mega, so if you want I can send it to you. Uwe Georg
Re: include openoffice export and import filter
On Thu, Mar 25, 2004 at 11:20:43AM +0100, Uwe Brauer wrote: On 24 Mar 2004, [EMAIL PROTECTED] wrote: Am Mittwoch, 24. März 2004 16:42 schrieb Uwe Brauer: ok, what is about the first filter oolatex? Should be even easier to include. The configure bit is probably easy, but: I wanted to test oolatex, and failed. The system installed version of tex4ht is too old (has no oolatex), and installing it from the downloadable archive is a pain. I gave up after fiddling too long with it. Why can't they include a Makefile but instead write a html doc that contains the appropriate commands here and there? Or better even .configure In any case it is sadly true, it took me quite a while to install. I tried to convince the person in charge for debian to upgrade the package, but did not got any reply. I have the tex4ht in deb and rpm format (however converted by alien so it is not very professional.) It is around 1 Mega, so if you want I can send it to you. So waht about Georgs patch? Everyone happy with it, at least as a first step? If so, I'd just apply it. Andre'
Re: include openoffice export and import filter
On 24 Mar 2004, [EMAIL PROTECTED] wrote: > Am Mittwoch, 24. März 2004 16:42 schrieb Uwe Brauer: >> ok, what is about the first filter oolatex? Should be even easier >> to include. > > The configure bit is probably easy, but: I wanted to test oolatex, > and failed. The system installed version of tex4ht is too old (has > no oolatex), and installing it from the downloadable archive is a > pain. I gave up after fiddling too long with it. Why can't they > include a Makefile but instead write a html doc that contains the > appropriate commands here and there? Or better even .configure In any case it is sadly true, it took me quite a while to install. I tried to convince the person in charge for debian to upgrade the package, but did not got any reply. I have the tex4ht in deb and rpm format (however converted by alien so it is not very professional.) It is around 1 Mega, so if you want I can send it to you. Uwe > > Georg
Re: include openoffice export and import filter
On Thu, Mar 25, 2004 at 11:20:43AM +0100, Uwe Brauer wrote: > On 24 Mar 2004, [EMAIL PROTECTED] wrote: > > > Am Mittwoch, 24. März 2004 16:42 schrieb Uwe Brauer: > >> ok, what is about the first filter oolatex? Should be even easier > >> to include. > > > > The configure bit is probably easy, but: I wanted to test oolatex, > > and failed. The system installed version of tex4ht is too old (has > > no oolatex), and installing it from the downloadable archive is a > > pain. I gave up after fiddling too long with it. Why can't they > > include a Makefile but instead write a html doc that contains the > > appropriate commands here and there? > > Or better even .configure > > In any case it is sadly true, it took me quite a while to install. I > tried to convince the person in charge for debian to upgrade the > package, but did not got any reply. I have the tex4ht in deb and rpm > format (however converted by alien so it is not very professional.) It > is around 1 Mega, so if you want I can send it to you. So waht about Georgs patch? Everyone happy with it, at least as a first step? If so, I'd just apply it. Andre'
Re: include openoffice export and import filter
On Tue, Mar 23, 2004 at 09:35:27PM +0100, Georg Baum wrote: The second one requires java, and can be also executed from the command line. The latex file produced will need a special writer.sty. Yes. I don't use the former, but the needed lines for lib/configure.m4 for writer2latex are (w2l is a shell script shipped with it): 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 and further down: \\Format sxw sxw OpenOffice.Org Writer The -clean commandline option basically means try to preserve structure rather than layout. w2l too works well from within lyx. Could you please provide a patch to implement this for current CVS? Andre'
Re: include openoffice export and import filter
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 pstexpstex_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
Re: include openoffice export and import filter
On 24 Mar 2004, [EMAIL PROTECTED] wrote: 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 ok, what is about the first filter oolatex? Should be even easier to include.
Re: include openoffice export and import filter
Am Mittwoch, 24. März 2004 16:42 schrieb Uwe Brauer: ok, what is about the first filter oolatex? Should be even easier to include. The configure bit is probably easy, but: I wanted to test oolatex, and failed. The system installed version of tex4ht is too old (has no oolatex), and installing it from the downloadable archive is a pain. I gave up after fiddling too long with it. Why can't they include a Makefile but instead write a html doc that contains the appropriate commands here and there? Georg
Re: include openoffice export and import filter
On Tue, Mar 23, 2004 at 09:35:27PM +0100, Georg Baum wrote: > > The second one requires java, and can be also executed from the > > command line. The latex file produced will need a special writer.sty. > > Yes. I don't use the former, but the needed lines for lib/configure.m4 for > writer2latex are (w2l is a shell script shipped with it): > > 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" > > and further down: > > \\Format sxw sxw "OpenOffice.Org Writer" "" > > > The -clean commandline option basically means "try to preserve structure > rather than layout". w2l too works well from within lyx. Could you please provide a patch to implement this for current CVS? Andre'
Re: include openoffice export and import filter
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 pstexpstex_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"
Re: include openoffice export and import filter
On 24 Mar 2004, [EMAIL PROTECTED] wrote: > 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 ok, what is about the first filter oolatex? Should be even easier to include.
Re: include openoffice export and import filter
Am Mittwoch, 24. März 2004 16:42 schrieb Uwe Brauer: > ok, what is about the first filter oolatex? Should be even easier to > include. The configure bit is probably easy, but: I wanted to test oolatex, and failed. The system installed version of tex4ht is too old (has no oolatex), and installing it from the downloadable archive is a pain. I gave up after fiddling too long with it. Why can't they include a Makefile but instead write a html doc that contains the appropriate commands here and there? Georg
Re: include openoffice export and import filter
Am Dienstag, 23. März 2004 19:23 schrieb Uwe Brauer: Hello May be this suggestion has already be made: there exists now an openoffice to latex export and import filter, including mathematical formula. 1. Oolatex is a script shipped with tex4ht, which converts latex to sxw files. 2. Writer2latex is java export filter which converts sxw files to latex. I think the first converter could be easily accessed from lyx. The second one requires java, and can be also executed from the command line. The latex file produced will need a special writer.sty. Yes. I don't use the former, but the needed lines for lib/configure.m4 for writer2latex are (w2l is a shell script shipped with it): 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 and further down: \\Format sxw sxw OpenOffice.Org Writer The -clean commandline option basically means try to preserve structure rather than layout. w2l too works well from within lyx. Georg
Re: include openoffice export and import filter
Am Dienstag, 23. März 2004 19:23 schrieb Uwe Brauer: > Hello > > May be this suggestion has already be made: there exists now an > openoffice to latex export and import filter, including mathematical > formula. > > 1. Oolatex is a script shipped with tex4ht, which converts latex to >sxw files. 2. Writer2latex is java export filter which converts > sxw files to >latex. > > I think the first converter could be easily accessed from lyx. > > The second one requires java, and can be also executed from the > command line. The latex file produced will need a special writer.sty. Yes. I don't use the former, but the needed lines for lib/configure.m4 for writer2latex are (w2l is a shell script shipped with it): 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" and further down: \\Format sxw sxw "OpenOffice.Org Writer" "" The -clean commandline option basically means "try to preserve structure rather than layout". w2l too works well from within lyx. Georg