How to update table of contents in RPE template when applied stylesheet is also having TOC.
I have a stylesheet which contains Table of contents which I am applying in document specification file while generating RPE output. RPE template(.dta) file also contains table of contents.
and the generated TOC output is like,
Table Of Contents:
1. Introduction ---- Stylesheet TOC
1.1 Scope
2. Purpose ------- Stylesheet TOC
1. Analysis-------- Template TOC
1.1 Workitems-------Template TOC.
Is there a way to merge both the TOC in such a way that RPE template TOC will start updating from the number 3, 3.1 instead of again starting from 1?
One answer
Are you printing Section number for the artifacts? If so, you can modify the section numbers (using Script Expression) so that the numbers are incremented correctly.
Ideally you shoud not have Table Of Contents element added in RPE template when your stylesheet already has TOC. The same TOC will be updated for the headings in the whole document.