Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2018, 04:32 PM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default After creating a Table of Contents using the automated tool, how to manually add further lines to it

I have written a 300 page MS word file consisting of a series of transcribed lectures. Of the 40 lectures, only 32 had recordings which I could access. I could not locate recordings for the remaining eight lectures. As a result, for these eight lectures there is no transcription i.e. no chapter in the book. Nonetheless I wish to include them in the table of contents (TOC) to show readers where those lectures would have been located in the TOC and what their titles are. For each of these eight, instead of a page number, I wish to insert "sound file unavailable". I've created a TOC using the automated tool in MS Word 2016. After having created that TOC, is there a way for me to add these eight lines in their respective locations in the TOC?



Or would I have to discard the automated tool and opt for making the TOC manually? This sounds difficult and thus I would far prefer to use the automated tool if possible. But if there is no option except to manually create the TOC, would I then have the option there to add these eight lines in their respective locations?

Last edited by Charles Kenyon; 08-21-2018 at 10:47 AM. Reason: Unmark as solved - see post on page 2
Reply With Quote
  #2  
Old 08-13-2018, 07:51 PM
gmayor's Avatar
gmayor gmayor is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The TOC is produced using a field. Once you are certain that the TOC is as you wish and you are not going to add more to it. You can update the TOC field and then unlink it. This will convert the field to text. You can then manually add more text into it as required.

If subsequently you make changes to the document, you would have to delete the TOC, insert a new TOC field and repeat the process.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #3  
Old 08-13-2018, 08:09 PM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

That is great news! So it is the unlink command which converts it to text? I just googled it, and found this:

1. Select the Table of Contents (TOC).
2. Press CTRL + SHIFT + F9

Is this the proper way?

And once it is unlinked, is there a way to link it again? Or does one have to again make the TOC as you mentioned?
Reply With Quote
  #4  
Old 08-13-2018, 08:22 PM
macropod's Avatar
macropod macropod is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 7 64bit After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Is there a reason you can't just insert suitable headings at the appropriate place in the document? That way, you wouldn't need to unlink the Table of Contents. To differentiate them from the others, you could include the word 'unavailable' and, if you use a different Heading Style, have the Table of Contents not display the page # for that level.

Another option would be to bookmark each of the ranges for which content is available, then insert a separate Table of Contents for each bookmarked range and, between them, insert your static content.

Either way, no unlinking would be required. Once unlinked, there is no way to relink a Table of Contents - it has to be recreated.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 08-13-2018, 08:49 PM
Charles Kenyon Charles Kenyon is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
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

See:
Reply With Quote
  #6  
Old 08-14-2018, 10:44 AM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Is there a reason you can't just insert suitable headings at the appropriate place in the document? That way, you wouldn't need to unlink the Table of Contents.
If I were to insert headings like this in the document, those headings would be printed wouldn't they, and would therefore each require their own page in the printed text. If that is the case, I wasn't till now planning on dedicating space in the book for the unavailable chapters. Just had wanted to indicate it in the TOC. But I will think about this, thanks.

Quote:
Originally Posted by macropod View Post
To differentiate them from the others, you could include the word 'unavailable' and, if you use a different Heading Style, have the Table of Contents not display the page # for that level.
Would there be a way to have the word "unavailable" appear in the TOC in place of where the page number would have been?

Quote:
Originally Posted by macropod View Post
Another option would be to bookmark each of the ranges for which content is available, then insert a separate Table of Contents for each bookmarked range and, between them, insert your static content.
I will review the links provided by Charles Kenyon, which will likely give more insight into how this sort of option could be set up. Thanks.
Reply With Quote
  #7  
Old 08-14-2018, 03:49 PM
macropod's Avatar
macropod macropod is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 7 64bit After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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 Swarup View Post
If I were to insert headings like this in the document, those headings would be printed wouldn't they, and would therefore each require their own page in the printed text. If that is the case, I wasn't till now planning on dedicating space in the book for the unavailable chapters. Just had wanted to indicate it in the TOC. But I will think about this, thanks.
If some or all are consecutive, those could be on the same page.
Quote:
Originally Posted by Swarup View Post
Would there be a way to have the word "unavailable" appear in the TOC in place of where the page number would have been?
With careful heading & TOC Style formatting, yes.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #8  
Old 08-15-2018, 06:31 AM
Charles Kenyon Charles Kenyon is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
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

Look into use of the TC field as well as styles. This is invisible on the page but shows up in the TOC. Here is a page specifically on those.

TC Fields by Suzanne Barnhill, MVP
Reply With Quote
  #9  
Old 08-16-2018, 02:33 PM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

As per Macropod's suggestion, I have decided to go ahead and insert suitable headings at the appropriate place in the document for the eight chapters (i.e. those eight which will not be getting published due to absence of sound file).

In this connection Macropod had written,

