On Mon, 13 Feb 2012, Stuart Rackham wrote:
I assume you mean in the Plugins table 1 in
http://www.methods.co.nz/asciidoc/plugins.html
If so could you package it as a plugin so it can be downloaded and installed
using the asciidoc backend install command e.g.
asciidoc --backend install odt-0.1.zip
I am already stuck :-)
As far as I understood, everything goes into a single ZIP file and is
unpacked in the backend (or themes) directory in its own directory. But
how can I distribute ODF specific themes together with the ODF backend ?
What I currently have put in place are:
/etc/asciidoc/odp.conf
/etc/asciidoc/odt.conf
/etc/asciidoc/stylesheets/asciidoc.odp.styles
/etc/asciidoc/stylesheets/asciidoc.odt.styles
/etc/asciidoc/themes/cv/cv.odt.styles
/etc/asciidoc/themes/hp/hp.odt.styles
If I understand it correctly, I would need to create 4 different ZIP
files, one for odt, one for odp, one for the 'cv' theme and one for the
'hp' theme ? And put the default odp/odt styles into their backend
directory (and reference it there).
odt-backend-0.1.zip
/etc/asciidoc/backends/odt/odt.conf
/etc/asciidoc/backends/odt/default-odt.styles
odp-backend-0.1.zip
/etc/asciidoc/backends/odp/odp.conf
/etc/asciidoc/backends/odp/default-odp.styles
cv-theme-0.1.zip
/etc/asciidoc/themes/cv/cv-odt.styles
hp-theme-0.1.zip
/etc/asciidoc/themes/hp/hp-odp.styles
/etc/asciidoc/themes/hp/hp-odt.styles
I was hoping for something more advanced so the ODF backend would provide
both odp and odt, and the styles and example themes.
Also, in the future I can imagine people to provide a single theme that
provides css and odf styles. I guess that is possible like the above
enables both odp and odt themes, right ? So if we want to also provide
nice HP html output, we could just add this to the current HP theme.
Thanks for your insights :)
--
-- 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.