How can I make an alphabetically sorted table of contents in InDesign that excludes initial "the" or "a"?
For example, so that "A Bear" or "The Bear" goes in the "B" section and not under "T" or "A"?
Yes, I do understand how this works in an index. I am asking if there's a way to do it with a TOC. I have a book that is set up with paragraph styles for titles of poems. I would like to create an alphabetical table of contents. I do not want to have to go back and add index markers for 300+ poems since the text I want to use already has a unique paragraph style.
Yes, I've seen this post, but using this method gives me the same default options as any other TOC (which is already what I'm doing). I'm asking SPECIFICALLY how to exclude words like "the" from the sort? Perhaps there is a script I can use that will let me do this to the TOC once I've already placed it?
There's a sample script that sorts paragraphs alphabetically, though it doesn't have the option to exclude an initial article. I'd bet, though, that it could be modified to do so. You might want to ask over in scripting...
Call me lazy, but this site seemed to do the trick, by selecting "ignore definite and indefinite articles." Would be great if Adobe could include this as a standard sorting option and save me the cutting and pasting, since this is pretty standard practice in alphabetical lists, at least in English and other Romance languages.
> Call me lazy, but this site seemed to do the trick, by selecting "ignore definite and indefinite articles."
So? Go ahead and use it, then. Why bother asking over in the Scripting forum, when you already found a workaround?
Why bother asking over in the Scripting forum, when you already found a workaround?
I didn't find this workaround until just now, and I'm not planning on asking in the scripting forum. I just wanted to make sure I wasn't overlooking an obvious solution built into InDesign already.