Quote:
To differentiate them from the others, you could include the word 'unavailable' and, if you use a different Heading Style, have the Table of Contents not display the page # for that level.
I am using heading 1 for all the other chapters; what heading should I use for these, and how do I set the TOC so as to not display the page # for that level?

I also have a couple of other related questions here:
1. In the TOC I would like to have a number preceding each chapter name, to give a running count of chapter number. That's pretty common I think so my guess is there may be a setting for that although I could not find it in the "edit field" options for the TOC.

2. This book is written using both Hindi and English. As such at the beginning of each chapter, the chapter title is provided in both languages: The top line in Hindi, and just underneath that in English. What I had done is to assign each of these two titles the status of "heading 1". As a result, in the TOC there are two listings for each chapter: One in Hindi, and then one in English. Both listings provide the same page number. Like this:

फ़सल का प्रबन्ध, वृष्टि के समय............................................... .........................62
Management of crops during rain.............................................. .............62

Is there a way for me to get the Hindi and English titles to appear in the TOC on a single line one following the other, with one page number listing? I tried going to the beginning of a chapter, highlighting both chapter names together, and assigning the heading 1 status to them together. But it seems that, perhaps due to their being on separate lines at the beginning of the chapter, Word assigns them separate heading status and separate lines in the TOC.

3. Optimally as mentioned I would like to have the two headings appear on the TOC on one line, separated by a back slash. For example, here is what I want:

फ़सल का प्रबन्ध, वृष्टि के समय / Management of crops during rain ......................62
Reply With Quote
  #10  
Old 08-16-2018, 05:58 PM
macropod's Avatar
macropod macropod is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 7 64bit After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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 Swarup View Post
I am using heading 1 for all the other chapters; what heading should I use for these, and how do I set the TOC so as to not display the page # for that level?
In that case you might use Heading2 and format it to look the same as Heading1. In addition to adding a tab after the name, followed by 'unavailable', you'd add the \w switch and an \n 2-2 switch to the TOC field.
Quote:
Originally Posted by Swarup View Post
1. In the TOC I would like to have a number preceding each chapter name, to give a running count of chapter number. That's pretty common I think so my guess is there may be a setting for that although I could not find it in the "edit field" options for the TOC.
That can be done quite easily by giving Heading 1 Style a suitable numbering scheme, via the Numbering tools.
Quote:
Originally Posted by Swarup View Post
2. This book is written using both Hindi and English. As such at the beginning of each chapter, the chapter title is provided in both languages: The top line in Hindi, and just underneath that in English. What I had done is to assign each of these two titles the status of "heading 1". As a result, in the TOC there are two listings for each chapter: One in Hindi, and then one in English.

Is there a way for me to get the Hindi and English titles to appear in the TOC on a single line one following the other, with one page number listing?
If all you have between these two headings is a paragraph break, simply replace that with a space and a manual line break.
Quote:
Originally Posted by Swarup View Post
3. Optimally as mentioned I would like to have the two headings appear on the TOC on one line, separated by a back slash. For example, here is what I want:

फ़सल का प्रबन्ध, वृष्टि के समय / Management of crops during rain ......................62
Following on from the above, unless you add the / to the heading, the TOC can't generate it. You could however, have:

फ़सल का प्रबन्ध, वृष्टि के समय
Management of crops during rain.............................................. .............62

by adding the \x switch to the TOC field.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 08-20-2018, 07:33 AM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
In that case you might use Heading2 and format it to look the same as Heading1. In addition to adding a tab after the name, followed by 'unavailable', you'd add the \w switch and an \n 2-2 switch to the TOC field.
If I use Heading 2 for those unpublished chapters, how do I get Word to refrain from indenting the listing for it in the TOC? I went into "modify style" to change the parameters of Heading 2. There I went into "paragraph", and changed "outline level" to level 1. But even after saving the changes to this parameter, it doesn't remain but reverts back to the outline level 2 setting and therefore continues to indent the Heading 2 listings in the TOC. I would like to use Heading 2 in order to selectively stop the page numbers from showing in the TOC for these unpublished chapters as you have guided above. However, I do not want these chapter listings to be indented in the TOC.

Quote:
Originally Posted by macropod View Post
That can be done quite easily by giving Heading 1 Style a suitable numbering scheme, via the Numbering tools.
When I implement numbering in the TOC, the numbers are not in the font I want. Furthermore, implementation of this chapter numbering in the TOC changes the font of the entire TOC. The Hindi in the TOC has a particular font (Nirmala), and the English has a partiular font (Times New Roman); I do not want these fonts to be altered when I implement numbering in the TOC. The way I implemented numbering was to select the TOC, and in the "Tell me what you want to do" window, type "numbering". An option comes for numbering, and when I click on that, it numbers the entire TOC for me. I tried to locate the "Numbering Tools" to which you refer, but could not find it and when googling it as well did not come up with anything. If there is a better way to set up the numbering which will not wreak this chaos with the fonts, kindly direct me to where I can read about how to do it.

