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

Repeated Volume Numbers in Index

New Here ,
Feb 12, 2017 Feb 12, 2017

I have a three volume book, whose pages are in the form I:1, I:2...II:1, II:2...III:1, III:2... My problem is the index to the three volumes, which looks like this: topic I:23, I: 34, I: 245, I:450, II: 345, II: 451, III: 24, III: 45 and so forth. Can I somehow remove these repeated volume numbers so that I get a normal (and much less cluttered) multi-volume index, namely "I: 23, 34, 245, 450; II: 345, 451; III: 24, 45"?

TOPICS
Scripting
3.0K
Translate
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

correct answers 1 Correct answer

Engaged , Feb 22, 2017 Feb 22, 2017

Dropbox - Multi-volume Index.jsx Script updated, now it works, at least with the file you sent me, but this index list is long - there are over 5 000 instances that need to be checked/sorted and formatted the way you like, so it takes time... in my computer with core i5 processor (4 cores, 3.5 GHz), 20 Gb ram, and Windows 10 it took me 2.5 minutes to complete (you need to wait till you get message "Done!" or some error).

So I suggest splitting this index into the smaller pieces - run script on th

...
Translate
LEGEND ,
Mar 15, 2017 Mar 15, 2017
LATEST

Hi,

Take a look at:  Code to be evaluated! [017] Double loop! …  [Post#5]

(^/) 

Translate
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