Prev   Next   Top

TOC Template

The TOC template contains variables and special item type identifier tags, or, I call them the "X" tags. As explained earlier, an item type identifier contains formatting information for generating an item that identifies a resulting HTML page that corresponds to a specific level of its related heading. A TOC page has the following parts:

There are 7 recognized X tags pairs, three item tag pairs and four transitional tag pairs. The item tag pairs are:

The template part contained within these X tag pairs can have the following variables:

A typical simple second level item part will be:

<X2>   <LI><A HREF="@FILEPATH@">@TITLE@</A></LI>
</X2>

The following X tags (recognized by the fact that they contain 2 digits) are "transitional" tags. They do not contain any variable.

A typical simple 1st to 2nd level transition is:

<X12><UL>
</X12>

The TOC.htm file of this document has been created with the help of the TOCTemplate.htm file that is located in the application directory. The TOC template might come from two possible sources:

  1. The file named TOCTemplate.htm that is located in the application directory (the "default TOC template"). You can replace this file with your own designed TOC template and it should have the same name.
  2. The name of the file that you specified in the TOC Setup panel and that should be found in your source document directory.

 


Prev   Next   Top