Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Reference to a Textual Locus

A cross-reference to a specific location within the text being edited or another text identified by $id:, described by a path of one or more hierarchical levels (block, column, line, etc.).

Syntax

An optional file key, separated by a colon :, followed by a path of levels separated by semicolons ;. Each level consists of a unit key and a value, separated by an equals sign =. All of it is enclosed within hash symbols #…#.

  • The file key is the identifier declared by the target text with the $id: unit. It consists of letters, digits, _, - and ., and cannot start with a digit. If omitted, the reference points to the current text.
  • The path is hierarchical: each level narrows the previous one (face = B; row = 2; ln = 4). The value of the last level may be a range from-to.

Multiple references, each with its own optional key and path, may be placed within the hash symbols #…#, separated by slashes /.

Overview

NotationSimplified ASTPaper Output
#ρₖ:kᵟ=vᵟ;…/…#Locus {refs: ρᵣ}ρₚ
  • ρₖ is the key of the target file, that is, its $id:; if absent, the current text.
  • kᵟ is a location unit key, shared by Cite and Locus.
  • vᵟ is the value of the level: a single from value or, on the last level, a range from-to.
  • ρₚ = loci references rendered.

Remarks

  • A hyphen - in a value always denotes a range.
  • Locus only points to texts with an $id:. For bibliography entries, use a citation.

Examples

NotationPaper Output
#face = B; row = 2; ln = 4#
#paikuli-d2-mp: block = D2; ln = 3#
#paikuli-d2-mp: block = D2; ln = 3-5#
#pyrgi-1: ln = 3-4 / pyrgi-2: ln = 5#
#
  entry = NPi; plate = 2; col = 2; ln = 1 /
  pag = 45; sect = 22; ln = 6
#

EpiDoc Outputs

NotationEpiDoc (XML)
#face = B; row = 2; ln = 4#
<ab>
    <ref target="#face-B-row-2-ln-4">face B, row 2, ln 4
    </ref>
</ab>
#paikuli-d2-mp: block = D2; ln = 3#
<ab>
    <ref target="beda:paikuli-d2-mp#block-D2-ln-3">block D2, ln 3
    </ref>
</ab>
#paikuli-d2-mp: block = D2; ln = 3-5#
<ab>
    <ref target="beda:paikuli-d2-mp#block-D2-ln-3">block D2, ln 3
    </ref>
</ab>
#pyrgi-1: ln = 3-4 / pyrgi-2: ln = 5#
<ab>
    <ref target="beda:pyrgi-1#ln-3">ln 3
    </ref>
    <ref target="beda:pyrgi-2#ln-5">ln 5
    </ref>
</ab>
#
  entry = NPi; plate = 2; col = 2; ln = 1 /
  pag = 45; sect = 22; ln = 6
#
<ab>
    <ref target="#entry-NPi-plate-2-col-2-ln-1">entry NPi, plate 2, col 2, ln 1
    </ref>
    <ref target="#pag-45-sect-22-ln-6">pag 45, sect 22, ln 6
    </ref>
</ab>

Structural Analysis (Conceptual AST)

NotationAST
#face = B; row = 2; ln = 4#
Locus
  → (face B, row 2, ln 4)
#paikuli-d2-mp: block = D2; ln = 3#
Locus
  → paikuli-d2-mp (block D2, ln 3)
#paikuli-d2-mp: block = D2; ln = 3-5#
Locus
  → paikuli-d2-mp (block D2, ln 3–5)
#pyrgi-1: ln = 3-4 / pyrgi-2: ln = 5#
Locus
  → pyrgi-1 (ln 3–4)
  → pyrgi-2 (ln 5)
#
  entry = NPi; plate = 2; col = 2; ln = 1 /
  pag = 45; sect = 22; ln = 6
#
Locus
  → (entry NPi, plate 2, col 2, ln 1)
  → (pag 45, sect 22, ln 6)