Skip to main content

Table of Contents (PDF)

To set up tables of contents (TOCs) and lists of titles (LOTs) for PDFs, use the PDF Layout's TOC settings. They allow you to control various aspects of your TOCs and LOTs, including what entries appear, what types of LOT are included, and styling such as fonts and spacing.

Two images side-by-side. The left image is a table of contents followed by a list of examples. The table of contents is labelled 1, the list of examples is labelled 2. To the right, there is a screenshot of the TOC settings on the PDF Layout.

Table of contents (1), List of titles, in this case, examples (2), and the TOC settings on the PDF Layout.

Note

Lists of titles (LOTs) are lists of particular types of element structure, such as lists of figures, lists of tables, and lists of examples.

To set up and style your TOCs and LOTs:

  1. Select Layout and then select the PDF Layout you are going to use for publishing. Alternatively, you can create a new PDF Layout (see Create a Layout).

  2. Expand the TOC category of settings.

  3. Set up your preferences for TOCs and LOTs. These will apply to all tables of contents and lists of titles in your published PDFs. For details, see Set Preferences for All TOCs and LOTs (PDF).

  4. Set up the types of TOC and LOT that you want to include in your PDF outputs. The PDF Layout has separate sections for setting up:

  5. Use the styling settings to control the appearance of the TOC titles, LOT titles, and entries.

    For instructions, see:

  6. Select Save.

When you publish with the PDF Layout, Paligo will generate a PDF and apply the TOC and LOT settings that you made.

The PDF Layout has (TOC) All TOCs and LOTs settings that apply in general to tables of contents and lists of titles. Use the settings to control whether Paligo:

  • Can generate TOCs and LOTs

  • Generates TOC entries and bookmarks for subsections (section elements inside a topic)

  • Generates TOC entries for bridgehead elements.

The settings you apply here affect TOCs and LOTs in the entire publication, including appendix TOCs and section TOCs.

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. Select TOC and then All TOCs and LOTs.

    PDF Layout. TOC settings, All TOC and LOTs category.
  3. Use Generate TOCs and LOTs to control whether Paligo can generate tables of contents and lists of titles.

    • Yes - Paligo will generate one or more table of contents and lists of titles.

    • No - Paligo will not generate any table of contents or lists of titles, even if the other settings define terms for those.

  4. Set Display internal subsections (sections inside a topic) to:

    • Enabled to generate TOC entries and bookmarks for section elements that are nested inside a "parent" topic.

      For example, if you choose Enabled and publish a topic that contains two sections as subsections, the TOC will have an entry for the "parent" topic and two lower-level entries for the "child" subsections.

    • Disabled to prevent Paligo from creating TOC entries and bookmarks for nested section elements.

    • Default to inherit the value for this setting from the base Layout. The base Layout is either a built-in Layout provided by Paligo or another custom Layout, see Layout Relationships - Base, New, Duplicate.

    Note

    If you have set a section element to have a role attribute with value notintoc, it will not appear in the table of contents. The attribute value takes priority over the Display internal subsections (sections inside a topic) setting.

  5. Use Include bridgeheads to define whether Paligo creates TOC entries for bridgehead elements.

    Choose:

    • Yes to set Paligo to generate TOC entries for bridgehead elements (as well as section elements and any lists of titles you have set up).

    • No to prevent Paligo from generating TOC entries for bridgehead elements. Paligo will only generate TOC entries for section elements and lists of titles (if enabled).

    • Default to inherit the value for this setting from the base Layout. The base Layout is either a built-in Layout provided by Paligo or another custom Layout, see Layout Relationships - Base, New, Duplicate.

  6. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.

Use the PDF Layout's TOC Publications settings to control the main table of contents at the start of a PDF.

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. In the TOC category, select All TOCs and LOTs. Make sure Generate TOCs and LOTs is set to Yes (or Default, where the base Layout is set to Yes). For details, see Set Preferences for All TOCs and LOTs (PDF).

    If it is set to No, Paligo will be unable to generate any TOCs or LOTs, irrespective of the other TOC settings.

  3. In the TOC category, select Publications.

    PDFLAYOUT-TOC-PUBLICATIONS.png
  4. Use Generate TOC and LOTs for publications to control what is included in your publication TOC.

    To include a TOC or LOT, enter the appropriate terms, separated by commas.

    The "TOC terms" you can use are:

    • toc

      Add a table of contents.

    • title

      Add a title for the table of contents

    • figure

      Add a list of figures

    • table

      Add a list of tables

    • example

      Add a list of examples

    • procedure

      Add a list of procedures

    • nop

      To set the PDF to have no table of contents or list of titles.

  5. Enter the Publication TOC depth. This is the number of levels that will be included in the main table of contents when you publish. The count starts from the top-level of topics in your publication. Paligo does not count the publication as a topic level.

    PDF Layout. TOC General settings. The TOC Section depth setting is set to 2.

    The number you enter only affects what is shown in the publication TOC. It does not affect the content that is in your publication.

    For example, the following image shows a publication structure in Paligo, with number labels to show top-level (1), second-level (2), and third-level (3) topics in the hierarchy.

    Paligo publication structure. It shows a publication with 3 levels of content. There are numbered callout labels to show the different levels of the topics. Top-level are 1, second-level are 2, and third-level are 3.

    If you set the TOC section depth to 2 and then publish, you will get a PDF that has a main table of contents with entries for levels 1 and 2 of your content. Level 3 topics are still included in the PDF, but they do not have entries in the table of contents.

    Table of contents from a PDF output file. The table of contents only includes the top 2 levels of topics from the Paligo publication.
  6. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.

