![]() |
|
|
|
#1
|
|||
|
|||
|
Thanks, Stefan. Here's what I tried:
{TC "Part I: The Beginning" \L 1 \n}Part I I F9 to save it. My TOC toggles to one line (looks like the TOC code) When I toggle it back, either my Part one is as it was or still in code form. I tried toggling to hide code and the whole thing reduces to one coded line again. What am I doing wrong? I cannot see it. I know this should be simple -- it's only code, but something here isn't allowing it's proper use. Thanks, Greg |
|
#2
|
||||
|
||||
|
Did you remember to update the TOC after you modified the field code (click inside it and press F9)?
If you can share your document, or relevant parts of it, upload an attachment in *.doc or *.docx format.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
#3
|
|||
|
|||
|
Yes, and that's when the code reduces to the TOC code and not just the one line display.
I'm attaching an excerpt. Note that what I am attempting is: Contents Part I: In the beginning Chapter 1: Title Chapter One ..................5 Chapter 2: Title Chapter Two ................17 etc. Where the part text and the chapter text come via bookmarks. Stefan, I appreciate your helping me. Greg |
|
#4
|
||||
|
||||
|
You have to add the TC field in the "Part" paragraph. You can use Ctrl+F9 to add the field delimiters, { }, and then type in the code.
To avoid duplicates in the TOC, you must use some other style than Heading 1 for the "Parts"; be sure to customize the style so that its "Outline level" is "Body Text." My example document should give you an idea on how to do this. Just use the ¶ button to see hidden text such as the TC fields (and other nonprinting marks) and Alt+F9 to see the TOC field (as well as other fields).
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Bookmarks in hyperlinks disappeared - HELP!!!
|
Marcebrown | PowerPoint | 5 | 03-02-2014 09:13 AM |
| Can't See Bookmarks | bobmayo | Word | 21 | 06-04-2013 07:37 AM |
Linking to Bookmarks
|
savo | Word | 6 | 04-11-2013 11:04 AM |
Table of Bookmarks
|
Niy | Word | 3 | 03-28-2012 12:18 AM |
| Bookmarks for a PDF? | Ownaholic | Word | 0 | 10-30-2010 12:27 AM |