Thanks Hussein, this worked fine.

Regards,
Mary Anne

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Friday, May 29, 2009 1:28 PM
To: Mary Anne Rosato
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Adding chapter numbers to section numbers

Mary Anne Rosato wrote:
>  
> 
> We are creating some large, multi-chapter technical documentation, and
> the client requested that chapter numbers be added to the section
> numbers to alleviate confusion about what chapter people are in. How is
> this done?
> 
>  
> 

My answer assume that you are talking about DocBook documents.

--> If you want to change what the authors see on screen, you need to
customize the DocBook CSS style sheets.

There is no way to do this from within XMLmind XML Editor.

Normally this kind of customization is done by a consultant (I mean: not
by the technical writer). This consultant must refer to "Replacing an
existing CSS style sheet" --
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/replace_css.html



--> If you want to change what is generated by the "DocBook|Convert
Document" menu, you need to customize the DocBook XSL style sheets.

Fortunately for your specific problem, this can be done from within
XMLmind XML Editor.

Please follow this procedure:

[1] Open a DocBook document.

[2] Select menu item "Options|Customize|Change Document Conversion
Parameters".

[3] Using the "Group of parameters" combobox, select "Convert to PDF,
PostScript".

[4] Click "Add".

[5] Type:

section.label.includes.component.label

in the "Name" field.

Type:

1

in the "Value" field.
(See attached screenshot).

[6] Click OK twice.

Now please convert the DocBook document to PDF and you'll see that the
section numbers include the number of their parent chapter.

The above procedure is done once for all and will survive XMLmind XML
Editor upgrades.

If you need to convert your documents to formats other than PDF or
PostScript, then you need to repeat the procedure but this time, in step
#3, you'll select another format (e.g. "Convert to Multi-page HTML").

Reply via email to