Hi Dag, On 29 September 2011 19:19, Dag Wieers <[email protected]> wrote: > 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
I'll see if I get a chance tomorrow, ATM oasis website is down so I can't get the standard. > > - 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/>) I think thats do-able. Note that highlighted listings from source-highlight or pygments wouldn't expect to work as they have no odt output format. > > - 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). The canonical test is the asciidoc user guide :) and then the examples directory. > > 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 > Only had a quick look, will look more tomorrow. Cheers Lex -- 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.
