Alterations to TOC

M

madhucool

Hi,

I need to alter the existing TOC for the problem given below:


Gather all the "heading2"s (which are particular folios in my case)
in
the document; auto-generate a table the heading 2 should be in col1.
I
have some other values that need to go into col2 and col3
corresponding to the headings.


<Heading 2> <Some value M> <Some value k>
<Some
value x>
folio1 M1
K1 X1
folio 2 M2
K2 X2
..
..
..
..
folio N Mn
Kn Xn


The column one is something that you see in a normal TOC. I can still
achieve this by the following steps:


1. Generate a TOC without page numbers
2. Convert the field codes to normal text
3. Convert the text to table
4. Add columns to the table


But this doesn't:


1. Preserve the hyperlinks
2. The table will not be updated when there is a new "heading2" added
3. or when an "heading 2" is deleted or updated.


Is there a way to over come the above mentioned short comings?
 
T

Tony Strazzeri

Hi,

I need to alter the existing TOC for the problem given below:

Gather all the "heading2"s (which are particular folios in my case)
in
the document; auto-generate a table the heading 2 should be in col1.
I
have some other values that need to go into col2 and col3
corresponding to the headings.

<Heading 2>     <Some  value M>          <Some value k>
<Some
value x>
 folio1                M1
K1                               X1
 folio 2               M2
K2                               X2
.
.
.
.
folio N               Mn
Kn                               Xn

The column one is something that you see in a normal TOC. I can still
achieve this by the following steps:

1. Generate a TOC without page numbers
2. Convert the field codes to normal text
3. Convert the text to table
4. Add columns to the table

But this doesn't:

1. Preserve the hyperlinks
2. The table will not be updated when there is a new "heading2" added
3. or when an "heading 2" is deleted or updated.

Is there a way to over come the above mentioned short comings?

Hi madhuc,

I don't believe it is possible to overcome the shortcomings by using
the TOC method you describe. As you realize the links are lost when
you do the paste as text.

Where are the other columns coming from?

If you can do this programmatically once why not just run it again as
needed?

Sorry can't be of any help on this one.

Cheers
TonyS.
 

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