Renumbering static note reference numbers (GREP?)

Learn / Forums / InDesign Add-ons (Scripts, Scripting, and Plug-ins) / Renumbering static note reference numbers (GREP?)

Viewing 5 reply threads
  • Author
    Posts
    • #75608
      David Peattie
      Participant

      I’ve been given an InD file with a large number of endnotes. These are static, endnotes, not linked in any way (cross references, etc.). The InD file is the second portion of a document and the endnotes (and corresponding endnote references in the text) need to start at 325, not 1, as is currently the case.

    • #75609
      David Blatner
      Keymaster

      You could probably use this script somehow: https://creativepro.com/free-script-to-change-all-numbers-in-a-document-using-math.php

      For example, the script lets you target numbers in various ways, including with a grep expression, so you could find numbers that are immediately preceded by a letter in the text.

    • #75618

      Are the endnote numbers marked in any way, such as superscripted? If so, with a manual override? With a Character Style? The most optimal case would actually be if they all had a character style named “endnote” – in that case, it can be scripted without fear of accidentally changing “a² + b² = c²” to “a<sup>326</sup> + b<sup>326</sup> = c<sup>326</sup>” (which would be a problem, mainly because there are no such values for ‘a’, ‘b’, and ‘c’!).

    • #75621
      David Peattie
      Participant

      Thanks! I’ll check these out. (yes, the refs have char styles).

    • #75628
      David Peattie
      Participant

      Script worked great! Thanks David!

    • #79503
      Robert Wexler
      Participant

      I have a problem similar to this. I brought in a Word document with endnotes gathered at the end of the book. Numbering restarted with each chapter. InDesign (CS3) brought them in but numbered them consecutively, in the text reference and at the end. Not sure how to use that script because my grep skills are pretty nonexistent. I would like to choose a range for a chapter, say 24-30, and convert them to 1-7. Should be easy, if I knew how…

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