On Wed, 28 Sep 2011, Lex Trotman wrote:

[...]
This only works with a recent LibreOffice version (3.3 or 3.4). With this
working there's no reason we cannot make this a group-effort. I'll try to
put it on Github tomorrow after I have cleaned it up a bit.

No problem, when you get time.

Hi Lex,

I did not finish the stylesheet-cleanup, but I did make the backend more feature complete, adding footnote and reference support among others.

There are a few issues that I don't know how to tackle at this point:

 - Table support is constructed differently from HTML and I have no idea
   how to make it do the necessary

 - ODT is newline-agnostic, which means that in order to get newlines in
   "preformatted" text (eg listing blocks) those newlines need to be
   converted to ODT line-breaks (<text:line-break/>)

 - Some of the footnote/reference construct seem to be correct, but fail
   to find the source id in LibreOffice, looked at that one for too long
   ;-)

 - Admonition tables do not get the styles applied that I have it
   configured for. Even though manually doing it in LibreOffice generates
   identical code than is produced.

The default style doesn't look to great and the missing table support cause anything having (complex) tables to generate broken ODT (since it uses HTML output for now).

I added my CV in the examples/ directory, which works perfect with the current backend implementation. I also added a test-odf.txt file in order to add more complex constructs as we improve the backend.

With the fixes to support flat ODT file support, testing has become very simple. And learning ODT from the output LibreOffice produces in our test-document is a big advantage over reading the ODF specification :-)

You can find the ODF backend at:

    http://github.com/dagwieers/asciidoc-odf

Your insights and experience are very welcome !

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to