• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
11

long document with heading numbering - create index which is referencing paragraph heading numbers

New Here ,
Nov 20, 2023 Nov 20, 2023

Copy link to clipboard

Copied

Hello dear community. I'm working on company quality manuals. all paragraphs having their respective styles and heading paragraphs having numbering like 2.1.2.3. Right under each numbered heading paragraphs i have a line "Reference: ..." with (cross) reference to applicable rule making. I placed  all the rulemaking references first in an Excel. sheet. Then conferted that to word doc to have a list with Index words. Imported this list, generated the indexing and getting an Index in the document where the Page Numbers are referenced. So far so good. However, I need to have a reference to the numbered Heading paragraph instead the page number. Indesign doesn't not support this out of the box. I'm looking for a script that can do this.

 

 

TOPICS
Scripting

Views

256

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2023 Nov 23, 2023

Copy link to clipboard

Copied

You're not likely to find one. It can be scripted, but it's not trivial.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2023 Nov 23, 2023

Copy link to clipboard

Copied

quote

You're not likely to find one. It can be scripted, but it's not trivial.


By @Peter Kahrel

 

With my tool - it's piece of cake...

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2023 Nov 23, 2023

Copy link to clipboard

Copied

Can you upload sample INDD file ?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 23, 2023 Nov 23, 2023

Copy link to clipboard

Copied

Before - with Variables:

RobertTkaczyk_0-1700777746129.png

 

After converting "Variables to Text"

RobertTkaczyk_1-1700777784959.png

 

But this would require two steps:

1) overriding TFs with Running Header on all pages

2) conversion of Variables to Text.

 

Of course, the whole process would have to be done on the copy of the file - and repeated every time you update your text - siginificantly.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

Well, Robert, converting paragraph numbers to text is a piece of cake whichever way you do it. The non-trivial bit is doing an index with those paragrapoh numbers as locators.

 

@FRIdNGE showed a script that does that, but I can't find the post. It wasn't too long ago.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

I was talking overall - but only when using my tool... 

 

Otherwise, with "pure" scripting - you need to do a lot of extra coding and consulting with the user... 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 24, 2023 Nov 24, 2023

Copy link to clipboard

Copied

LATEST

There is one more EXTREMELY BIG ADVANTAGE of my tool... and I'm using it internally already to speed up some of the "rules" ... but not advertising it too much... but maybe I should... 

 

My tool can be used to "prepare" list of objects to process - which list can be prepared much easier than through scripting - then, DoScript() can be executed as a "rule" / command, with a custom / external VBA / JS script...

 

And when you also add to the mix CONDITIONAL execution of other Tasks / DoScript() ... 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines