I am writing a large document and the client wants:
- Master TOC at start with Heading 1 level headings
- The header for each page (of content) will have the page number (chapter + page), Heading 1 heading and Heading 2 heading in the header.
- At the start of each chapter, they want a TOC with all heading levels for that chapter. The header must have the page number (chapter + page), chapter name (Heading 1 as per the Master TOC), and “Table of Contents” instead of the Heading 2 heading.
I have set Bookmarks for each section to enable me to create the TOCs for just that one section.
There is a section break between the section TOC and the section content so I can have a different header (the sections have a lot of headings so more than 1 TOC page)
The structure will be:
<table>
<thead>
<tr>
<td width=”217″>Section</td>
<td width=”194″>Page number</td>
<td width=”174″>Current Status</td>
</tr>
</thead>
<tbody>
<tr>
<td width=”217″>Cover page </td>
<td width=”194″> </td>
<td width=”174″>Correct</td>
</tr>
<tr>
<td width=”217″>Front Matter</td>
<td width=”194″>PRE 1</td>
<td width=”174″>Correct</td>
</tr>
<tr>
<td width=”217″>Master TOC</td>
<td width=”194″>TOC Page 1</td>
<td width=”174″>Incorrect as it uses the page numbers for the Heading 1 styles not the TOC pages. (So not incorrect – just not ideally what I want)</td>
</tr>
<tr>
<td width=”217″>Section 1 Administration & Policies TOC</td>
<td width=”194″>1-1</td>
<td width=”174″>Correct</td>
</tr>
<tr>
<td width=”217″>Section 1 sub-headings</td>
<td width=”194″>1-2, etc.</td>
<td width=”174″>Correct</td>
</tr>
<tr>
<td width=”217″>Section 2 Training Procedure TOC</td>
<td width=”194″>2-1</td>
<td width=”174″>Incorrect
The heading is Administration & Policies (section 1) and the page number is 1-1</td>
</tr>
<tr>
<td width=”217″>Section 2 sub-headings </td>
<td width=”194″>2-3, etc.</td>
<td width=”174″>Correct</td>
</tr>
<tr>
<td width=”217″>Section 3 Heading</td>
<td width=”194″>3-1</td>
<td width=”174″>Incorrect
The heading is Training Procedure (section 2) and the page number is 2-1</td>
</tr>
<tr>
<td width=”217″>Section 3 sub-headings</td>
<td width=”194″>3-2</td>
<td width=”174″> </td>
</tr>
</tbody>
</table>
I’m not allowed to use macros. I have attached a sample file. Is there anyway I can get this to work? If all else fails I’ll end up setting the header manually for the TOC pages for section 2 onwards.