Note

If you intend to publish your PDF in multiple languages, you should also edit the Multilanguage TOC settings.

When you publish to PDF, there is an option in the publishing settings to combine all of the selected languages into a single PDF. This is a multilingual PDF, also known as a "combined language" PDF. By default, when you have a combined PDF, Paligo will add a section called a "language block" for each language in the publication table of contents (TOC). For example, in the following image, there is a German language block for the German entries and an English language block for the English entries.

A table of contents that contains multiple languages. The top section has entries in German. The bottom section has entries in English.

The PDF Layout has Multilingual publications TOC settings that you can use to control:

  • If Paligo adds a TOC and LOTs for each language in a combined language publication

  • The amount of spacing before and after each language block in the main publication TOC.

To use the Multilingual publications settings:

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. In the TOC category, select All TOCs and LOTs. Make sure Generate TOCs and LOTs is set to Yes (or Default, where the base Layout is set to Yes). For details, see Set Preferences for All TOCs and LOTs (PDF).

    If it is set to No, Paligo will be unable to generate any TOCs or LOTs, irrespective of the other TOC settings.

  3. In the TOC category, select Multilingual publications.

    PDF Layout. TOC settings. Multilingual publications category.
  4. In the Generate TOC and LOTs in multilingual publications field, enter:

    • nop if you do not want a multilingual TOC. Paligo will create a single TOC that includes all included languages.

    • The terms for the TOC and LOTs that you want to include for each language.

  5. Use the following settings to control the amount of space above and below each language block in the main table of contents:

    • Space before each language block in publication TOCs

      Use to set the amount of space above the language block. Enter a value and its units, for example, 6pt or 0.5em.

    • Space after each language block in publication TOCs

      Use the set the amount of space below the language block. Enter a value and its units, for example, 6pt or 0.5em.

  6. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.

If your publication contains an appendix topic, you can set Paligo to add an "Appendix TOC". Paligo will then add a table of contents for the appendix entries at the start of the appendix topic.

To set up or disable an appendix TOC:

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. In the TOC category, select All TOCs and LOTs. Make sure Generate TOCs and LOTs is set to Yes (or Default, where the base Layout is set to Yes). For details, see Set Preferences for All TOCs and LOTs (PDF).

    If it is set to No, Paligo will be unable to generate any TOCs or LOTs, irrespective of the other TOC settings.

  3. In the TOC category, select Appendices.

    PDF Layout. TOC settings. Appendices category.
  4. Use Generate TOC and LOTs for appendices to control whether Paligo adds a TOC or LOT at the start of an appendix topic.

    Either:

    • Enter nop to prevent Paligo from adding a TOC or LOT to appendices.

    • Enter the terms for the TOC and LOTs that you want to include in an appendix topic. Use a comma to separate the terms, for example, toc,title,table. Do not use spaces anywhere in the field as these will prevent the setting from working correctly.

  5. Set Use 'Appendix' label to:

    • Yes to include an 'Appendix' label before a block of appendix entries in the TOC

    • No to exclude the 'Appendix' label before a block of appendix entries.

    • Default to inherit the value for this setting from the base Layout. The base Layout is either a built-in Layout provided by Paligo or another custom Layout, see Layout Relationships - Base, New, Duplicate.

  6. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.

Use the PDF Layout's TOC titles settings to control the appearance of titles in your publication TOC and appendix TOC.

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. Select TOC and then select TOC titles.

    PDF Layout. TOC settings. TOC titles category.
  3. Set the Font size for TOC titles.

    This is the letter size of the title text in your tables of content. Enter a value and the units of measurement, for example, 14pt. You can also use percentage values, where the size is a percentage of the main font body size, for example, 80%.

  4. Set the Font weight for TOC titles.

    Sets the thickness of the typeface for TOC titles.

  5. Choose a text style in Font style for TOC titles.

    • Normal for regular text.

    • Italic makes the text lean forward.

    • Backslant makes the text lean backward (contra-italic).

  6. Set a Font variant for TOC titles. Choose from:

    • Normal for regular text

    • Small-caps for small upper-case letters.

  7. Set the text color in Color for TOC titles.

    Color_TOC_Title_small.jpg
  8. Clear the Use default color checkbox to select a color of your own choice.

  9. Set the color either by:

    • Entering an RGBA code for the color you want (1).

    • Selecting the Color square to display the color selector (2).

      1. Choose the color with the spectrum bar (3).

      2. Control the transparency with the opacity bar (4).

      3. Choose the color shade with the main color panel (5).

      Color selector. There is a field for entering an rgba value. It is labelled 1. There is a black square labelled 2. There is a popup dialog that contains three sections. The sections are labelled with numbers. Label 3 points to a narrow bar that shows the colors of the spectrum. Label 4 points towards an opacity bar ranging from black to transparent. Label 5 points to a color selector with various shades of a single color.
  10. Set the Letter-spacing for TOC titles. This is the amount of space between each letter. Enter a value and its unit of measurement, for example, 0.2em.

  11. Set the Capitalization for TOC titles.

  12. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.

