Separate Readings From Commentary
Independent series give source readings and editorial comments their own numbering. A custom renderer adds a lemma; reused passages share one reading.
Setup Required
Source
#let apparatus(n, ..args) = block[
#deixis-generate-body-marker(n)
#emph(n.data.lemma)#h(0.3em)
#deixis-generate-body-content(n)
]
#let source = deixis-endnote.with(
series: "sources", numbering: "a",
render-single: apparatus)
#let editor = deixis-endnote.with(
series: "editorial", numbering: "1")
The #source(id: <reading>, data: (lemma: [harbour],))[
harbour][MS A; MS B reads “haven”.]
was quiet. The #deixis-mark(of: <reading>)[harbour]
returns in the next stanza.#editor[The repetition is deliberate.]
== Source Readings
#deixis-print-endnotes(series: "sources",
render-group: deixis-native-render-group)
== Editorial Notes
#deixis-print-endnotes(series: "editorial")