Demonstration stylesheets

When TopLeaf is installed it creates a repository containing some sample stylesheets. The repository folder is called TopLeaf and is located in the “Documents” folder of the user who ran the installer. Note that the name of the documents folder may vary depending on your version of Windows.

The Demonstrations/DITA folder contains the following stylesheets:

  • The basic stylesheet contains a minimal set of mappings for processing a DITA map and applying a simple style. It is a useful starting point for your own stylesheet.

  • The book stylesheet is more sophisticated and implements features often required in books such as tables of contents and an index. The style is intentionally simple to make it easier to modify it to suit your own needs.