<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Indexing a Range Rather Than Individual Pages</title>
	<atom:link href="http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php/rss2" rel="self" type="application/rss+xml" />
	<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php</link>
	<description>InDesignSecrets Blog and Podcast</description>
	<pubDate>Fri, 21 Nov 2008 00:00:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: David Blatner</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-469882</link>
		<dc:creator>David Blatner</dc:creator>
		<pubDate>Mon, 03 Nov 2008 13:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-469882</guid>
		<description>@Roland: I agree with you about Excel... it can be maddening!</description>
		<content:encoded><![CDATA[<p>@Roland: I agree with you about Excel&#8230; it can be maddening!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-469881</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Mon, 03 Nov 2008 13:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-469881</guid>
		<description>Just wanted to say I officially hate MS Excel. Rather than saving into the text file only the selected fields or those that actually have content, it created 'entries' like this:
12345[space][tab]
12346[space][tab]

The second I figured that out, I did a find &#38; replace in the text file to replace [space][tab] with nothing and then ran the script again.
15 minutes later all 1846 items have been indexed.</description>
		<content:encoded><![CDATA[<p>Just wanted to say I officially hate MS Excel. Rather than saving into the text file only the selected fields or those that actually have content, it created &#8216;entries&#8217; like this:<br />
12345[space][tab]<br />
12346[space][tab]</p>
<p>The second I figured that out, I did a find &amp; replace in the text file to replace [space][tab] with nothing and then ran the script again.<br />
15 minutes later all 1846 items have been indexed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-469877</link>
		<dc:creator>Roland</dc:creator>
		<pubDate>Mon, 03 Nov 2008 08:55:57 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-469877</guid>
		<description>I'm not sure if it's something I've done wrong or if I'm trying to do something InDesign (CS3) can't do, but using IndexBrutal to create an index for data that's entirely in tables doesn't appear to work. I ended up waiting a long time (at least it felt that way) to only get the same 1846 items I'd fed the script returned to me.
Is it because data inside tables can't be seen in the Story Editor?

I don't make indexes regularly (less than once a year actually), so paying for a plug-in that'll do the job is out of the question. But I really do need to get this index made before the end of the week...</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure if it&#8217;s something I&#8217;ve done wrong or if I&#8217;m trying to do something InDesign (CS3) can&#8217;t do, but using IndexBrutal to create an index for data that&#8217;s entirely in tables doesn&#8217;t appear to work. I ended up waiting a long time (at least it felt that way) to only get the same 1846 items I&#8217;d fed the script returned to me.<br />
Is it because data inside tables can&#8217;t be seen in the Story Editor?</p>
<p>I don&#8217;t make indexes regularly (less than once a year actually), so paying for a plug-in that&#8217;ll do the job is out of the question. But I really do need to get this index made before the end of the week&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sander Pant</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-466222</link>
		<dc:creator>Sander Pant</dc:creator>
		<pubDate>Thu, 03 Jul 2008 15:48:44 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-466222</guid>
		<description>I am currently making an index in a language with 14 declinations, (Estonian) so list of index entries should include too many of them to think about it. 
As the index consists of names, it is good to have index palette that lets you choose from list of previous entries where you want the new one to go. I.e. if I have Sander and Pant in text I can ctrl+U them and select "Pant, Sander, a clown" in the index entries sub-thing in the index  palette. Real shame that the index palette can not be resized and the scroll doesn't work.

As I am indexing single occurrences of names, and some of them are often mentioned it is necessary that I use the page ranges, instead of a paragraph of consecutive numbers.
Could the feat described in the original question be pulled with GREP?</description>
		<content:encoded><![CDATA[<p>I am currently making an index in a language with 14 declinations, (Estonian) so list of index entries should include too many of them to think about it.<br />
As the index consists of names, it is good to have index palette that lets you choose from list of previous entries where you want the new one to go. I.e. if I have Sander and Pant in text I can ctrl+U them and select &#8220;Pant, Sander, a clown&#8221; in the index entries sub-thing in the index  palette. Real shame that the index palette can not be resized and the scroll doesn&#8217;t work.</p>
<p>As I am indexing single occurrences of names, and some of them are often mentioned it is necessary that I use the page ranges, instead of a paragraph of consecutive numbers.<br />
Could the feat described in the original question be pulled with GREP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Nordby</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-409658</link>
		<dc:creator>Klaus Nordby</dc:creator>
		<pubDate>Thu, 22 May 2008 14:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-409658</guid>
		<description>I've now been in frequent email contact with Marc, who's very kindly sent me beta versions of "scripts pertaining to indexing" -- including proper sorting of the Dano-Norwegian alphabet.  He's doing terrific work in this field, and I'm very grateful to him -- and I just wanted to publicly pat his back a little. Do go to his website and try out his indexing script -- it rocks! (As does the other scripts he's working on.)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve now been in frequent email contact with Marc, who&#8217;s very kindly sent me beta versions of &#8220;scripts pertaining to indexing&#8221; &#8212; including proper sorting of the Dano-Norwegian alphabet.  He&#8217;s doing terrific work in this field, and I&#8217;m very grateful to him &#8212; and I just wanted to publicly pat his back a little. Do go to his website and try out his indexing script &#8212; it rocks! (As does the other scripts he&#8217;s working on.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mostafa</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-408603</link>
		<dc:creator>Mostafa</dc:creator>
		<pubDate>Wed, 21 May 2008 13:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-408603</guid>
		<description>Hi
I need uknow aboutAUTOMATIC  PAGING
of Indesign .
 PLEASE HELP me</description>
		<content:encoded><![CDATA[<p>Hi<br />
I need uknow aboutAUTOMATIC  PAGING<br />
of Indesign .<br />
 PLEASE HELP me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Nordby</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406637</link>
		<dc:creator>Klaus Nordby</dc:creator>
		<pubDate>Mon, 19 May 2008 22:47:51 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406637</guid>
		<description>Thanks, Marc, for your explanations. I'll email you privately soon.</description>
		<content:encoded><![CDATA[<p>Thanks, Marc, for your explanations. I&#8217;ll email you privately soon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406618</link>
		<dc:creator>Marc</dc:creator>
		<pubDate>Mon, 19 May 2008 22:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406618</guid>
		<description>Sacha, Klaus, Thanks for all your comments and suggestions. I don't want my script to "engulf" this discussion, so I'll try to answer shortly:

"Add several levels to the index" ? Just an idea: set to false the SORT_TERMS var in the script and try to use a custom tab marker (§ for example) in the TERM syntax:
key1&#124;section
key2&#124;§sub-section
key3&#124;§§sub-sub-section
...
After index generation, replace § by tab (\t).

"keeping the number of occurrences of each word in the text"? Very possible, but you've to hack the script (before a next version). Try to deal with the TIndexList.prototype.scanPages() method. The number of current term occurrences is results.length...

"alphabetic sorting mechanism"? You're right, the Scandinavian specific alphabet (and probably other ones!) is mistreated. Universal sort is a hard problem! The script overwrite the default Javascript Array.sort() method (awfully based on Unicode numeric codes!). I explain here how to improve it : http://marcautret.free.fr/geek/indd/indexbrut/#S6
As you see, French words (with diacritics) are correctly sorted by IndexBrutal (because that's the alphabet I know). The static properties String.DIAS and String.DIAS_TO_ASCII provide a Unicode-to-Ascii "immersion" used by the smartAlphaComp() function. We could adapt or extend this code in a more universal way, but that's not so simple. From one language to the other, a same Unicode character does not take up the same rank in the alphabet... (I suppose.)

For continuing privately the dissussion: marcautret[[at]]free[[dot]]fr</description>
		<content:encoded><![CDATA[<p>Sacha, Klaus, Thanks for all your comments and suggestions. I don&#8217;t want my script to &#8220;engulf&#8221; this discussion, so I&#8217;ll try to answer shortly:</p>
<p>&#8220;Add several levels to the index&#8221; ? Just an idea: set to false the SORT_TERMS var in the script and try to use a custom tab marker (§ for example) in the TERM syntax:<br />
key1|section<br />
key2|§sub-section<br />
key3|§§sub-sub-section<br />
&#8230;<br />
After index generation, replace § by tab (\t).</p>
<p>&#8220;keeping the number of occurrences of each word in the text&#8221;? Very possible, but you&#8217;ve to hack the script (before a next version). Try to deal with the TIndexList.prototype.scanPages() method. The number of current term occurrences is results.length&#8230;</p>
<p>&#8220;alphabetic sorting mechanism&#8221;? You&#8217;re right, the Scandinavian specific alphabet (and probably other ones!) is mistreated. Universal sort is a hard problem! The script overwrite the default Javascript Array.sort() method (awfully based on Unicode numeric codes!). I explain here how to improve it : <a href="http://marcautret.free.fr/geek/indd/indexbrut/#S6" rel="nofollow">http://marcautret.free.fr/geek/indd/indexbrut/#S6</a><br />
As you see, French words (with diacritics) are correctly sorted by IndexBrutal (because that&#8217;s the alphabet I know). The static properties String.DIAS and String.DIAS_TO_ASCII provide a Unicode-to-Ascii &#8220;immersion&#8221; used by the smartAlphaComp() function. We could adapt or extend this code in a more universal way, but that&#8217;s not so simple. From one language to the other, a same Unicode character does not take up the same rank in the alphabet&#8230; (I suppose.)</p>
<p>For continuing privately the dissussion: marcautret[[at]]free[[dot]]fr</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blatner</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406338</link>
		<dc:creator>David Blatner</dc:creator>
		<pubDate>Mon, 19 May 2008 21:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406338</guid>
		<description>Gabriel (#7 above): No, unfortunately, you cannot make an index based on character styles in InDesign. I keep hoping that they will allow character styles in table of contents (like QX does), which lets you sort of fake what you want.

&lt;em&gt;[[edited july 08: Correction. &lt;a  href="http://indesignsecrets.com/building-an-index-using-character-styles-or-external-word-list.php" rel="nofollow"&gt;See this post.&lt;/a&gt;]]&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Gabriel (#7 above): No, unfortunately, you cannot make an index based on character styles in InDesign. I keep hoping that they will allow character styles in table of contents (like QX does), which lets you sort of fake what you want.</p>
<p><em>[[edited july 08: Correction. <a href="http://indesignsecrets.com/building-an-index-using-character-styles-or-external-word-list.php" rel="nofollow">See this post.</a>]]</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Klaus Nordby</title>
		<link>http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406414</link>
		<dc:creator>Klaus Nordby</dc:creator>
		<pubDate>Mon, 19 May 2008 16:53:20 +0000</pubDate>
		<guid isPermaLink="false">http://indesignsecrets.com/indexing-a-range-rather-than-individual-pages.php#comment-406414</guid>
		<description>Marc, not to rain on your great parade, but I've found a bug. The alphabetic sorting mechanism doesn't know what to do with the Scandinavian æøåÆØÅ characters, so words with those letters are sorted . . . weirdly (e.g., "o" and "ø" are mixed together). 

I've not checked with other non-standard characters (from a French and English perspective!), but it's conceivable that letters used in other languages might also be sorted . . . weirdly? 

I can easily sort the lines of your TXT file properly in a text editor, so this bug is no great problem for me -- but I thought I'd tell you and others about my finding.</description>
		<content:encoded><![CDATA[<p>Marc, not to rain on your great parade, but I&#8217;ve found a bug. The alphabetic sorting mechanism doesn&#8217;t know what to do with the Scandinavian æøåÆØÅ characters, so words with those letters are sorted . . . weirdly (e.g., &#8220;o&#8221; and &#8220;ø&#8221; are mixed together). </p>
<p>I&#8217;ve not checked with other non-standard characters (from a French and English perspective!), but it&#8217;s conceivable that letters used in other languages might also be sorted . . . weirdly? </p>
<p>I can easily sort the lines of your TXT file properly in a text editor, so this bug is no great problem for me &#8212; but I thought I&#8217;d tell you and others about my finding.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