Please also note that I want all the chapters to be numbered, not just those formatted with Heading 1. That is, the unpublished chapters should also be numbered in the TOC.

Quote:
Originally Posted by macropod View Post
If all you have between these two headings is a paragraph break, simply replace that with a space and a manual line break.

Following on from the above, unless you add the / to the heading, the TOC can't generate it. You could however, have:

फ़सल का प्रबन्ध, वृष्टि के समय
Management of crops during rain.............................................. .............62

by adding the \x switch to the TOC field.
I would very much like to have the TOC appear as you have displayed above. I pressed alt-F9 to display the TOC field code, added \x to it, and then again pressed alt-F9 to return to the TOC view. With the TOC selected, I clicked "update field". After doing so, nothing had changed. Neither in the chapters still having a paragraph break, nor in the chapter in which I had replaced a paragraph break with a space and a manual line break (shift-enter).
Reply With Quote
  #12  
Old 08-20-2018, 03:40 PM
macropod's Avatar
macropod macropod is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 7 64bit After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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 Swarup View Post
If I use Heading 2 for those unpublished chapters, how do I get Word to refrain from indenting the listing for it in the TOC? ... I would like to use Heading 2 in order to selectively stop the page numbers from showing in the TOC for these unpublished chapters as you have guided above. However, I do not want these chapter listings to be indented in the TOC.
You don't do anything with the outline level; all you need do is modify the indents applicable to the TOC2 style.
Quote:
Originally Posted by Swarup View Post
When I implement numbering in the TOC, the numbers are not in the font I want. Furthermore, implementation of this chapter numbering in the TOC changes the font of the entire TOC.
Again, modify the relevant TOC Style to suit. The numbering can be formatted differently from the rest of the text, via Styles>Manage Styles>Modify>Format>Numbering>Define New Number Format>Font.
Quote:
Originally Posted by Swarup View Post
Please also note that I want all the chapters to be numbered, not just those formatted with Heading 1. That is, the unpublished chapters should also be numbered in the TOC.
Modify the Heading2 Style so that it is visually the same as the Heading1 Style in all respects.
Quote:
Originally Posted by Swarup View Post
I would very much like to have the TOC appear as you have displayed above. I pressed alt-F9 to display the TOC field code, added \x to it, and then again pressed alt-F9 to return to the TOC view. With the TOC selected, I clicked "update field". After doing so, nothing had changed. Neither in the chapters still having a paragraph break, nor in the chapter in which I had replaced a paragraph break with a space and a manual line break (shift-enter).
I also said as a precursor to that:
Quote:
If all you have between these two headings is a paragraph break, simply replace that with a space and a manual line break.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #13  
Old 08-20-2018, 05:05 PM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
I also said as a precursor to that: "If all you have between these two headings is a paragraph break, simply replace that with a space and a manual line break."
When I implement this in the text of the book it looks fine. But what it achieves in the TOC is that the Hindi and English all appear on one line. Whereas, I want the TOC to look as you showed, with the Hindi on one line and the English just below it, and the dotted line coming from the English running over to the page number. Like this:

फ़सल का प्रबन्ध, वृष्टि के समय
Management of crops during rain.............................................. .............62
Reply With Quote
  #14  
Old 08-20-2018, 05:17 PM
macropod's Avatar
macropod macropod is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 7 64bit After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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 Swarup View Post
When I implement this in the text of the book it looks fine. But what it achieves in the TOC is that the Hindi and English all appear on one line. Whereas, I want the TOC to look as you showed, with the Hindi on one line and the English just below it, and the dotted line coming from the English running over to the page number.
And, having formatted the heading as described, did you also add the \x switch and refresh the TOC?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #15  
Old 08-20-2018, 05:33 PM
Swarup Swarup is offline After creating a Table of Contents using the automated tool, how to manually add further lines to it Windows 10 After creating a Table of Contents using the automated tool, how to manually add further lines to it Office 2016
Competent Performer
After creating a Table of Contents using the automated tool, how to manually add further lines to it
 
Join Date: Jul 2018
Posts: 185
Swarup is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
And, having formatted the heading as described, did you also add the \x switch and refresh the TOC?
Yes, I did.

After so doing, the Hindi and English are both appearing on the same line.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a Table of Contents in a table format Ellymoo Word 9 06-22-2017 08:15 AM
Updating Manually Entered Table of Contents betjam1 Word 2 05-26-2016 01:27 PM
After creating a Table of Contents using the automated tool, how to manually add further lines to it Creating custom like table of contents rehan0129 Word 1 05-17-2014 07:44 AM
Creating a table of contents greneebb Word 11 03-07-2014 11:02 PM
After creating a Table of Contents using the automated tool, how to manually add further lines to it Format heading levels in automated table of contents Dr Wu Word 1 07-31-2013 07:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:48 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