Notes & citations

A footnote where the caret is, a citation picked rather than typed, and a bibliography brought in from the manager you already use. All of it is Markdown in your prose, so nothing here is a format only Sgeulai can read.

Footnotes and endnotes

Four commands, all on the Format menu:

CommandWhat it does
Insert Footnote⌃⌘8Writes a marker — [^fn1] — at the caret, and a matching [^fn1]: line at the end of the section, with the caret left in it.
Insert Endnote⌥⌃⌘8The same, with a doubled caret: [^^en1]. That second caret is the whole difference between a footnote and an endnote.
Check Footnotes…⌃⇧⌘8Reports markers with no definition and definitions nothing refers to. A clean section says Footnotes look good — every reference has a definition and every definition is used.
Insert Citation…⌃⌘9Opens the picker below.

You can also write them by hand: text[^1] with [^1]: the note, or inline as ^[the note]; a second caret makes either an endnote. Footnotes are numbered 1, 2, 3 and endnotes i, ii, iii when the book is previewed or exported, whatever labels the markers carry — the labels are for you.

Citing a source

Insert Citation… lists every Source record that has a citekey. Filter by citekey, title or author, fill in Page or other locator if you want one, and the citation goes in at the caret as [@montgomery1908] or [@montgomery1908, p. 33].

Its Zotero tab searches your Zotero library instead, and files the reference as a Source record as you cite it. For several works in one citation, write it out: [see @citekey, p. 33; @other, chap. 2].

The Insert Citation sheet. A two-way switch reads "This Project", selected, and "Zotero", over a "Page or other locator" field showing the placeholder "e.g. 33, or chap. 2". Below a search field holding the typed letters "zote", one result: the citekey "@centerforhistoryandnewmediaZotero" in blue monospace, the author "Center for History and New Media" beside it, and the title "Zotero Quick Start Guide" underneath. The citekey is shown first, and in the face your manuscript will hold, because the citekey is what gets written in.

Citekeys are part of the Source record — see The Story Bible. A record you typed yourself has none until you give it one, and until then it isn't in the picker.

Bringing a library in

Three commands on the toolbar's Import menu:

See Importing and exporting for the rest of that menu.

How Sgeulai reaches Zotero

With Zotero running on this Mac, it finds the library by itself — nothing to set up. Zotero has to be willing: if it answers "Zotero is running, but doesn't let other apps read it", turn on Settings ▸ Advanced ▸ Allow other applications on this computer to communicate with Zotero in Zotero itself.

With Zotero closed, or from an iPad, it needs a Zotero Web API key — Settings ▸ Writing, and see Settings reference. The key is kept in your Keychain and follows your iCloud account, so it only has to be pasted once.

How they come out

Export ▸ Notes & Citations… holds the settings, and they belong to the project rather than the Mac, so they travel with the book to the iPad.

The Notes & Citations sheet. Three pickers at the top: "Footnotes go" and "Endnotes go", both set to "At the end of the book", and "Numbering" set to "Restart each chapter", under a paragraph explaining the one- and two-caret syntax and that footnotes number 1, 2, 3 and endnotes i, ii, iii. A "Citations" group below holds Style set to "Chicago (author–date)", an "Import a CSL Style…" button, and "Word citations" set to "Live for Zotero when a source is from Zotero", over a paragraph on the citation syntax and a line crediting citeproc-js to Frank Bennett. Both kinds are set in one place because the choice only means anything as a pair.

In a Word export, notes set to the foot of the page become Word footnotes and notes set to the end of the book become Word endnotes; notes set to the end of each chapter are listed after that chapter, since Word numbers its notes straight through. EPUB, PDF and RTF have no page foot, so footnotes there go at the end of the chapter.

Preview first. Export ▸ Preview Manuscript… formats the citations and builds the reference list without writing a file, which is the quickest way to see that a citekey went in right.