Skip to main content
Inspiring
April 22, 2025
Question

Find text by formatting and insert Cross-References

  • April 22, 2025
  • 3 replies
  • 1230 views

Hi everyone, I need a script to find text by formatting and insert Cross-references to content/Paragraph Text present in a Master page. So, all text found in the document with the formatting attribute paragraph style (e.g:) "Contents" applied must have its own cross-reference - the paragraphs in both places (in the document and master pages) match, but they're not linked. Any help will be greatly appreciated.

3 replies

Robert at ID-Tasker
Brainiac
April 22, 2025

@Rogerio5C09 

 

Why do you need something like that?

 

Robert at ID-Tasker
Brainiac
April 22, 2025

@Rogerio5C09 

 

Here is an example of the filtered out text structure of your document:

 

 

As you're working on Windows - I can give you access to my tool for a few days for free - I'll even help you create Tasks.

 

But again - why do you need to Cross-Ref to something on the Master?

 

Or if you plan on doing it as buttons - here is object structure of your document:

 

 

Inspiring
April 22, 2025

Hi @Robert at ID-Tasker, the blue buttons on pages 1-4 are not in the Master Page because they are also headings in the original document. If I just remove them and use the ones from the master, the headings disappear from the automated TOC, which is not ideal. Adding Cross-References is work around here, a way to keep them linked to the "Master buttons", maintaining the headings in the TOC.

m1b
Community Expert
April 22, 2025

Hi @Rogerio5C09 you'd need to post an example .indd document showing before and after, so we'd understand *exactly* what you want.

- Mark

Inspiring
April 22, 2025

Hi @m1b, thanks for checking! 🙂 Please find INDD files attached - in the "after" document, you will find the cross-reference for each text/paragraph already set in the Cross-References panel.

Willi Adelberger
Community Expert
April 22, 2025

You can create multiple cross references FROM a masre/parent to content on pages. But it is impossible to link. Ross references TO master/parents  the master/parent will appear on several pages in the fresulzing document but a cross reference can only lead to a single target.