I created a script that splits up all the toolchain operations - asciidoc, xmllint, xsltproc.
Added in some calls to tidy to clean up .xml + .html files and keep the .xml file to work on. Thanks for the pointer to SageHill. Was able to use http://www.sagehill.net/docbookxsl/BGtableColor.html to effect cell background color. The general form of the XML is... <informaltable role="background-yellow" ... ... ...> <entry ... ... ...> <?dbhtml bgcolor="yellow" ?> <?dbfo bgcolor="yellow" ?> ... ... ... </entry> </informaltable> One option is to extend docbook45.conf to handle background colors. Better solution is probably what you suggested, to create an .xsl file to handle generic roles. Currently the --xsl-file argument overrides the default .xsl file. I can see handling custom roles creating unique, site specific .xsl files, similar to asciidoc themes. With this in mind, is it possible to request an enhancement to asciidoc for a new --xsl-file arg handling, where... --xsl-file works the same as now... if one file is specified, that's the one .xsl file used. Alternatively if --xslfile=file,file,file is specified, each of the .xsl files is run in succession. And have one special file name of 'system' to indicate using the system file first, then chaining so... --xsl-file=system,yellow-table-role.xsl runs the appropriate system file like docbook-xsl/xhtml.xsl then yellow-table-role.xsl -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
