Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2012, 11:30 AM
pogonoforysci1 pogonoforysci1 is offline Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 64bit
Novice
Problem with automatic table of contents
 
Join Date: May 2012
Posts: 9
pogonoforysci1 is on a distinguished road
Default Problem with automatic table of contents

Hi, I'm trying to write my PhD thesis at the moment and I have a problem with automatic table of contents. My chapter titles are quite long so I have to separate them into two lines using enter (+ that is how chapter titles are formatted in these from my institute) (picture AAA). That causes a problem when I create a table of contents because chapter headlines with an enter used in them are being recognized as separate and not as parts of the same headline. Is there a way to solve this so in the table of contents I would have

Chapter 1: Introduction.......................page number



instead of

Chapter 1:.........................................page number
Introduction...................................... .page number

I'm not even sure what I should be looking for in google to sort this out so any help will be appreciated
Attached Images
File Type: jpg AAA.JPG (18.8 KB, 14 views)
File Type: jpg BBBB.JPG (33.0 KB, 16 views)
Reply With Quote
  #2  
Old 05-12-2012, 02:00 PM
Charles Kenyon Charles Kenyon is offline Problem with automatic table of contents Windows Vista Problem with automatic table of contents Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Try formatting with Shift+Enter instead of Enter. That gives you a line break within a paragraph instead of a separate paragraph. You will probably still have to manually remove the line break in your table of contents, but you will not have two entries. i.e., you will have:

Chapter 1:
Introduction...................................... .page number

That will all be one paragraph in the TOC and you can simply remove the line break at the end of the first line and replace it with a space. If you want, when you finish your final copy you can update the TOC and unlink it (Select it and press Ctrl+6) then with it still selected use replace to replace ^l with a space in the selection.

For more on TOC generation, see How to create a table of contents in Microsoft Word and Generating a Table of Contents - Complex Documents.

Since you mention you are doing your thesis, a gratuitous word of warning. Do NOT use the Master Documents "Feature" to compile your thesis.
Reply With Quote
  #3  
Old 05-12-2012, 03:35 PM
pogonoforysci1 pogonoforysci1 is offline Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 64bit
Novice
Problem with automatic table of contents
 
Join Date: May 2012
Posts: 9
pogonoforysci1 is on a distinguished road
Default

