#### 27.2.4 Producing a single HTML file that includes generated lists

To produce a monolithic HTML file that includes the TOC and any other generated lists (LOF, LOT, generated index), turn off both chunking and splitting for HTML output:

    [Chunking]
    SplitTopicFiles = No
    DisableChunking = Yes

When SplitTopicFiles=No and DisableChunking=Yes, DITA2Go ignores any chunking set on the maps themselves, and does not split any files. DITA2Go also suppresses the automatic split between the TOC and the first topic.

If you have also specified a generated index, DITA2Go puts the CSS for the index in the single <head>, puts the JavaScript for it (if any) at the top of the <body>, and adds the index content at the end of the file.

If you do not split files, you might want some space or a separator in HTML output between the end of one topic and the start of the next.

To insert code before topic-start titles (for example):

    [Inserts]
    TopicBreak = <p class="Body"><br/><br/></p>

See §27.6.2 Assigning code to [Inserts] keywords for splits and extracts.

Previous Topic: 27.2.3 Providing a page break between title and TOC

Next Topic: 27.3 Splitting files

Parent Topic: 27.2 Chunking DITA maps

Sibling Topics:

27.2.1 Choosing between splitting and chunking

27.2.2 Specifying a chunking policy

27.2.3 Providing a page break between title and TOC