table of contents for several documents

R

RossT

Hi,
    Im just finishing off my PhD and need to make a table of contents. All of my chapters are different documents. Is there a way I can create a table of content for several documents or do I need to merge all of the documents into one big one?

Thanks,

Ross
 
J

John McGhie

Hi Ross:

Thanks for adding your name ‹ makes this whole place much more friendly :)

Everything Jonathan West says in the article Daiya sent you to remains true
for Mac Word. However, new possibilities open up if you are using Word
2008.

There are three ways to "tell" Word which headings you want in the Table of
Contents.

* If you have formatted all your headings with the built-in Heading styles
in Word, you do not have to "do" anything. It will all "just work". If you
have not done this, by far the easiest way to proceed is to reformat the
Heading styles to your requirements and then run through and change the
formatting of the headings to the heading styles.

* If you have formatted with styles other than the built-in "Heading..."
series, you need to ensure that the "Outline Level" defined for each style
is the correct level: Level 1 is the Chapter Heading, Level 2 for Sections,
Level 3 for Sub-sections, etc. Update each style and make a mental note
that you need to use "Outline Levels" as opposed to "Styles" in your TOC
field.

* If you have not used styles at all, and you don't want to change that,
you need to run through each document and insert "TC" fields at EVERY
Heading. This is a very laborious process: use it only if the text you want
to appear in the TOC is different from the text you want in the body of the
document.

Compiling your Source
If your Mac has plenty of memory (2 GB or better...) the "Long Single
Document" method is by far the simplest.
* Create a new blank document, Save it, and then insert each of your source
documents using File>Insert File...

‹ Save the compiled document each time you insert a new file.
‹ Close all other applications before you do this to free up memory.
‹ You can easily get to 1,000 pages doing this. Things will start slowing
down a bit at 2,000 pages, but you can keep going up to about 5,500 pages if
you are determined and patient :)

If you are using Word 2008:
* You can use master documents, PROVIDED that every source file is a .docx
and so is your master document.
‹ If you do not have Word 2008, then forget master documents. They are too
fragile done in .doc format. You are likely to lose the lot... If you use
a mixture of formats, disaster becomes "certain" :)

If you are in Word 2001, or you don't have much memory, then you need to use
RD fields, and the technique Jonathan describes is the way the professionals
do it.

Just to hit the high points...
1) Create a separate blank document for your Table of Contents
2) Insert the RD fields into your Table of Contents document, ABOVE the TOC
field. On later versions of Word, the RD fields don't have to be above,
they can be anywhere provided that are in the same document as the TOC
field.
3) Jonathan will specifically caution you to "double the back-slashes" in
the path name inside the RD field. You do not need to do that on the Mac if
you use colons as path separators. If you use Unix-style forward slashes,
you do.
4) You need to set the page number in each source document to start at the
correct number before you generate the TOC. Either set it to continue from
the previous document, or to start at "1" if you choose to include the
Chapter number.
5) If you do choose to include the Chapter number, the chapter MUST start
with a numbered heading (and the heading number must be generated by a
Style, not typed) and you must tell the Page Number field which style you
are using for the Chapter number. Normally, use Heading 1.
6) You need to check the resulting generated TOC to ensure that it actually
includes all the source documents. There are no short-cuts, you have to
check the TOC against each source document. On your first and second
attempts, I will be very surprised if you don't miss at least one, or its
link doesn't work...

There's a lot you have to know, and a lot to go wrong. Are you SURE you
can't use a long single document :)

Hope this helps

Hi,
Im just finishing off my PhD and need to make a table of contents. All of
my chapters are different documents. Is there a way I can create a table of
content for several documents or do I need to merge all of the documents into
one big one?

Thanks,

Ross

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
+61 4 1209 1410, mailto:[email protected]
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Sydney, Australia. S33°53'34.20 E151°14'54.50
 
R

RossT

Hi,
thanks for your help. I ended up making it all one document, as I was struggling to do it that way.

Thanks again,

Ross
 
J

John McGhie

Hi Ross:

Glad you got it sorted :)

Yes, it's a long time since I have had to do anything other than a long
single document. The limits are so high now that it's pointless fiddling
with the other methods.

But the next time I get a 35,000-page manual, the techniques are still
available :)

Cheers


Hi,
thanks for your help. I ended up making it all one document, as I was
struggling to do it that way.

Thanks again,

Ross

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
+61 4 1209 1410, mailto:[email protected]
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Nhulunbuy, Northern Territory, Australia
 
B

Bill Weylock

John -


This is an awesome post. Thought someone should mention it. I am astonished
at the amount of work, care, and intelligence you all bring to these groups.

Luckily, Word 2008 is (from what I can tell) actually an improvement over
2004. That makes this group less poisonous than the Excel group.


