Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Chris Chris is offline
external usenet poster
 
Posts: 237
Default omit text from table of contents

Hi. I'm using Microsoft Word 2003. I'm creating a automatic table of contents
based on a style. This generates a table of contents just fine. However some
of my table captions are as follows:

Table 2. Summary of cost estimates for 2007 (page 1 of 2).

In the automatically generated TOC all of this caption shows up. However, I
would like to remove "(page 1 of 2)" from the TOC. I know how to manually
delete this text, but when I update the TOC it comes back (and it don't want
to just update the page numbers). I have 60 tables in this document so I do
not want to manually mark each title with {TC}. Is there a way that I can set
up the TOC to omit "(page 1 of 2)" from all table entries? Maybe using a
switch?

Thanks -
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Bear[_2_] Bear[_2_] is offline
external usenet poster
 
Posts: 314
Default omit text from table of contents

Chris:

You could either use TC fields to manually record the portion of each
caption you want to have in your TOC (and stop including the caption's style)
OR use a style separator to style the undesired text so as not to be included
in the TOC.

Bear

--
Windows XP, Word 2000


  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Chris Chris is offline
external usenet poster
 
Posts: 237
Default omit text from table of contents

Thanks for the help. I have used the TC fields, I was just hoping there was
an easier way, such as using a switch. As far as the style separator - that
would work if my text wasn't all on the same line. In my experience, as long
as the styles are separated by a paragraph mark it works fine, but if I tried
to apply two different styles to the same sentence it doesn't work. Maybe I'm
doing that wrong. Have you been able to apply two different styles to the
same sentence?

Chris
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Bear[_2_] Bear[_2_] is offline
external usenet poster
 
Posts: 314
Default omit text from table of contents

Chris:

That's exactly what a style separator does -- it lets you apply two
different paragraph styles to the same paragraph.

I haven't used the feature per se (being back on Word 2000) but I have used
its precursor -- the technique of defining the first para mark as hidden
text. That works just as you'd wish it would.

Bear
--
Windows XP, Word 2000


  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Chris Chris is offline
external usenet poster
 
Posts: 237
Default omit text from table of contents

In theory this should work, and it does as far as the sentence having two
different styles applied. However, when I update the TOC it shows all the
text in the sentence (both styles - even though I have the TOC only pulling
one style).


  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Bear[_2_] Bear[_2_] is offline
external usenet poster
 
Posts: 314
Default omit text from table of contents

Chris:

The something else is at work here. It works perfectly for me. Only the
first part of the heading appears in the TOC, but the entire heading appears
in the body -- all on one line.

Are you using an actual style separator? Maybe it has a bug as implemented.
Maybe you could try the older method of making the first paragraph mark
hidden (that's what I do).

Bear
--
Windows XP, Word 2000


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents and Text Boxes misso Microsoft Word Help 0 June 4th 07 09:37 AM
Can I create logic to include/omit sections of text? D. Wentzler Mailmerge 2 October 23rd 06 11:21 PM
Hidden text & table of contents Stressed in Tampa Microsoft Word Help 2 July 4th 06 07:28 PM
how to omit extra space between two parts of word in farsi text toelw Microsoft Word Help 1 December 3rd 05 04:27 PM
How do I use text within the header for the table of contents? cinlog Microsoft Word Help 1 June 13th 05 10:07 PM


All times are GMT +1. The time now is 06:33 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"