0
I'm trying to produce a table of contents looking like this :
Heading 1 ........................................... p. 1
Subheading 1 -- p. 1, Subheading 2 -- p. 3, Subheading 3 -- p. 4,
Subheading 4 -- p. 4, Subheading 5 -- p. 6
Heading 2 ........................................... p. 7
Subheading 1 -- p. 7, Subheading 2 -- p. 8, Subheading 3 -- p. 8,
Subheading 4 -- p. 10, Subheading 5 -- p. 11
Heading 3 .......................................... p. 12
And so on, in Word 2007.
Any ideas how I could achieve this? My current toc is generated using {TOC \o "1-3" \h \z \u}
. I imagine the \p
switch would work, assuming that I could restrict it to level-2 headings.