Mary Anne Rosato wrote: > > You answered this question for me a while back but I seem to have > misplaced the email - my apologies. I am authoring a multi-chapter > document and to make things easy for my readers to follow, I would like > the generated pdf to have the chapter number included in the section > numbering. So that, for example, Chapter 1, Section 2 is numbered as 1.2. > > I know that to do this I must use the *Options*|*Customize > Configuration*|*Change Document Conversion Parameters* menu item - but > I forget which parameter I need to tweak. Which one is it? >
There is a very simple way to find answers to previous support requests. Simply use the search Box found at the top/right of all HTML pages of the http://www.xmlmind.com/xmleditor/ sub-site. I typed "Include Chapter Numbers in Section Numbering" in this Search Box et voil?! it immediately found what follows: http://www.xmlmind.com/pipermail/xmleditor-support/2009-May/007651.html --- 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"). ---

