As a follow-up, here's the configuration that Pete created to support this feature.
https://github.com/jboss/cdi/blob/master/spec/html5.conf Example: [sect1] <div class="sect1{style? {style}}{role? {role}}"> <p style="float: right; font-size: smaller; margin-top: 1.5em;">[{id}]</p> <h2{id? id="{id}"}>{numbered?{sectnum} }{title}</h2> <div class="sectionbody"> | </div> </div> -Dan On Wednesday, November 14, 2012 4:46:27 PM UTC-7, Lex Trotman wrote: > > > > > On 15 November 2012 01:30, Pete Muir <[email protected] <javascript:>>wrote: > >> Hi >> >> I want to actually print the section ids out in the HTML output (and the >> pdf output, but I guess this is more of a docbook question!) - if you are >> wondering why, I am writing a formal specification, and we want to be able >> to reference those ids in our testsuite that verifies compatibility. >> >> Any suggestions? >> > > You need at custom xhtml11.conf for the sect0 to sect4 sections that adds > {id? {id}} after {title} in the header entities. And docbook is pretty > much the same thing in the <title> entity. > > Cheers > Lex > > > >> >> Thanks, >> >> Pete >> >> -- >> You received this message because you are subscribed to the Google Groups >> "asciidoc" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/asciidoc/-/t1EeK6v8ewsJ. >> To post to this group, send email to [email protected]<javascript:> >> . >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/asciidoc?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To view this discussion on the web visit https://groups.google.com/d/msg/asciidoc/-/WEP-DvcDUOcJ. 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.
