🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1732

Re: [CS4 JS] Scripting Indexes

#1732
From: Rick_Quatro
Date: Wed, 28 Jan 2009 13:47
7 lines
1311 bytes
Peter,

Yes, I am trying to mimic "Generate Index". My client has a book with a large number of index entries. The index is taking about 4 hours to generate, and then it dies with an error message about an invalid character. I don't have the exact error message right now, but apparently this is a known issue with large indexes.

So my goal is to roll my own index generator. Right now I am using an array of objects for the index entries. Each object has two members: entry, which is the index entry itself; and pages, which is an array of page numbers. Once I collect all of the entries in the book, sort them, and sort and remove duplicates from the page numbers, I should be able to write the index.

Rick
Technical Details
Message-ID: <59b7ae01.16@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <59b7ae01.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,6b07b633d95c342d
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Rick_Quatro@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [CS4 JS] Scripting Indexes
Message-ID: <59b7ae01.16@webcrossing.la2eafNXanI>
Date: Wed, 28 Jan 2009 05:47:37 -0800
References: <59b7ae01.-1@webcrossing.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit