TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Auto TOC in MSWord From:Beth Friedman <bjf -at- WAVEFRONT -dot- COM> Date:Wed, 22 Oct 1997 09:10:41 -0500
In our previous episode, Liz Roth said:
>
> Can anyone tell me how to include the chapter, section, and page number
> in the table of contents. I am trying to automate the TOC and index for
> some existing documents that use page numbers that look like this 3-2-1.
> That would be chapter 3, section 2, page 1. I have automated the page
> numbering but can't get the section number to show up in the TOC. I've
> searched high and low for the right field code but haven't been able to
> make it happen. Anyone out there have an answer.
> Thanks
You can't do it for an automatically generated TOC. This drives me
nuts, since I have just about the simplest iteration of this -- a
defined section number (defined with an ASK field) and page number.
And I can't make the ToC do something as simple as show "Overview
[tab] 4-5". You can define _one_ character as the divider, but
usually it's used for the tab.
I had an unfortunately emotional interaction with Word tech support
because the on-line help for ToC entries shows "---" as a divider
character, and I couldn't figure out why I was limited to _one_
character. He finally did the research an explained that the three
hyphens was an artifact -- it should have been an em-dash.
If you find a workaround (other than defining every ToC entry with tc
codes -- I'm not that desperate), please let me know. Otherwise,
we'll probably add the section numbers manually once it's ready to
print. Bleah.
*********************************************************************
Beth Friedman bjf -at- wavefront -dot- com
"A civil war is such an awful bother.
We fought at Tewksbury and still ran out of mustard.
I wonder where my brother Richard is." -- John M. Ford