dagwieers / asciidoc-odf

ODF backend for AsciiDoc
98 stars 26 forks source link

how to create new style #33

Closed renard closed 12 years ago

renard commented 12 years ago

Nice work. Works fine. Any way is there a simple way to create custom styles?

One easiest way would be to export LibreOffice to XML fragments but I am not sure this can be done.

On the other hand, extracting XML fragments from LibreOffice generated file is very hard since there is a lot of XML overhead.

Thanks.

dagwieers commented 12 years ago

There are two sides to this:

renard commented 12 years ago

Ok nice thanks for the tips (although I was already doing stuff like that). I was just wondering if you have a magic trick because the whole style may be not functional if you miss one single declaration :-(.

Thanks again.

dagwieers commented 12 years ago

No magic :-(

It is true that it is prone to errors, mostly because of LibreOffice. If you find issues, it's best to report them to the LibreOffice team. One of the issues I have seen is that statements need to be in a certain order to work in LibreOffice (even though the standard does not expect this). I still need to make test-cases to show this problem as it does not seem to happen if I isolate the issue...