Use the PDF Layout's LOT Titles settings to style the titles in lists of titles (LOTs). You can style the title font size, weight, style, color, letter-spacing and capitalization.

Note

There are four different LOTs: lists of figures, tables, procedures and examples.

PDF table of contents showing the table of contents followed by a list of figures, list of tables, list of examples, and list of procedures.

The image shows a TOC for one language with TOC title, different LoTs and TOC entries with links and page number references.

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. Select TOC and then select LOT titles.

    PDF Layout. TOC settings. LOT titles category.
  3. Set the Font size for LOT titles.

    Enter either:

    • An absolute value with the units of measurement, for example, 14pt.

    • A relative value, such as 0.8em or 80%. This will size the text in relation to the font size of the "parent" element.

  4. Set the Font weight for LOT titles. Choose from the list of weight options. For example, extra light will produce characters drawn with a fine line and bold with produce characters drawn with a thicker line.

  5. Use Font style for LOT titles to choose whether the LOT titles have emphasis.

    Choose from:

  6. Use Font variant for LOT titles to control whether Paligo uses the regular version of the font or a different version.

    Choose:

    • Normal for regular text

    • Small-caps for small upper-case letters.

  7. Set the Color for LOT titles.

    1. Clear the Use default color checkbox to select a color of your own choice.

    2. Set the color either by:

      • Entering an RGBA code for the color you want (1).

      • Selecting the Color square to display the color selector (2).

        1. Choose the color with the spectrum bar (3).

        2. Control the transparency with the opacity bar (4).

        3. Choose the color shade with the main color panel (5).

        Color selector. There is a field for entering an rgba value. It is labelled 1. There is a black square labelled 2. There is a popup dialog that contains three sections. The sections are labelled with numbers. Label 3 points to a narrow bar that shows the colors of the spectrum. Label 4 points towards an opacity bar ranging from black to transparent. Label 5 points to a color selector with various shades of a single color.
  8. Set the Letter-spacing for LOT titles. This is the amount of space between each letter in a LOT title. Enter a value and its unit of measurement, for example, 0.2em.

  9. Set the Capitalization for LOT titles.

  10. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.

For PDF outputs, use the PDF Layout's Entries settings to style the entries in:

  • Tables of content

  • Lists of titles (list of examples, list of figures, etc.)

To style the entries:

  1. Display the PDF Layout you want to edit, see Table of Contents (PDF).

  2. Select TOC and then Entries.

    PDF Layout. TOC settings. Entries category.
  3. Set the Indent width for TOC. This defines the amount of indentation and it uses pt as the units. Enter a value only. Do not include pt or alternative units of measurement.

  4. Set the Font family for TOC entries. Choose your preferred typeface from the list.

  5. Set the Font size for TOC entries.

  6. Set the Font weight for TOC entries at level 2 and below.

    Note

    This setting applies to all TOC entries at a lower level to a chapter entry. Chapter entries have their own weight setting.

  7. Use Font style for TOC entries to choose whether the TOC entries have emphasis.

    Choose from:

    Note

    This setting applies to all TOC entries at a lower level to a chapter entry. Chapter entries have their own style setting.

  8. Use Font variant for TOC entries to control whether Paligo uses the regular version of the font or a different version.

  9. Set the Color for TOC entries.

    1. Clear the Use default color checkbox to select a color of your own choice.

    2. Set the color either by:

      • Entering an RGBA code for the color you want (1).

      • Selecting the Color square to display the color selector (2).

        1. Choose the color with the spectrum bar (3).

        2. Control the transparency with the opacity bar (4).

        3. Choose the color shade with the main color panel (5).

        Color selector. There is a field for entering an rgba value. It is labelled 1. There is a black square labelled 2. There is a popup dialog that contains three sections. The sections are labelled with numbers. Label 3 points to a narrow bar that shows the colors of the spectrum. Label 4 points towards an opacity bar ranging from black to transparent. Label 5 points to a color selector with various shades of a single color.
  10. Set the Letter-space for TOC entries.

  11. Set the Capitalization for TOC entries.

  12. Set the amount of spacing above ("before") and below ("after") chapter entries in the TOC. A chapter entry is a top-level entry.

    Enter a value and the units of measurement, for example, 1em, in these fields:

    • Space before chapter entries in TOC

    • Space after chapter entries in TOC

  13. Set the Font weight for chapter entries in TOC.

  14. Use Font style for chapter entries in TOC to choose whether the chapter entries have their text emphasized.

    Choose from:

  15. Select Save.

When you publish with this PDF Layout, Paligo will apply your choices when it generates the PDF output.