Google documents do not allow you to create linked endnotes in a document. This Google Apps script looks for existing footnotes in a doc and creates an endnotes section from that content.
This is a Google Docs AddOn, so it's easiest to add from the AddOns store in Drive.
If you want to install and test, do the following:
- Open the document you'd like to create endnotes in.
- Go to Tools > Script Editor and delete the default
functiontext in the editor.
- Copy the
footToEnd.gsscript and paste it into the editor.
- Create a new HTML file in the editor and title it
- Click on Publish > Test as add on
- Change the isntall configuration to Test with latest version and Installed and enabled. Select a document and click Save.
- It only loops through
paragraphelements in the doc, so if you have a footnote on an image, it's going to throw an error.
- Creating endnotes removes all footnotes from the document, meaning if you go back and add a footnote, it starts over with 1.
This is provided AS IS under the MIT Open License.
It was a fun little project and not something I plan on really improving a lot more. Feel free to fork and update however you'd like.