I would like to be able to insert a variable in the contents page number location, which can be pointed at a specific PDF, or JpG or Tiff or other object, that will return the page number of where this object is in the magazine, even though it may be been flowed or even moved to a different location.
Is this currently possible in IDCS? if so how is it done? If not, could this a feature request for the next update please?
1. Create a unique paragraph style to use only for ad tags.
2. For every ad add a grouped (so it will move with the ad), NON-PRINTING, text frame, and type the advertiser name as you want it to appear in the TOC (advertiser indexes are really a second TOC). If you want to sort by service area or something like that:
3. Create a numeric hierarchy for the various areas and use the number to start each ad tag, followed by something like an em or en space that isn't going to be the first character of any text you want to keep. You can use a GREP search after you make the TOC to remove the heirarchy numbers and the delimiter (could even be a Tab, I suppose).
When you create the TOC you need to include non-printing frames in the search.
This is not yet tested, so you can be a guinea pig and let me know how it works.
Peter
HTH
Regards,
Peter Gold
KnowHow ProServices
Don't cross-refs need to point to text anchors of some sort?
Peter
Don't cross-refs need to point to text anchors of some sort?
Yes, but that's not the only way. They can also point to paragraphs.
BTW, cross-references can point across files, not just within files.
HTH
Peter
Peter
I am not sure I follow your instructions. However I can say that the index I use is split into contents and advertisers. As I said initially, Ideally I want to able to insert a variable that will return the page number of a specific reference point. Is there a scripting solution to this problem that will work in CS3 or do I need CS4.
Something like (get page number for Ref #### where Ref #### is possibly inserted as a grouped object with the pdf or jpg I am trying to return the page number of.
I'm not a scripter, but a TOC does what you want to do, i.e. it gets page numbers for every occurrence of any paragraph style you include (hence the unique style for the ad tag frames), and it can be updated easily when you move things.
Peter
Peter
Could this method also work for references within text e.g See page # for details?
This is working. I have created an advertiser style, I have included the name of the advertiser in the text box and placed the text box within the pdf/image frame. You must turn off text wrapping on the image and place the advertiser name text behind the image as overset text, otherwise it does not show in TOC. This may be problematic later on.
It has worked with one advertiser, I will now try to include all.
Thanks again
Also, is there a way to change the tabs in the TOC so that page numbers remain right aligned. I have formatted the list with tabs but when I update or refresh the TOC, it reverts to a different tab arrangement.
Had to go to bed, but I'm back.
For CS3 and earlier, cross references in text can be handled using hyperlinks and a script written by Teus de Jong: <http://www.teusdejong.nl/indesign/crossrefs.zip>
No need to turn off text wrap on your images. Open the text frame options for the tag frame and check the "Ignore Text Wrap" box. Add this to the object style.
Personally, I would do the advertisers in their own TOC (you can have as many as you want, just give each one a unique TOC Style name) so that you can list articles in page number order and advertisers in alpha order. If you combine the two, you have to live with one order.
The tab position and alignment should be defined in the style used to make the TOC listing itself (as opposed to the style that is picked up for inclusion). Have you read the help section on TOC construction?
Peter
Thanks for your help, I will look up that script you mentioned.
I agree about separating advertisers, that is what I have now done, I noted the Sort Alphabetical option, which fixed that issue and I have fixed the tab alignment as well. The only niggling thing left is that I get a paragraph return at the end of my TOC list which I would rather was not there. Not sure how to get rid of it. Thanks for tip on "ignore text wrap" as well.