Copy link to clipboard
Copied
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?
Did you see the following discussion? Do the scripts mentioned there help?
-Manan
Copy link to clipboard
Copied
Did you see the following discussion? Do the scripts mentioned there help?
-Manan
Copy link to clipboard
Copied
Thanks Manan,
yes I did see the discussion but at first try it wasn't working for me. However I realised that the script does work once both the footnote marker AND the actual footnote are contained in the document. I did have to do some cleanup with GREP first but it eventually worked like a charm. Thanks again!
Best, Matt
Copy link to clipboard
Copied
Try to convert text to footnotes first, then convert footnotes to endnotes.
— Kas