#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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? |
#4
|
|||
|
|||
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). |
#5
|
||||
|
||||
AFAIK, the 'known problems' only concern certain 3rd-party add-ins that aren't 64-bit compliant.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#6
|
|||
|
|||
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...
|
#7
|
||||
|
||||
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.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#8
|
|||
|
|||
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! |
#9
|
||||
|
||||
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] |
#10
|
|||
|
|||
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... |
#11
|
||||
|
||||
Or maybe a fault in your Office installation. Try checking with another Mac user.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#12
|
|||
|
|||
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. |
#13
|
||||
|
||||
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] |
#14
|
|||
|
|||
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! |
#15
|
||||
|
||||
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] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
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 |