Pere Porta wrote: > > At writing a Docbook, I remark that when trying to insert a section > within a chapter... two types often appear in the appropriate window: > section and sect1. > > I'm unable to distinguish between them. > > -When, for what purposes "section" is used? > -When, for what purposes "sect1" is used? > > Maybe depending on whether one uses "section" or "sect1" ... the output > (say a PDF) will be different?
Semantically the 2 elements convey exactly the same meaning. sect1 which contains sect2, which contains sect3, etc, gives you a more readable XML source (i.e. when you open the XML document in a text editor). section which contains nested sections, is more flexible in terms of cut and paste than sect1, sect2, sect3, etc. So we recommend to use nested sections rather than sect1, sect2, sect3, etc. --- PS: This question is not directly related to our product so why ask it in this mailing list? Why not post this kind of questions to [email protected] ? See http://www.docbook.org/guidelines : --- * Questions about DocBook markup (How do I markup a Widget? What's a FuncSynopsisInfo for?) should be sent to the docbook list. [email protected] * Questions about XSL or DSSSL stylesheets, publishing DocBook documents on your platform of choice, support for PostScript, PDF, or other types of output, questions about Windows or Unix applications that can consume or produce DocBook should be sent to the docbook-apps list. [email protected] --- -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

