CHAPTER_ORDER
The CHAPTER_ORDER command reorders chapters. The specified chapters appear first; all others follow according to the order described in the type definition.
Syntax
DEFINITION object-1 { ... CHAPTER_ORDER {[, chapter name ]} ... }
Example 1
DEFINITION "My Definition" { CHAPTER_ORDER { "G", "C", "A" } CHAPTER "A" ... CHAPTER "B" ... CHAPTER "C" ... CHAPTER "D" ... CHAPTER "E" ... CHAPTER "F" ... CHAPTER "G" ... }
The resulting chapter order is:
"G" , "C" , "A" , "Introduction" , "B" , "D" , "E" , "F" , "Links" , "Reference Documents" , "Access Data"
Example 2
The clause can appear anywhere at the type level and it can appear more than one time, as in this example:
DEFINITION "My Definition" { CHAPTER_ORDER { "G", "C", "A" } CHAPTER "A" ... CHAPTER "B" ... CHAPTER "C" ... CHAPTER "D" ... CHAPTER "E" ... CHAPTER "F" ... CHAPTER "G" ... CHAPTER_ORDER { "F", "D" } }
The resulting chapter order is:
"F" , "D" , "G" , "C" , "A" , "Introduction" , "B" , "E" , "Links" , "Reference Documents" , "Access Data"
See also
This site works best with JavaScript enabled