views:

424

answers:

1

I want a table of contents, but I don't want each line to be a clickable hyperlink. How do I do this?

Details: I am using the \anothertoc command from the shorttoc package to "import" the TOC from another document. Works fine, except that all the links for the imported TOC are broken (obviously)... so, I want to de-linkify them.

Not sure whether this is relevant, but the TOC that I'm importing is from a document that uses the hyperref package. I have a feeling that hyperref is making the TOCs hyperlinked, but I can't find any option for the hyperref package to disable hyperlinking for TOCs.

Any help would be appreciated!

+1  A: 

How are you "importing" the toc?

I'd have a look at the hyperref manual at : http://www.tug.org/applications/hyperref/manual.html

The simple solution would be to turn off hyperlinking in the document toc that you are importing, though I realize that might not be possible.

Mica
I'm using the \anothertoc command from the shorttoc package to import the TOC.
kevin
If you need hyper linking in the other document, turn hyperref off for run latex run, complete the document that doesn't need hyperref, then turn hyperref back on.
Mica