Repository navigation
Citations and Styles
Anabasis formats citations with citeproc-js, the same engine Zotero and Mendeley use, and the Citation Style Language styles that go with it. You cite as you write; the notes and bibliography build themselves under the text, and you can change the style at any time without touching a single citation by hand.
- Put the cursor where the citation belongs, usually at the end of a sentence or clause.
- Choose Cite in the toolbar, or press Ctrl+Alt+C (⌘⌥C).
- Pick a source from the list. Type to filter it by author, title or year.
- Add a locator: the page, or another part of the work.
- Check the preview, which shows exactly how the citation will print in the document’s style.
- Choose Insert.

If the source isn’t in the project yet, add it in the Sources tab first (see Sources). The citation window lists only sources already in the project.
A locator says where in the source you’re pointing. Choose its kind from the menu beside the box: page, timestamp, chapter, section, paragraph, line, figure, table, volume, part, note, column, folio, verse or book. Each style abbreviates them its own way, so type just the number or range (45–47, IV.7, 00:12:30) and let the style add “p.” or “pp.” where it should.
A timestamp suits interviews, podcasts and video. Transcript notes fill it in for you (see Notes and the board).
Pick more than one source before you insert to make a combined note or parenthetical: “(Lee 2019, 12; Waterfield 2006, 88)”. Each source has its own locator. Use ↑ to change the order, and ✕ to take one out.
Each source in a citation also has:
- a prefix that prints before it, such as “see also” or “cf.”;
- a suffix that prints after it, such as “emphasis mine”;
- Omit author, for author-date styles when your sentence already names the author: “Tuchman argues (1962, 45)”.
Note text adds your own words to the note, after the citation:
Xenophon, Anabasis, IV.7. Dakyns places the mountain farther east.
Use *asterisks* for italics. In note styles (Chicago notes and bibliography, OSINT and the like) the words follow the citation in the same footnote. In author-date styles (APA, MLA, Chicago author-date, Harvard), the parenthetical stays in the text and your words become a numbered footnote. Either way they carry through to Word and PDF footnotes, and to e-book, web page, Markdown and Substack notes.
Click any citation (or its note number) to open it again. Change the sources, locators or note text, or choose Remove citation. Notes renumber themselves.
The footnote button in the toolbar adds a note in your own words, with no source. Text footnotes share numbering with citation notes. For anything with a source, use Cite instead, so the source is formatted properly and goes into the bibliography.
Notes and the bibliography appear under the text and rebuild as you write:
- Ibid. and short forms are handled for you. The first citation of a source is in full; later ones are shortened as the style requires, and styles that use ibid. use it.
- The bibliography lists every source cited in the document, sorted and formatted by the style. Its heading follows the style too: Bibliography, References or Works Cited.
- The OSINT Style Guide has no bibliography, as the guide specifies.

In PDF and Word exports the notes become real footnotes at the foot of each page. In e-books they’re tappable. In a compiled manuscript, notes number continuously across chapters and short forms carry from one chapter to the next.
Page setup in the document bar has options for the bibliography, such as Group by source type, which splits it into primary, secondary and tertiary sources.
The menu next to the document’s title sets its citation style. Change it and every citation, note and bibliography entry reformats at once. Each document has its own style, so a project can hold a Chicago chapter and an APA article side by side.
There are 55 styles, grouped by field:
- Most used: Chicago 18th notes and bibliography, shortened notes and bibliography, and author-date; APA 7th; MLA 9th; OSINT Style Guide v1.5.
- Humanities and history: Chicago 18th with ibid., with archives cited place first, and with an annotated bibliography; Chicago 17th notes and author-date; MLA 9th with notes and annotated; MHRA 4th notes and author-date; New Hart’s Rules notes and author-date; Oxford Guide to Style; SBL 2nd.
- Social sciences: APA 6th and APA 7th annotated; APSA; American Journal of Political Science; International Studies Association; ASA; American Anthropological Association; Harvard (Cite Them Right, Anglia Ruskin, SAGE and Elsevier); Taylor & Francis Chicago author-date.
- Law: OSCOLA 4th; Bluebook law review (notes) and inline.
- Sciences and medicine: AMA 11th; NLM/Vancouver; CSE 9th citation-sequence and name-year; Nature; Science; Cell; The Lancet; BMJ; ACS; Royal Society of Chemistry; American Physical Society; AIP; AGU; Springer author-date and numeric; Elsevier numeric.
- Engineering and standards: IEEE; ASCE; ISO 690 author-date and numeric.
Type titles the way they should print in the style you use most. Citation styles can’t reliably convert title case to sentence case (which APA wants for article and book titles), because they can’t tell a proper noun from an ordinary word. If you switch a document from Chicago to APA, look over the bibliography for titles that need lowercasing.
Choose OSINT Style Guide v1.5 for open-source intelligence and investigative work. Citations become footnotes in the guide’s form, built by the OSINT Citation Generator’s own formatter: the full form the first time, a short form after.
- Open a source and expand OSINT Style Guide details to set the description (from the guide’s library of 771 terms), details, qualifiers, access notes, rating, language, archive copy and commentary. The preview shows the finished footnote along with the generator’s own warnings.
- Anything you leave blank is filled from the source’s regular fields: authors, title, container as location, date, and URL or DOI.
- Type See, Cited in or Quoted in as a citation’s prefix to open the footnote with it. The suffix becomes commentary after the citation.
- Import… in the Sources tab opens list files saved by the OSINT Citation Generator, and Export → Sources as OSINT Citation Generator list writes one back.
If the writing will finish somewhere else:
-
Export → Pandoc / Quarto package gives the document as Markdown with citations as
[@key, p. 12], its bibliography file and the citation style file, ready forpandoc --citeproc. -
Export → LaTeX package gives a
main.texwith BibLaTeX\autocitecommands and a.bibfile, ready for Overleaf orlatexmk -xelatex.
Each source gets a readable key such as tuchman1962guns. See Exporting.
Zotero doesn’t let web pages talk to it, so Anabasis follows a file that Zotero keeps up to date:
- In Zotero, install the free Better BibTeX add-on.
- Right-click your library or a collection, choose Export…, pick Better CSL JSON (or Better BibTeX) and tick Keep updated. Save the file somewhere you’ll find it.
- In Anabasis, choose Sources → Tools → Zotero library file, then Link the file…, and choose that file.
New references are added and changed ones updated, matched by citation key, then DOI, then title and year, so sources you added before aren’t doubled. Your own notes, ratings and annotations on a source stay. References removed from Zotero stay in the project, because you may have cited them. Chrome and Edge remember the file and re-read it whenever you come back to the Anabasis window; in other browsers choose Update now and pick the file again. Nothing goes online.
- Cite while you draft, not afterwards. A citation takes a few seconds as you write, and the checks can then tell you which paragraphs have no source or lean on only one.
-
Use
cite?when you don’t have the source to hand. The flag button (Ctrl+Shift+K) leaves a marker that’s listed under Outline and on Project home until you resolve it. - Turn a passage you quote into a note first. A quotation inserted from a quote note carries its citation and stays linked to the note, so Anabasis can tell you if the wording drifts.
Anabasis is published by Zero History under the AGPL 3.0. These pages live in docs/wiki/ in the main repository; corrections are welcome as pull requests.
Start here
Writing with sources
- Citations and styles
- Sources
- Notes and the board
- Reading PDFs and ePubs
- Archive photos
- Languages and translation
Thinking it through
Finishing
Elsewhere