Some Extra Features

"{{tcr}...}" codes instead of "{{toc}}"

If you want more control over what the Table of Contents looks like, as an advanced feature, instead of putting "{{toc}}" in your .doc file to mark where you want the ToC to go, you can use "{{tcr}...}" codes to create a customized ToC layout instead.

Suppose, for example, you wanted some additional text in your ToC, like a brief description of the chapter. Then do like so:

	... front matter...

		Table of Contents        (that is, put in your own header)

	{{tcr}Introduction}
	{{tcr}Chapter 1 - In the Beginning}      (this is how the ToC link for chap1 will look)
	{{tcr}Chapter 2 - More Stuff Happens}
	...
	{{tcr}About}         (and that's the end of the ToC)

	...
	{{tc}}Introduction     (this is the real chapter 1 heading itself)
	...
	{{tc}}Chapter 1
	...
	{{tc}}Chapter 2
	...
	{{tc}}About the Author
	...

Now your ToC entry for Chapter 1 will also say "In the Beginning", etc.

You can put anything you want after the "{{tcr}" and before the closing "}" that matches it. Knock yourself out. :)

NOTE: The order and number of {tcr} codes must exactly match the {tc} codes. The implemention is extremely simplistic: It links the 1st "tcr" to the first "tc", the 2nd to the 2nd, etc. It does NOT look at the text inside the "..." part at all. If you put in 10 tcr entries and 9 or 11 tc entries, it won't come out right.

FYI, you don't need the "{{toc}}" code, as your "tcr" references take its place. (If you put it in, you'd get both, so, probably not a great idea.)