Chapters

 

Managing chapters

TPF provides a chapter management function (sub-chapter levels, automatic numbering, …), through the "\CHAP n\" marker.

 

This marker defines a chapter at a specified level (defined by "n"), taking into account the last chapter created at any given level.

 

We recommend against using this marker with a document template, since generation using document templates automatically generates markers.  The use of this marker can, therefore, introduce inconsistencies in the chapter numbering of the resulting document.

 

 

Example

\CHAP 4\ WWWWW

\CHAP 5\ XXXXX

\CHAP 3\ YYYYY

\CHAP 1\ ZZZZZ

 

If the previous chapter is numbered 5.2.3.1, you will obtain the result below:

5.2.3.2 WWWWW

5.2.3.2.1 XXXXX

5.2.4 YYYYY

6 ZZZZZ

 

 

Chapter levels in RTF generation

The number of chapter levels in RTF documentation is limited to seven.  This limit may be quickly reached and the resulting document may be difficult to read.  It is, therefore, possible to create your own template so as to make the generation recursive.  For more details, please see "Documentation templates" in the MDA Modeler User Guide.