* Georg Kö <[EMAIL PROTECTED]>, 2005-09-16 15:20 +0200:
>
> Am 16.09.2005 um 09:00 schrieb Georg Baum:
>
> >Mike Meyer wrote:
> >
> >>I haven't been able to find anything to handle the "to" part. Can
> >>someone provide me with pointers? In a pinch, they can read MSWord
> >>doc
> >>files in Writer.
> >
> >Try tex4ht. It has a mode to output OpenOffice files.
>
> As tex4ht's documentation is not very detailed - especially on the
> OOo conversion - (my humble opinion) here is the command (I use) to
> transform files (MacOSX, Gerben Wierdas TeX Live 2004, Neo/J 1.1 ...):
>
> htlatex yourdocument.tex "xhtml,ooffice" "ooffice/! -cmozhtf" "-coo"
>
> That will produce a sxw (OOo 1.x) File. For jurabib, don't use the
> annote option.
For an "easy" conversion, put these into your LyX preferences file:
\converter "latex" "sxw" "oolatex $$i" "latex"
\format "sxw" "sxw" "OpenOffice" ""
\viewer "sxw" "open"
resp. /path/to/ooo instead of "open" if you're not on Mac OS X.
BTW, how would you represent
htlatex yourdocument.tex "xhtml,ooffice" "ooffice/! -cmozhtf" "-coo"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
in a LyX preference file?
-Andre