Introduction
This simple example of a down-translate
displays the titles of all the chapter elements in a document, prefixed by chapter numbers. All other elements are suppressed.
Sample
down-translate
global counter chapter-count initial {0}
element title when parent is chapter
increment chapter-count
put #main-output "Chapter %d(chapter-count): %c%n"
element #implied
suppress ; Suppress the output of all other elements.
Generated: April 21, 1999 at 2:01:41 pm
If you have any comments about this section of the documentation, send email to [email protected]
Copyright © OmniMark Technologies Corporation, 1988-1999.