52 Footnotes and Chapter Endnotes
Pressbooks supports automatic creation of footnotes (PDF) and chapter endnotes (PDF and EPUB/MOBI), as well as automatic conversion of MS Word footnotes & chapter endnotes. If you want to add end-of-book endnotes, you’ll have to do this manually.
Adding Footnotes or Chapter Endnotes Using the Footnote Shortcode
You can add a oras follows in either the TEXT editor OR the VISUAL editor:
Call me Ishmael.Some years
ago—never mind how long precisely...
This will automatically create a footnote (or endnote) with the text inside the [
You can achieve the same thing using the footnote button in the Visual editor. Place your cursor where you want your footnote marker to appear, selecting the footnote icon and adding your footnote text.
Automatically Convert MS Word or Open Office Footnotes or Chapter Endnotes
Pressbooks can also automatically convert your MS Word or Open Office footnotes or chapter endnotes for you.
To convert MS Word/Open Office footnotes/endnotes:
- Paste your Word doc/chapter with footnotes into Pressbooks.
- In the Visual Editor, find the little “window” icon beside the footnote icon
- Click and your footnotes should be converted.
- NOTE: This will leave some ellipses at the bottom of your chapter which should be deleted.
- After copying or importing Word doc, click Convert MS Word Footnotes button
Manually Adding End-of-book Endnotes
Pressbooks does not currently support automatic creation and numbering of end-of-book endnotes. If you do not need your endnotes to link back and forth (ideal for ebooks and web PDFs, but not necessary), then you can create your endnotes as follows:
- Add your endnote marker within your text in the Text editor as follows:
Call me Ishmael.1 Some years ago—never mind how long precisely...
- Create a back matter section called “Endnotes.”
- Enter your endnotes as you like, for instance:
1. This is one of the most famous opening lines in the English language.
If you need your endnotes to link back and forth then you need to create internal links, then do as above, with the following additions:
- Decide on how you will identify your endnotes and their markers. Here, we are using ‘endnote-1-marker’ for the marker, and ‘endnote-1’ for the endnote, but you can use any id, so long as they are used correctly and unique (e.g. ‘e1’ for the first endnote, and ‘m1’ for the corresponding marker).
- In the Text editor of your chapter, add the bolded link tag around your endnote marker number:
Call me Ishmael.<a id="endnote-marker-1" href="/back-matter/endnotes#endnote-1"><sup>1</sup></a> Some years ago—never mind how long precisely...
This creates both a link to the endnote (the ‘href’), and an id point so you can return to the body text from your endnote (the ‘id’).
- Next, in your endnote back matter, add the bolded link tag around the endnote number (again, in the TEXT editor).
<a id="endnote-1" href="/chapter/your-chapter-name#endnote-marker-1">1.</a> This is one of the most famous opening lines in the English language.
This does the same as the first tag, creating an id location that the first tag can link to, and a link back to the id location in the body of the text.
For more details on this, see our chapter on External and Internal Hyperlinks.
Want to see a video?
- This is one of the most famous opening lines in the English language. ↵