Best,


- Bill


Hi Ross:

Thanks for adding your name ‹ makes this whole place much more friendly :)

Everything Jonathan West says in the article Daiya sent you to remains true
for Mac Word. However, new possibilities open up if you are using Word
2008.

There are three ways to "tell" Word which headings you want in the Table of
Contents.

* If you have formatted all your headings with the built-in Heading styles
in Word, you do not have to "do" anything. It will all "just work". If you
have not done this, by far the easiest way to proceed is to reformat the
Heading styles to your requirements and then run through and change the
formatting of the headings to the heading styles.

* If you have formatted with styles other than the built-in "Heading..."
series, you need to ensure that the "Outline Level" defined for each style
is the correct level: Level 1 is the Chapter Heading, Level 2 for Sections,
Level 3 for Sub-sections, etc. Update each style and make a mental note
that you need to use "Outline Levels" as opposed to "Styles" in your TOC
field.

* If you have not used styles at all, and you don't want to change that,
you need to run through each document and insert "TC" fields at EVERY
Heading. This is a very laborious process: use it only if the text you want
to appear in the TOC is different from the text you want in the body of the
document.

Compiling your Source
If your Mac has plenty of memory (2 GB or better...) the "Long Single
Document" method is by far the simplest.
* Create a new blank document, Save it, and then insert each of your source
documents using File>Insert File...

‹ Save the compiled document each time you insert a new file.
‹ Close all other applications before you do this to free up memory.
‹ You can easily get to 1,000 pages doing this. Things will start slowing
down a bit at 2,000 pages, but you can keep going up to about 5,500 pages if
you are determined and patient :)

If you are using Word 2008:
* You can use master documents, PROVIDED that every source file is a .docx
and so is your master document.
‹ If you do not have Word 2008, then forget master documents. They are too
fragile done in .doc format. You are likely to lose the lot... If you use
a mixture of formats, disaster becomes "certain" :)

If you are in Word 2001, or you don't have much memory, then you need to use
RD fields, and the technique Jonathan describes is the way the professionals
do it.

Just to hit the high points...
1) Create a separate blank document for your Table of Contents
2) Insert the RD fields into your Table of Contents document, ABOVE the TOC
field. On later versions of Word, the RD fields don't have to be above,
they can be anywhere provided that are in the same document as the TOC
field.
3) Jonathan will specifically caution you to "double the back-slashes" in
the path name inside the RD field. You do not need to do that on the Mac if
you use colons as path separators. If you use Unix-style forward slashes,
you do.
4) You need to set the page number in each source document to start at the
correct number before you generate the TOC. Either set it to continue from
the previous document, or to start at "1" if you choose to include the
Chapter number.
5) If you do choose to include the Chapter number, the chapter MUST start
with a numbered heading (and the heading number must be generated by a
Style, not typed) and you must tell the Page Number field which style you
are using for the Chapter number. Normally, use Heading 1.
6) You need to check the resulting generated TOC to ensure that it actually
includes all the source documents. There are no short-cuts, you have to
check the TOC against each source document. On your first and second
attempts, I will be very surprised if you don't miss at least one, or its
link doesn't work...

There's a lot you have to know, and a lot to go wrong. Are you SURE you
can't use a long single document :)

Hope this helps

Best,

Bill
Imac 2.8Ghz -10.5.1
Office 2008/2003 - Windows XP Pro SP2
 
J

John McGhie

Hi Bill:

Yeah, our friends down the hall are struggling a bit, currently :)

In here, we invited the few people who came in here looking for trouble to
enjoy reproduction and travel, so diplomatically that I believe they are
still having a great time on their holidays :)

It is also true that "typical" Word users suffer somewhat less from the
disappearance of VBA than your typical Excel user does. And AppleScript
works better in Word than it seems to be doing in Excel.

There's a raft of fixes in the pipeline. If you think we're copping heat,
you should see the haggard expressions in the Microsoft Macintosh Business
Unit right now. I think they have forgotten what "sleep" is...

Many thanks for your kind remarks :)


John -


This is an awesome post. Thought someone should mention it. I am astonished
at the amount of work, care, and intelligence you all bring to these groups.

Luckily, Word 2008 is (from what I can tell) actually an improvement over
2004. That makes this group less poisonous than the Excel group.


Best,


- Bill




Best,

Bill
Imac 2.8Ghz -10.5.1
Office 2008/2003 - Windows XP Pro SP2

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Consultant Technical Writer
+61 4 1209 1410, mailto:[email protected]
McGhie Information Engineering Pty Ltd
http://jgmcghie.fastmail.com.au/
Nhulunbuy, Northern Territory, Australia
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top