Ive been searching for this solution.
We produce an annual directory of about 600 companies, separated into about 40 separate sections (categories) spread out over maybe 80 pages. Each company name is either tagged “SubHead1” or SubHead2” – I need to create an index of these two style tags.
I cant seem to figure this out!
Until this year, this was done in PageMaker 7 and it was easy.
We use InDesign to produce the multiple monthly publications but never once for a directory and our department people are all confused at the task of creating this very simple index based on 2 Style tags.
PLEASE HELP!
We produce an annual directory of about 600 companies, separated into about 40 separate sections (categories) spread out over maybe 80 pages. Each company name is either tagged “SubHead1” or SubHead2” – I need to create an index of these two style tags.
You mean "paragraph style" when you say "style tags," right? If so, then the TOC method is probably your best bet. There's a remote chance that you mean "character styles" or "XML tags" or "markup in IDML" or "We were using the XTags plugin in PageMaker" or whatever; if that's the case, then the TOC probably won't work for you.
http://help.adobe.com/en_US/indesign/cs/using/WS49FB9AF6-38AB-42fb-B05 6-8DACE18DDF63a.html
Ive been following this and the answer this is not clear. What yim doign is simple, why is so difficult?!
Company names are character styled either Subhead1 or Subhead2.
Arch of the sections have an alphabetical listing of these 600 companies.
I simply need it to seach the enitre 100 page document, sort the character styles and create the TOC
Ace Backstage 17, 21, 35
AMX 18, 25, 47
DVI 17, 35, 65
and so on...
Ive gotten every concievable thing but this!!
Its a 1 time thing, in Pagemker is was easy and fundamental; with inDesign its.....
I have a gun to my head, need to get this workign at all cost!!
Thanks everyone.
I think that I have a solution for you - I didn't even test it, I just assumed that the Internet would tell me how to make an index from character styles in InDesign. Lo and behold:
http://indesignsecrets.com/building-an-index-using-character-styles-or -external-word-list.php
Give it a shot, don't give up if it doesn't work the first time out (especially if you're not familiar with scripting or with InDesign)
CORRECTION: The Company names are indeed "Paragraph styled" either Subhead1 or Subhead2 and NOT character styled as I was told.
The reason for Subhead1 and Subhead2 is one is bol the other not. For the TOC or index the company names are all in a different style (small point, normal)
I simply need it to seach the enitre 100 page document, sort the paragraph styles and create the TOC
Ace Backstage 17, 21, 35
AMX 18, 25, 47
DVI 17, 35, 65
and so on...
I'll reading on....
Thanks again!
I managed to get this generated this TOC from the 2 paragraph styles.
Just need the page numbers combined for each...
| 1602 Group TiMax | 24 |
| 1602 Group TiMax | 35 |
| Above ALL Lighting / ALL BULBS.com | 16 |
| Above ALL Lighting / ALL BULBS.com | 34 |
| Above ALL Lighting / ALL BULBS.com | 38 |
| ACE Backstage Co., Inc. | 16 |
| Acoustical Resources, Inc. | 18 |
| Acoustics First | 18 |
| Adamson Systems Engineering | 54 |
| Adamson Systems Engineering | 78 |
| Adaptive Video Walls and Displays | 82 |
| Adaptive Video Walls and Displays | 29 |
| Adder Corporation | 82 |
| ADFLOW Networks Inc. | 38 |
| ADI | 16 |
| ADI | 19 |
| ADI | 21 |
| ADI | 24 |
| ADI | 27 |
| ADI | 29 |
| ADI | 33 |
| ADI | 34 |
| ADI | 35 |
| ADI | 38 |
| ADI | 43 |
| ADI | 44 |
| ADI | 46 |
| ADI | 47 |
| ADI | 48 |
| ADI | 48 |
| ADI | 49 |
| ADI | 50 |
| ADI | 51 |
| ADI | 53 |
| ADI | 54 |
| ADI | 58 |
| ADI | 61 |
| ADI | 67 |
| ADI | 68 |
| ADI | 71 |
| ADI | 72 |
| ADI | 74 |
| ADI | 75 |
| ADI | 78 |
| ADI | 78 |
| ADI | 80 |
| ADI | 81 |
| ADI | 82 |
| ADI | 82 |
| ADI | 88 |
| ADI | 91 |
| Adtec Digital | 83 |
| Advantage Products | 43 |
| Advantage Products Enterprise Inc. | 51 |
| AEI Components | 38 |
| AKG Acoustics | 34 |
| AKG Acoustics | 61 |
| AKG Acoustics | 64 |
Here's a GREP Query you can use to combine all the successive listings for each vendor into a single item:
Find:
^(.+ )([\d, ]+)\r\1([\d, ]+)$
Change:
$1$2, $3
This will list the name once, and separate all the page numbers with commas (it won't do x-y ranges, only commas, so you may still want to do somem anual editing). Thanks to Peter Kahrel for writing the Query for me several years ago.
I had forgotten yesterday that the query above only works on two lines at a time and that the other Peter also wrote a script to run it continuously until there are no more matches.
You can find that script at http://forums.adobe.com/message/3955951#3955951
North America
Europe, Middle East and Africa
Asia Pacific