Citations, references and books
Citations
Section titled “Citations”- Keep a
.bibfile (Zotero’s Better BibTeX can keep one up to date) or a CSL JSON file beside your notes. - Write
[@key]in a note. In the editor it reads “(Smith, 2020)”. Rest on it to see the source. - Type
@to list your library. - In Settings → Export → Citation style, choose APA 7, Chicago, IEEE, Vancouver, Harvard or MLA, or name a
.cslfile.
Exports format each citation and add the reference list in that style.
Cross-references
Section titled “Cross-references”Label a figure, table, equation or section with {#fig-map}, as in Quarto, and refer to it with @fig-map. The editor and every export show the same “Figure 1”. Turn numbering of equations, figures and tables on or off in Settings → Export.
A folder as a book
Section titled “A folder as a book”A book is a note whose list of wiki links gives the chapter order. Its front matter holds the book’s title, author, bibliography and style:
---title: My Book---
- [[Introduction]]- [[Chapter one]]- [[Chapter two]]- Open that note.
- Press ⌘K and choose Export as book….
- Pick PDF, Word, LaTeX or Web page.
You get parts, numbered chapters, figures numbered by chapter (“Figure 2.3”), lettered appendices and one reference list. Slides and Markdown aren’t offered for a book.
A list item with a nested list is a part. Links before the list are unnumbered front chapters, such as a preface, and links after it are appendices.
A book can also be published as a site, with a page for each chapter.