Updating manual page no. references automatically?

Learn / Forums / General InDesign Topics / Updating manual page no. references automatically?

Viewing 6 reply threads
  • Author
    Posts
    • #71727
      James
      Member

      Good afternoon,

      I am updating a 150 page document, with multiple references to pages (for example ‘Please refer to page 35’).
      I have been asked to insert two additional pages at the beginning of the document, therefore I am looking for a simple way to update all ‘Please refer to page nn’ references to ‘Please refer to page nn+2’.

      I am using InDesign CS2, but am hopeful that it’s possible to automate this process. Otherwise, I shall have to increment each page reference manually.

      Thank you in advance!

    • #71728
      Alan Gilbertson
      Participant

      David will remember better than I do, but from what I recall CS2 did not have functioning cross-references, so it’s going to be either a custom script (perhaps Tomaxxi or Jongware will jump in here) or it will be a matter of updating by hand. Not the news you wanted to hear, unfortunately.

    • #71729
      James
      Member

      Thank you Alan.

      I am already preparing myself to use the Find/Replace function, with the following strings:

      page 150 –> page 152
      page 149 –> page 151
      page 148 –> page 150

      etc.

      I realised that it’s necessary to perform such an operation in reverse to prevent ‘double-adding’!

    • #71730
      Eugene Tyson
      Member

      Yes working in reverse is needed here.

      I’d also be inclined to add a character style with a thick underline

      Then search and replace “page” and apply the character style through the find/replace function.

      Makes it easier for checking when printed so you can easily find all occurrences.

      Although – if you upgrade to CC InDesign has built in cross reference function that would update them automatically.

    • #71732
      David Blatner
      Keymaster

      That’s what this script is for:
      https://creativepro.com/free-script-to-change-all-numbers-in-a-document-using-math.php

      But I’m not sure if it works in CS2. That’s very very old software.

      • #71749
        Alan Gilbertson
        Participant

        CS2 is where I came in, as far as InDesign is concerned. It seemed quite spiffy at the time… :) Funny how fast “state of the art” becomes quaintly antiquated.

    • #71751
      James
      Member

      Thank you for the additional replies chaps.

      Yes, I’m waiting to upgrade to a new shiny new machine that with Adobe CC installed. This current project will likely be one of the last I work on using CS2. It has served me well for 8 years or so! ;)

      David, thank you for linking the NumberAdjuster script. I gave it a try on a quick test document, but an error is thrown after clicking the ‘OK’ button – ‘Object does not support the property or method ‘findGrepPreferences’, which I assume indicates the script is not compatible with CS2. However, even if it does work, I cannot see how to update just the references with ‘page nn’, and not all numbers, as the wildcard only accepts single characters.

      So, it looks like I will be updating this document ‘by hand’, with the help of the Find/Replace dialogue box.

      Thank you for your suggestions!

    • #71752
      James
      Member

      Ah yes, according to the explanation in the script:

      “This InDesign CS3/CS4 JavaScript is intended to perform operations on found numbers. It uses the find/change Grep functions
      to find numbers within either the entire document, or just the selection. You can select to search for just numbers with
      a specific character style, and/or a prefix character.

      This script was written by Steve Wareham at stevewareham.com based on an idea by David Blatner at indesignsecrets.com”

      Oh well, not to worry! ;)

Viewing 6 reply threads
  • You must be logged in to reply to this topic.
>