Kizito Porta Balany? wrote:
> 
> I'm new to docbook, and I want to remove the auto-numbers in the section
> part of the documents. I create basically html/pdf documents from docbook.
> 
> How can I remove this numbers in the section part? Wich files do I need
> to customize?
> 

In my answer, I assume that you don't want sections to be numbered in
the HTML, PDF, RTF you generate.

[[[If you don't want sections to be numbered *on* *screen* (i.e. in the
document view of XMLmind XML Editor), please send us another email
saying so.]]]

* Simple method: choose the "[no TOC]" items in the "DocBook|Convert
Document" menu. These menus items will not generate a table of content
(TOC) and therefore will not number sections.

* Advanced method: customize the DocBook configuration.

This is explained here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

Downloading and installing the add-on called "A customized configuration
for the DocBook DTD" using "Options|Install Addons" will give you a
quick start.

Your custom DocBook configuration file (e.g. mydocbook.xxe) must contain
these configuration elements:

---
  <parameterGroup name="docb.toPS.transformParameters">
    <parameter name="section.autolabel">0</parameter>
  </parameterGroup>

  <parameterGroup name="docb.toHTML.transformParameters">
    <parameter name="section.autolabel">0</parameter>
  </parameterGroup>

  <parameterGroup name="docb.toHTML1.transformParameters">
    <parameter name="section.autolabel">0</parameter>
  </parameterGroup>
---

In order to understand why, please consult the reference of the DocBook
XSL stylesheets: http://docbook.sourceforge.net/release/xsl/current/doc/
Notably:
http://docbook.sourceforge.net/release/xsl/current/doc/html/section.autolabel.html


Reply via email to