Article View: adobe.scripting.indesign
Article #2318Re: CS3 Javascript - finding the paragraph which contain the index page reference
From: Ola_Khrapatin
Date: Thu, 25 Dec 2008 20:22
Date: Thu, 25 Dec 2008 20:22
10 lines
1179 bytes
1179 bytes
Well, that is a good way to have the paragraph which contains the index marker. My problem is, that I want to find the index of this paragraph in the story. I mean, is it the 1st, 2nd, 3rd, or 4th (etc) paragraph in the story. The reason I need to find this index is that I want to use it in the option of setting a topic's page references page range according to a specific number of paragraphs. For example: INDEX Cat, 18 Dogs, 20-25 [from a paragraph on page 20, to a paragraph on page 25] How can I find the number of my paragraph?
Technical Details
Message-ID:
<59b75803.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b75803.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,4423827cf06ba747 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Ola_Khrapatin@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: CS3 Javascript - finding the paragraph which contain the index page reference Message-ID: <59b75803.1@webcrossing.la2eafNXanI> Date: Thu, 25 Dec 2008 12:22:51 -0800 References: <59b75803.-1@webcrossing.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit