This program converts html file to odt. There is a python script
(xhtml2odt.py), and I am trying it. It does a pretty good job on html
files generated by asciidoc. A good point for me: the last version
(1.2) can convert complex tables with row and col spanning (it fails
for some of the examples of newtables.txt, but it is promising). I
found the resulting file better with xhtml2odt than with docbook2odf.
There is currently a problem with image-blocks: images were not
visible in the odt file. Aurélien Bompard looked at this, and told
this was because images were not included into a paragraph in the
xhtml file. For some internal reasons, it could not be handled in
xhtml2odt. I was wondering if this could be done in asciidoc, but only
Stuart could tell if this will break something.
> This program converts html file to odt. There is a python script > (xhtml2odt.py), and I am trying it. It does a pretty good job on html > files generated by asciidoc. A good point for me: the last version > (1.2) can convert complex tables with row and col spanning (it fails > for some of the examples of newtables.txt, but it is promising). I > found the resulting file better with xhtml2odt than with docbook2odf.
> There is currently a problem with image-blocks: images were not > visible in the odt file. Aur lien Bompard looked at this, and told > this was because images were not included into a paragraph in the > xhtml file. For some internal reasons, it could not be handled in > xhtml2odt. I was wondering if this could be done in asciidoc, but only > Stuart could tell if this will break something.
Will not cause a problem if confined to it's own conf file (then use asciidoc -f option), but the better solution would be to fix xhtml2odt.
> <img ...> are now included in<p>...</p>. It seems that there is now > visible change in the html file generated by asciidoc.
> xhtml2odt is simple, does a good job, and is easy to install. "odt" is > missing in a2x output formats. What do you think about it?
An odt output option for a2x would be nice. Is there an Ubuntu of Debian package for xhtml2odt?
The old bash based a2x had experimental support for odf via DocBook using http://open.comsultia.com/docbook2odf/ but it had limitations and developement seemed to have stalled.
> > This program converts html file to odt. There is a python script
> > (xhtml2odt.py), and I am trying it. It does a pretty good job on html
> > files generated by asciidoc. A good point for me: the last version
> > (1.2) can convert complex tables with row and col spanning (it fails
> > for some of the examples of newtables.txt, but it is promising). I
> > found the resulting file better with xhtml2odt than with docbook2odf.
> > There is currently a problem with image-blocks: images were not
> > visible in the odt file. Aur lien Bompard looked at this, and told
> > this was because images were not included into a paragraph in the
> > xhtml file. For some internal reasons, it could not be handled in
> > xhtml2odt. I was wondering if this could be done in asciidoc, but only
> > Stuart could tell if this will break something.
> Will not cause a problem if confined to it's own conf file (then use asciidoc -f
> option), but the better solution would be to fix xhtml2odt.
I am going to see with Aurélien if there is any solution in his side.
> The old bash based a2x had experimental support for odf via DocBook usinghttp://open.comsultia.com/docbook2odf/but it had limitations and developement
> seemed to have stalled.