Hi Dag, On 18 September 2011 09:53, Dag Wieers <[email protected]> wrote: > On Sat, 17 Sep 2011, Lex Trotman wrote: > >> [...] >> >> Note to self, finish typing before pressing send :) >> >>> Do you mean an ODT backend for Asciidoc? > > Yes.
I think this is much more likely to produce a successful result than attempting to generate a general purpose docbook rendering toolchain. As you say below the task is constrained to the Asciidoc capabilities and becomes just a translation task instead of having to support all the nuances of rendering docbook. > > >>> That would be good, but I don't know quite how hard it would be, I am >>> no expert on ODT but IIUC its more complex than docbook. > > Well, of course we wouldn't be mapping everything ODT can do, but just the > things that Asciidoc/Docbook does. Furthermore, the default style could > resemble Asciidoc's default HTML but using proper style-names. Output can > then be tweaked using LibreOffice/OpenOffice and saved as a template that > can be applied using unoconv. > My reason for mentioning the zip stuff below was that maybe you could just copy the whole style file from another/template document more easily than trying to include them internally, but as I said I am not an expert on ODF so I don't know if it would work. So long as the result is being able to use a GUI styled template and then automatically apply it without user action that would be a great leap forward in non-expert, non-programmer, \ and <> phobic usability compared to dblatex and fop configuration. > >> If you wanted to create the zipped format you would probably need a >> postprocessor to zip it all up, but a2x could probably be adapted to >> do that. > > IIRC ODT can also work as a single XML file, but yes having a default zipped > file would be welcome (but probably the easiest part :-) Having a single XML > ODF file is most useful for debugging though. > So long as lo/oo can open it and the result is right it doesn't matter, whichever is easier to generate. 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.
