TOC Text Filtering...

M

ML

Is it possible to filter special characters from the TOC, LOF, etc?

We have special codes that are embedded into headers, figure captions ,etc
to indicate security levels of the item. These are autotext items with
embedded fields used to do auto page classification levels. In the text
they would show as say "(S)" at the end of a caption or header.

What I would like is to somehow exclude these when the TOC is generated, so
that it is not shown in the TOC text.

Any ideas on how one might accomplish this?
 
J

Jezebel

By the sounds of it, these special characters have no value to the ordinary
reader -- so can you not format them as hidden? In which case they'll be
hidden in the TOC also.
 
M

ML

No they need to appear in the body text, that is the problem. They are
there for both visual and coding purposes.
Is there perhaps some way to hide all these fields prior to the TOC update
and make them visible after? Just not sure how to reference them to do such
a thing and if it would work. There will be multiple ones all over the
document.
 
J

Jezebel

I think you're stuck with doing it manually: update the TOC, unlink the
field, remove the codes. Remember to rebuild the TOC if you edit the
document.
 

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