Script to change false endnotes into real ones
I have a long publication with ~200 endnotes that have all been set in Text as a number in brackets "[n]" and would like to create a script that simply
- searches for a one ore more digits in square brackets
- and replaces each one by an endnote
I'm fine copy-pasting each endnote by hand later but so, those endnotes can just be empty to start with.
I have no experience with indesign scripts and my trials so far were unsuccessful due to lack of documentation by adobe (a ton of dead links)…
I first tried using a GREP search and replacement but there's no way to add an endnote automatically in GREP…
Can anyone help?