OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] section "label" attribute not producing label

If you are just getting started with DocBook, I would recommend my free online book "DocBook XSL: The Complete Guide".  In this section of the book:


it says that "To turn on basic section numbering, set the section.autolabel parameter to 1".  Stylesheet parameters can be set on the command line or in an XSL customization layer as described elsewhere in the book.

Once section numbering is turned on, the @label value on a sect1 element will override the default number.

Bob Stayton
On 9/25/2019 11:41 AM, Brendan Martin wrote:



I’m entirely new to DocBook and am trying to use it in Oxygen’s XML Editor (v. 21). I’m trying to convert a client’s native XML to DocBook for use.


I have a document with <sect1> as a root element and subsections and the @label attribute does not work:


  1. In Oxygen Author mode section labels are prefixed with the label of the component that contains them (I want to turn that off), plus the actual @label value is ignored (autonumbering takes over), e.g., <sect1 label=”Chapter 6”> appears in Oxygen as “Section 1:”
  2. In PDF the @label value is simply ignored.


Any help is appreciated. Thanks.



Brendan Martin

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]