On 21 May 2011 07:57, Stargazer <[email protected]> wrote: > Is the below possible directly from asciidoc command? I still want > the original document to be processed as an article and the output to > be html. > > Change: > <body class="article"> > To: > <body id="www.something-else.com">
Yes make a custom xhtml backend (see http://www.methods.co.nz/asciidoc/userguide.html#X27) and copy the [header] section from the system xhtml11.conf. Change the <body part from class="{doctype}" to id="{someattributename}" Then your document can set the attribute for the signature. Cheers Lex PS or if you make it output the original if the attribute isn't defined (hint see: http://www.methods.co.nz/asciidoc/userguide.html#_conditional_attribute_references ) and submit a patch it might be added it to the system. -- 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.
