Skip to main content
Participant
March 12, 2024
Question

TOC question, before i start to struggle

  • March 12, 2024
  • 2 replies
  • 129 views

Hi there,

im rather new to creating a TOC, but i get along most of the time.

But im running into problems, so here is a question essential to upfront:

 

Can a subtopic on page 3 be part of the topic-A-root, although its on page 3 and gets interruped by topicB and subtopicB ?

TOPIC A
-SubtopicA1..................P1
-SuptopicA2..................P3

TOPIC B
-SubtopicB..................P2

 

This topic has been closed for replies.

2 replies

Robert at ID-Tasker
Legend
March 12, 2024

@FPJan 

 

If you could use Char/ParaStyles to distinguish which text should be part of which Topic - it could be scripted.

 

James Gifford—NitroPress
Legend
March 12, 2024

I'm not 100% sure I grasp what your goal is, but the short answer is likely "no." Most TOC generators in most apps, and in InDesign, are no more than a linear listing of selected objects. If you tag, say, Chapter Heading, Heading1 and Heading@ as your TOC levels, the TOC will be generated from the linear order of those headings it encounters.

 

You can always edit a TOC after generation, and move, say, a third-level head to a prior section. I find that I have to do some tweak on about half the TOCs I create, just as the simpler alternative to very complex heading and TOC setup.

 

The Cross-Reference feature in InDesign is much more flexible and often used to replace the rigid TOC and Index features, but whether or not it could be used to set up this nonlinear TOC result automatically, I don't know. Read through help and tutorials on Cross-Refs to see if a solution becomes apparent. (Xrefs are very complex and it would basically take the entire content of those help/tutorial pages to try to give you a starting point; feel free to ask further questions once you're oriented on how Xfefs work.)