Table of contents wiredness

T

the3rdParty

I have a doc (created in the previous version of word before 2008) and
at some stage I changed a parameter which controlled how hyperlinks to
external files were included in the doc. Originally these were
included relative to the main doc, and I changed this to an absolute
location.

Previously hyperlinks were inserted like this:
Refs/Background/2006.pdf

And now they are like this:
file://localhost/Users/JW/Study/Refs/Background/2006.pdf

This had the desired effect on the hyperlinks inserted thereafter
(clicking on the links opens the desired docs OK), but the changed
messed up something with the ToC. At the moment the ToC generates
perfectly, but if I try to navigate to a particular section by
clicking on the page number on the ToC I get an error "Office cannot
open the URL you specified. Make sure you have a web browser installed
and that it is correctly configured". Deleting the ToC and
regenerating it again makes no improvement. The same error occurs
for the general ToC as well as other ToCs (Tables & figures).

I am now using word 2008 and the coversion to docx has made no
differnece - the problem continues.

Any ideas? My worry is that there is an underlying error in the doc
that will create problems later.

Thanks
Jim
 
J

John McGhie

Hi Jim:

Check in File>Properties>Summary to ensure that "Hyperlink Base" is blank.
If it is not, Word generates absolute links for references that are not
relative to the base.

And regenerate the TOC after making a change.

The Mac Word TOC does not actually "contain" hyperlinks, because the Mac
Word TOC generator can't do them. So the error is kind of spurious :)

Cheers

I have a doc (created in the previous version of word before 2008) and
at some stage I changed a parameter which controlled how hyperlinks to
external files were included in the doc. Originally these were
included relative to the main doc, and I changed this to an absolute
location.

Previously hyperlinks were inserted like this:
Refs/Background/2006.pdf

And now they are like this:
file://localhost/Users/JW/Study/Refs/Background/2006.pdf

This had the desired effect on the hyperlinks inserted thereafter
(clicking on the links opens the desired docs OK), but the changed
messed up something with the ToC. At the moment the ToC generates
perfectly, but if I try to navigate to a particular section by
clicking on the page number on the ToC I get an error "Office cannot
open the URL you specified. Make sure you have a web browser installed
and that it is correctly configured". Deleting the ToC and
regenerating it again makes no improvement. The same error occurs
for the general ToC as well as other ToCs (Tables & figures).

I am now using word 2008 and the coversion to docx has made no
differnece - the problem continues.

Any ideas? My worry is that there is an underlying error in the doc
that will create problems later.

Thanks
Jim


--

This email is my business email -- Please do not email me about forum
matters unless you intend to pay!

John McGhie, Microsoft MVP (Word, Mac Word), Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. | Ph: +61 (0)4 1209 1410
+61 4 1209 1410, mailto:[email protected]
 

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