View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill
 
Posts: n/a
Default TOC with entries "Author: Title. Subtitle"

TC fields must be input manually, but I think it would still be much easier
than using cross-references because:

(a) If I'm understanding your use of cross-references correctly, you'd need
four for each TOC listing, one for the author, one for the title, one for
the subtitle, and one for the page number. You can accomplish the same thing
with a single TC field.

(b) Using cross-references, you have to be sure you haven't omitted any
headings, and you have to insert them in the TOC in the correct order and
using the appropriate-level TOC style. If you rearrange the contents, you
have to rearrange the TOC manually.

(c) When you use TC fields, Word handles creation of the TOC automatically,
just as it does when you base the TOC on headings or outline levels. You
create one TC field for each TOC entry, including the author, title, and
subtitle, and Word keeps up with the page numbers.

My limited testing indicates that it is even possible to use StyleRef fields
inside your TC fields. If you apply distinctive styles (paragraph or
character) to your Author, Title, and Subtitle paragraphs, you might try a
TC field as follows:

{ TC "{ StyleRef "Author" }: { StyleRef "Title" }. { StyleRef
"Subtitle" }" }

If this is successful, then you could save this TC field as an AutoText
entry and easily insert it after the subtitle in each chapter/section. Note
that you will get an error if you insert the field at the end of the
Subtitle paragraph (or whichever one is the last to appear). You'll have to
put it at the beginning of the following paragraph instead (something in a
different style). Note also that you have to keep updating fields as you do
this. It took several updates before my TC field reflected the StyleRef
results, and that was necessary before the TOC would display anything.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.

"Loretta" xxx wrote in message
...
Thank you for your quick reply!

Is there a possibility to generate TC fields automatically or would I have
to put them in manually?
If the latter were the case, it wouldn't be much different from my current
solution, namely generating the TOC with cross references, would it?