This works fine until I replace the TOC (Insert/Reference/Index and
Tables/Table of Contents) to reflect revisions. The replacement removes the
following section break and any other breaks on that page. Workarounds I have
tried:
1.) Manually insert several paragraph breaks between TOC and section
break before performing replacement. But all of these lines are removed. Same
if adding extra non-paragraph line breaks, column breaks, etc.
2.) Manually define TOC, being careful not to define extra paragraph
breaks or section break. On manual delete, all of these lines are removed.
3.) Also, after replacement, sometimes the “page break before” setting
for Heading1 is ignored and Heading1 appears immediately following the TOC on
the same page.
Manually adding the page break after each replacement causes repagination,
so then the page numbers in the TOC are wrong.
Environment: Windows XP Pro w/ SP2, Office/Word 2003 w/ SP1
Do Alt-F9 so you can see the field codes rather than the field results. And,
click the ś button on the toolbar so you can see empty paragraphs and the
section breaks.
Now, make sure your document looks something like this:
{ TOC whatever switches here }ś
ś
ś=====Section break here=====
1. Chapter 1 heading ś
Note that if the end of your TOC just fits on a page, that empty paragraph
mark might turn up on a page of its own. To reduce the possibility of that,
format it as 1pt like this:
{ TOC whatever switches here }ś
ś**format this paragraph mark as 1pt**
ś=====Section break here=====
1. Chapter 1 heading ś
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
"TechWriterJim" <TechWr...@discussions.microsoft.com> wrote in message
news:B164214E-AB99-4663...@microsoft.com...
I've tried multiple paragraph marks, various break types, etc., but whenever
I update the TOC, the break is swallowed up.
What is funny is that if I use Alt-F9 in Normal View, the TOC code takes on
the Header 1 format of the following line but without the number and the
paragraph marks and section break disappear!
The other headers on that page have the proper numbers (2 ...) but my
Introduction just has the {TOC \h\l\o \* MERGEFORMAT } tag in front of it,
all in 18 Tahoma (as the other Heading 1 text).
Surely many others have this same problem? My document is nothing special
and this has been happening with others here.
Why is this and what can I do about this?
Thanks.
Anyway, use View Normal and Alt-F9. Move the {TOC...} junk up a bit using
extra paragraph marks to separate it from the following Heading 1 text. I
had to select the {TOC} tag and Remove Formatting and do this for some of the
paragraph marks too.
Then I had to reapply the formatting to what should have been Heading 1 text
and add back the page break. Maybe that should have been a section break;
I'll try that now.
Thanks to Shauna for the clue of using Alt-F9. I really do think there is
a bug in either the placement of the section/page break and/or in the TOC
update code that swallows the paragraph marks and breaks.
--
Peter Kryszak
TeleCommunication Systems, Inc.
--
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.
"Peter Kryszak" <PeterK...@discussions.microsoft.com> wrote in message
news:D3C08368-ECBF-4027...@microsoft.com...
At a previous job I used Windows XP and Office 2003 and did not have this
problem. I use Heading 1 to begin the page after the TOC and that style is
set to have a page break before, however, I also need a section break so that
I can page number the TOC with Roman numerals and restart page numbering
(1,2,3...) in section 2 which is the first chapter of the manual.
I would guess this is a bug, maybe related to a setting in Options, but I
sure can't figure it out. I've been doing this for 2 years with XP and Office
2003, written probably 20+ different operator's manuals and have not had this
problem until the new installation on a new computer.
--
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.
"Michelle White" <Michelle Wh...@discussions.microsoft.com> wrote in message
news:AF2D7013-BDA8-453E...@microsoft.com...
--
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.
"Michelle White" <Michel...@discussions.microsoft.com> wrote in message
news:40CEC2B0-A1EF-4C0D...@microsoft.com...
I see now that when the TOC is inserted immediately before a Heading 1 (or
any style that has the "page break before" selected) the only way to do any
formatting out of the TOC field is to have the typing cursor immediately in
front of the Heading 1 text (in this case). I was inserting the section break
at the end of the TOC (after creating paragraph breaks that were just
extending the TOC field, not getting outside of it) instead of at the
beginning of the next section.
Thanks so much!
--
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.
"Michelle White" <Michel...@discussions.microsoft.com> wrote in message
news:9C87F4BF-ED38-47B3...@microsoft.com...