How to edit the style and content of a toc

Interleaf quicksilver Frequently asked questions

how to edit the style and content of a toc?

What is the Default Style of a TOC
By default, TOC documents in QuickSilver use the following style conventions.

Component Order
The order of entries in a TOC are based on the order of source document(s) in the book and the order of the corresponding elements in those documents.

Component Names and Properties
QuickSilver appends the letters TOC to component names in the TOC document, truncating the last three characters of a component name as it appears in the source document, if necessary.
Except for name, Font Size, Bold, Dictionary, Initial Indent, Top Margin, and Allow Break After settings, all components in a TOC document have the same properties. The font is a 10-point serif font. Headings are separated from page numbers by two tabs, one of which is dotted.
When a TOC contains multiple components with differing names, the first component appears in 12-point bold, as do all other components with the same name. For example, suppose a component called titleTOC is the first component in a TOC that contains multiple kinds of components. That component and all other instances of titleTOC appear in 12-point bold.

Columns
The default TOC is a single column document, with two levels of component indentation. If you change the TOC to multicolumn, you can alter component indents or the default gutter width, if necessary, to keep the components from straddling columns.

You can easily correct or update a TOC once you have created it. Use the following general guidelines to make changes to a TOC:

  • Make content changes (text of headings, order of
    components, and page numbers, for example) in source documents.
  • Make style and format changes in the TOC or in a atalog governing the TOC.


NOTE: You can leave a TOC document open hile you edit the orresponding source documents.

How To modify TOC content in source documents:
As the content of source documents changes, corresponding TOC documents might also require changes.

  • To add or delete entries in a TOC document, modify the Table of Contents setting in properties dialog boxes in the source documents.
  • To ensure consistency between text in source documents and the corresponding TOC entries (chapter titles, for instance), edit the text in source documents and re-generate the TOC.
  • To add or remove a page number prefix, modify the Prefix setting for the page number stream used to create the TOC. Do this in the Page Number Streams properties dialog box in the source document.


After making changes in source documents, you can re-generate the TOC to reflect those changes.

How To modify TOC style:
You can fine tune the appearance of a TOC document by editing it as you would any other QuickSilver document.

Important: When you edit link-ready TOC documents, do not remove, or explicitly move, the index tokens at the beginning and end of each entry.

To automate TOC formatting, you can use a book catalog. For example, you could use a catalog to export to a TOC

  • page size and the content of headers and footers
  • non-default component masters for customizing the TOC by adding a book title, Contents heading, and rules, for example
  • properties for default components such as font family, size, and face, or tab stops


Comments