I tried using Shift+Enter. It makes a difference in the navigation pane. There I now have Chapter 1 chapter title together as I wanted but the TOC is still (I did refresh:

Chapter 1..................page number
chapter title...............page number

Any more ideas how to sort this out?
Reply With Quote
  #4  
Old 05-12-2012, 04:22 PM
Charles Kenyon Charles Kenyon is offline Problem with automatic table of contents Windows Vista Problem with automatic table of contents Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

I just tried this in Word 2010 page and with Shift-Enter, that line break was ignored in the TOC, as if it hadn't been there at all. I ended up with one continuous entry in the TOC. Did you refresh the entire TOC or just the page numbers?

There might be a difference with 64-bit Office. Why are you using the 64-bit version? There are known problems with Word in that version (but none that I know about with TOC generation).
Reply With Quote
  #5  
Old 05-12-2012, 09:47 PM
macropod's Avatar
macropod macropod is online now Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Charles Kenyon View Post
Why are you using the 64-bit version? There are known problems with Word in that version (but none that I know about with TOC generation).
AFAIK, the 'known problems' only concern certain 3rd-party add-ins that aren't 64-bit compliant.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #6  
Old 05-13-2012, 09:40 AM
pogonoforysci1 pogonoforysci1 is offline Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 64bit
Novice
Problem with automatic table of contents
 
Join Date: May 2012
Posts: 9
pogonoforysci1 is on a distinguished road
Default

I'm using 64 bit office because my system is 64 bit. From my limited knowledge it seems that it's better to have matching versions of OS and other software. Anyway, my problem remains so I'm open to ideas...
Reply With Quote
  #7  
Old 05-13-2012, 02:39 PM
macropod's Avatar
macropod macropod is online now Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi pogonoforysci1,

Your TOC problem is undoubtedtly caused by having paragraph breaks between the 'Chapter' and 'Introduction' headings in the body of the document. Deleting the intervening paragraph breaks and replacing them with one or more line breaks (via Shift-Enter) as Charles suggested will resolve the issue. You may also need to update the entire TOC, not just its page numbers. See attached.
Attached Files
File Type: doc TOC demo.doc (33.0 KB, 14 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 04-14-2013, 06:10 PM
fleurlou fleurlou is offline Problem with automatic table of contents Mac OS X Problem with automatic table of contents Office for Mac 2011
Novice
 
Join Date: Apr 2013
Posts: 4
fleurlou is on a distinguished road
Default I'm having the same problem

I am having the exact same problem.

In previous versions, Word would automatically combine two lines of text in the table of contents, if they were split by a line break (Shift+Enter for PC, Option+Enter for Mac) in the main document.

This function no longer seems to work, at least in the version of Word I'm using.

Help would be greatly appreciated!
Reply With Quote
  #9  
Old 04-14-2013, 06:18 PM
macropod's Avatar
macropod macropod is online now Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Using Shift-Enter to break apart lines in the body of a document doesn't result in separate lines/entries in an Office 2010 TOC unless the \x switch is added to the field. I don't have a Mac to test with, so I can't comment on that platform's behaviour. Are you sure your TOC field doesn't have the \x switch?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #10  
Old 04-14-2013, 06:22 PM
fleurlou fleurlou is offline Problem with automatic table of contents Mac OS X Problem with automatic table of contents Office for Mac 2011
Novice
 
Join Date: Apr 2013
Posts: 4
fleurlou is on a distinguished road
Default

Yes I'm positive there is no \x in the switch, and there are definitely no hard returns in my heading.

Perhaps it's a Mac thing...
Reply With Quote
  #11  
Old 04-14-2013, 08:47 PM
macropod's Avatar
macropod macropod is online now Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by fleurlou View Post
Perhaps it's a Mac thing...
Or maybe a fault in your Office installation. Try checking with another Mac user.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 04-14-2013, 08:51 PM
fleurlou fleurlou is offline Problem with automatic table of contents Mac OS X Problem with automatic table of contents Office for Mac 2011
Novice
 
Join Date: Apr 2013
Posts: 4
fleurlou is on a distinguished road
Default

I've actually just tried updating the table of contents for this same file, on a PC in an older version of Word, and had the same problem.

I might try saving back to .doc (rather than .docx) to see if this makes a difference.
Reply With Quote
  #13  
Old 04-14-2013, 10:14 PM
macropod's Avatar
macropod macropod is online now Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If it's not working correctly on a PC, then either:
• there are paragraph breaks in the range; or
• the document has some form of corruption.
Corrupt documents can often be 'repaired' by inserting a new, empty, paragraph at the very end, copying everything except that new paragraph to a new document based on the same template, closing the old document and saving the new one over it. Have you tested with the attachment to post #7? I have, and it absorbs the manual line breaks in both the .doc and .docx formats
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #14  
Old 04-14-2013, 10:32 PM
fleurlou fleurlou is offline Problem with automatic table of contents Mac OS X Problem with automatic table of contents Office for Mac 2011
Novice
 
Join Date: Apr 2013
Posts: 4
fleurlou is on a distinguished road
Default

I've figured it out!

The shortcut I kept using on Google's advice was Option+Enter or Control+Option+Enter. But this was inserting a paragraph break.

For future reference, you can insert a manual line break in Word Mac 2011 by clicking Shift+Return.

Thanks for your help, Paul!
Reply With Quote
  #15  
Old 04-14-2013, 10:39 PM
macropod's Avatar
macropod macropod is online now Problem with automatic table of contents Windows 7 64bit Problem with automatic table of contents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by fleurlou View Post
For future reference, you can insert a manual line break in Word Mac 2011 by clicking Shift+Return.
It's the same on PCs (see post #9). I would have thought from your assurance (post #10) that you'd have done a visual check!
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with automatic table of contents Using Table Of Contents Chris N Word 6 03-20-2012 06:35 AM
Table of contents Koolfala Word 1 03-01-2012 01:08 AM
Table of Contents Formatting Problem WilltheGrill09 Word 1 01-08-2012 12:57 PM
Problem with automatic table of contents Multilevel & Table of Contents Problem Defected87 Word 1 09-19-2011 02:48 PM
Table of contents markos97 Word 0 10-26-2010 08:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:21 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft