Endnotes
Google Apps script to create endnotes from footnotes in a Google Document
Install / Use
/learn @bennettscience/EndnotesREADME
Endnote Generator
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.
Use
This is a Google Docs AddOn, so it's easiest to add from the AddOns store in Drive.
Current Version
Current - v0.5 - Footnotes on images are now preserved when converted.
v0.4.7 - Endnotes now retain formatting.
AddOn v0.4 - bug fix to repair the "Run" menu not appearing.
v0.1 - AddOn published
Other Uses
If you want to install and run on a single document, 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. - Name the script "Endnotes", save the file, and close the tab.
- Reload your document.
- There is a new menu item called "Create Endnotes." Use it to run the script.
Known issues
- 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.
License
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.
Related Skills
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
