The script converts InDesign footnotes to dynamic endnotes. The notes are placed at the end of the story in which they occur. The endnotes are numbered using InDesign's paragraph number feature; the note references are cross-references linked to the notes. To add and delete notes using the dynamic notes, see Adding and deleting notes: managing cross-references.
The script works as follows. If a paragraph style is set in the Footnote Option window, the script uses that for the endnotes; if a footnote style has not been set, the script creates a new paragraph style (endnote) and uses that. Similarly, if a character style has been set in the Footnote Option window for the note references, that style is used by the script; if no character style was set, a new character style (endnote_marker) is created for the references. The new style uses the formatting set in the Footnote Option window at Position in the Footnote Reference Number in Text panel.
Because the endnote paragraph style is numbered, the script needs two paragraph styles: one numbered style for the first note, a second style for all subsequent paragraphs in the same note. If you had set a style in the Footnote Option window, say, Footnote Text, the script adds a new style Footnote Text numbered for the first, numbered, paragraph in a note and bases it on Footnote Text.
With nothing selected in the document, the script processes all stories and places the notes at the end of each story. If the stories becomes overset you'll need to resolve this manually. To convert the notes in just one story, select one of the story's text frames or just click in that story, then run the script.
The script has no interface. Open the document that contains the notes you want to convert and run the script.
It's not possible to convert a story's footnotes to endnotes, then add more footnotes to the same story and run the script again. You can run the script again only if all the footnotes are in a separate story. Then you can select that story and run the script.
12 Nov. 2012: (1) trailing returns in footnotes created problems during the conversion: fixed; (2) the script now tries to use the current footnote character and paragraph styles if they're in the document.
23 Jan. 2012: endnote numbering didn't always start at 1 (usually because of existing numbered lists); fixed. The script now also removes story-trailing white space and inserts a heading "Notes" between the text and the notes.
14 June 2010: added support for multiple stories and multiple paragraphs per note. (Thanks to Martin Fischer for pointing out the shortcoming.)
Questions, comments? Get in touch