Opened 19 years ago
Closed 16 years ago
#2085 closed enhancement (wontfix)
Export to ODF Format Not Via oolatex
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | converters | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: | j.spitzmueller@…, alexl@… |
Description
There is a tool, oolatex, that can convert a latex file to a sxw, but
it is kind of clumsy. Ideally a LyX to sxw conversion, both ways, would have
some configuration options mapping oo styles to document part tags. oo has
support for named styles, so exporting the LyX document as tagged text and
translating the tag definitions would not be intractable.
Especially since OO 2 supposedly has latex import capability.
I was a little surprised that searching for "openoffice" and "open office" both
found zero bugs entered already. So here is a bug report to hang this project
off of.
Attachments (1)
Change History (17)
comment:1 by , 19 years ago
comment:3 by , 18 years ago
Summary: | export to sxw format? → export to OpenDocument (odf) format |
---|
Note that we're considering using ODF directly as our .lyx format.
Confirm it then.
comment:4 by , 17 years ago
Cc: | added |
---|
comment:5 by , 17 years ago
Cc: | added |
---|
The following converter works perfectly for me (TeXLive 2007):
LaTeX (plain) -> Open Document
converter:
htlatex $$i 'xhtml,ooffice' 'ooffice/! -cmozhtf' '-coo' '-cvalidate'
extra flag:
needaux
comment:6 by , 17 years ago
Are there any plans to use make this default just like the RTF-converter added
in 1.4.4?
One remark, through, which is not related to Lyx itself:
tex4ht is currently not functioning very well on ubuntu
https://bugs.launchpad.net/ubuntu/+source/tex4ht/+bug/90741
comment:7 by , 17 years ago
For those having problems with this on Ubuntu:
Converting LaTeX files to OpenOffice: LyX, tex4ht, and oolatex woes
http://ubuntuforums.org/showthread.php?t=453721
Bug report for tex4ht on Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/tex4ht/+bug/129246
comment:8 by , 17 years ago
Keywords: | patch added |
---|
comment:9 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Done at 19260 (trunk) and 19262 (1.5 branch).
comment:10 by , 17 years ago
Keywords: | patch removed |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
This enhancement request requests a more flexible export than oolatex. This has
not been implemented, so either leave this bug open or close it as WONTFIX.
comment:11 by , 17 years ago
I don't understand how a direct LyX to OpenDocument conversion is supposed to
work, except for _very_ limited purposes. As soon as labels, references,
indices, bibtex (or even simple footnotes and floats), let alone packages that
aren't supported natively by LyX, are involved, a conversion that doesn't go
the LaTeX way will dramatically fail.
There's a reason that htlatex is that complex, and that it has, for instance,
extra modules for natbib, jurabib and biblatex, amongst numerous other LaTeX
packages.
comment:12 by , 17 years ago
A direct export to ODF might give better results for natively supported stuff
(the LaTeX output of LyX is sometimes physical and not logical markup), with
the disadvantages you listed.
Anyway, I did not reopen the bug because I want to have direct export. I did it
only for correctness reasons: If there is a consensus that direct export will
not be implemented then this is a WONTFIX.
comment:13 by , 17 years ago
I just want to comment that installing Lyx 1.5.1 on Ubuntu Feisty (7.04) as a
self-complied (checkinstall) package fixed the issue I raised before.
I can now export to a ODF file without problems.
@Georg Baum: Improvements on the export are very welcome:
- TOC could reflect the ODF TOC
- styles
- listings etc....
Thanks to the lyx dev team for fixing this.
comment:14 by , 16 years ago
Hi
I'm using Debian testing ("Lenny") with LyX 1.5.2-1.
The exporting command seems to works OK. However, OOo doesn't recognize it as
an OpenDocument file.
When I open the generated file, it asks for the file type. I choose
OpenDocument Text, but the generated file is reported as broken (and OOo fails
to fix it!).
I've tried both configuration files, the original one, and the patched one. In
both cases, the problem remains.
Regards,
comment:15 by , 16 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Summary: | export to OpenDocument (odf) format → Export to ODF Format Not Via oolatex |
I'm marking this WONTFIX. I don't see us implementing a special export to ODF
that doesn't go via LaTeX, and we're no longer considering ODF as the native LyX
format, so far as I know.
comment:16 by , 10 years ago
Component: | convertors → converters |
---|
When someone wants to add this feature, then it should better be an export
filter to the OpenDocument format as it is used in AbiWord, TextMaker,
StarOffice, KOffice, OpenOffice etc.