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

From
Pc Thoms <>
Date
2019-09-26T00:46:40+00:00
ID
Thread
Re: [docbook-apps] section "label" attribute not producing label
What are you using for your transformation/stylesheet?
Docbook parameters allow you to turn the labels on/off. Via Oxygenxml it is quite easy once you know where to look under the parameters.

You might want to switch to book as your root and use "xi:include" if you want to work with separateÂfiles.

With tomes this is a real advantage to work with portions of the text. I am presently working on a graphic heavy text that is now separated into 32 portions.

See:

http://www.sagehill.net/docbookxsl/ModularDoc.html#UsingXinclude

Trust thisÂhelps - Paul

On Wed, Sep 25, 2019 at 4:11 PM Brendan Martin <> wrote:

Hi, 

Â

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:

Â

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:â

In PDF the @label value is simply ignored.

Â

Any help is appreciated. Thanks.

Â

Regards,

Brendan Martin