Thread View: adobe.scripting.indesign
3 messages
3 total messages
Started by James M Wright
Wed, 07 Jan 2009 16:18
Generating An Index
Author: James M Wright
Date: Wed, 07 Jan 2009 16:18
Date: Wed, 07 Jan 2009 16:18
2 lines
791 bytes
791 bytes
Can someone tell me the exact syntax (for VBS) to generate an index (the kind in the back of a book). Once it is generated can you tell me how to locate it via scripting. I am new to this and having a lot of trouble. Thanks in advance for the help. Jim Wright
Re: Generating An Index
Author: Noel Burgess
Date: Wed, 07 Jan 2009 16:41
Date: Wed, 07 Jan 2009 16:41
21 lines
1949 bytes
1949 bytes
That's a pretty tall order! In my experience, the first step in creating an index is to create the list of keywords. This is a job which can't be automated unless you can somehow tell a script which words to ignore. I've usually exported the whole text and opened it in Word, because there are a lot of useful scripts about which will then generate a list of unique words in the document. (Perhaps someone will be along with a reference to one for Indesign.) This you (or the author, if that's not you) will have to go through this list word by word, deleting the ones that are not to be indexed. You have to be aware of capitalization, too, to avoid registering every instance of, say, 'street' while retaining those that refer to a place called Street. There are other things to watch for, too, like word variants (plurals, possessives and so on). Once your word list is complete, you can use a script like Marc Autret's indexbrutal ( http://marcautret.free.fr/geek/indd/indexbrut/ ) to find each instance of your keywords and put the references in your index. It will then have to be checked again visually, so it's a long and tedious process. -- Noel
Re: Generating An Index
Author: James M Wright
Date: Thu, 08 Jan 2009 01:55
Date: Thu, 08 Jan 2009 01:55
4 lines
838 bytes
838 bytes
Noel: Thanks for the reply. InDesign will do the indexing automatically. Follow the menus: Window/Type&Tables/Index and in the index panel pulldown click on generate index. What I am trying to do is accomplish this via scripting. Thanks. Jim
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads