I can't browse your source repository as I don't have hg but it sounds like it
should be easy now to turn this into a more general doxia parser. You don't have
to go via apt to generate your site/pdf, just parse your odt into a general sink
instead of an apt, then any plugin (site/pdf/other...) can use it directly to
generate any doxia-supported output format, without any coupling to the apt
format. In other words, odt would be an equal citizen in the list of maven
documentation input formats (apt, xdoc, confluence...). If you are interested,
attach a patch to http://jira.codehaus.org/browse/DOXIA, I would be happy to
review and apply it.
Cheers,
-Lukas
Tommy Svensson wrote:
Hello,
I recently used the maven site plugin for the first time, and really liked it.
I however came to dislike the APT format rather quickly. I spent far too much
time manually reformatting my paragraphs to make the source readable. I felt
that it would be very nice to be able to document in Open Office and still be
able to generate a site and a PDF with maven-pdf-plugin, so I took a look at
the ODT format and it turned out to be rather simple and easy. So I wrote a
maven plugin I called maven-odt2apt-plugin. It currently supports everything in
APT with the exception of tables. It requires an APT.ott template file defining
the APT styles which must be used in the open office document. Links and images
are also supported. When you work in Open Office you get something that is not
100% identical, but very similar to the end result.
If you define the plugin to run in the "pre-site" phase and put your odt documents in src/site/odt and then do "mvn site" it will go all the way from your odt document to a site.
The plugin is released as open source under that Apache 2.0 license, and can be
found on sourceforge: http://odt2apt.sf.net/.
I inform about this since at least I find it hard to find and know about all free software out there, and I believe that I'm not alone in disliking working directly with APT. I though that there might be others out there that might be interested in this plugin, and this is the right place to inform about it.
Best Regards,
Tommy Svensson
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]