On 24/02/12 10:39, Tomek Kaczanowski wrote:
Hi All,
I would like to change the formatting of the few sections titles in my
book. I have seen that xstlproc can take adavantage of "renderas"
option (see http://www.sagehill.net/docbookxsl/Typography.html) to do
exactly this: for example, to render section 2 as section 3.
Is there a way to put such "hint" for xstlproc within the asciidoc
source file so it renders properly?
Use a 'floating' title
(http://www.methods.co.nz/asciidoc/userguide.html#_floating_titles), it will
emit a 'renderas' attribute in a DocBook 'bridgehead' element. This works in
both dblatex and FOP generated PDFs (as well as asciidoc HTML outputs). BTW,
dblatex (as of 0.3) does not seem to honor the 'renderas' attribute in DocBook
sect1...sect5 elements.
Cheers, Stuart
--
Regards,
Tomek Kaczanowski
http://practicalunittesting.com
--
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.