Skip to main content
typegirl
Known Participant
October 10, 2017
Question

Is it possible to increase end note numbers by 1 using GREP?

  • October 10, 2017
  • 2 replies
  • 1137 views

In the beginning the MS was in Word and the end notes were footnotes. I converted these footnotes to end notes. Then I proceeded to format the book using InDesign. Only after completely my first pass at formatting did I notice that somehow an extra end note had been inserted as 1. So all are advanced +1. It is easy to re-import the endnotes with the correction. However all of the superscripted end note numbers are still wrong. I am dreaming of GREP helping me search for all superscript (opentype) numbers and advancing them by one.

Is this a fantasy? Can it be done?

This topic has been closed for replies.

2 replies

Colin Flashman
Community Expert
Community Expert
October 11, 2017

If the endnotes have a unique character style assigned to them, I'd recommend the price adjuster script by Peter Kahrel (the poster above) - InDesign: Price adjuster | Peter Kahrel his site explains it all.

If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
typegirl
typegirlAuthor
Known Participant
October 11, 2017

Thank you, Colin. That looks like it might have helped. I created my own mess. I should have been slower to review the text. Silly me for assuming the editor had reviewed for such things.

The actual endnotes were an easy fix because renumbering in Word happens automatically when you remove the errant note. It was within the text, which I'd already formatted (book form) that wasn't so easy. I was able to search/replace for all superscripted characters and replace with opentype superscript. Easy. But then I had to go, one at a time mind you, and manually change the number. But I've learned my lesson. Check the footnotes/endnotes first!

Obi-wan Kenobi
Legend
October 11, 2017

Next time, take a look before to Peter Kahrel's site or "How to manage footnotes/endnotes into InDesign!" in 1-click!

No need Grep! … Just because Peter uses cross-references and auto-numbering para style!!

(^/)

Obi-wan Kenobi
Legend
October 10, 2017

Hi,

Yeap! it can be done!

How do you convert the footnotes to endnotes?

(^/)

Peter Kahrel
Community Expert
Community Expert
October 11, 2017

She did that in Word, Michel. Before placing the file in InDesign.