Description
Validate a positive leaf, positive linesOnLeaf, and line within the selected zero- or one-based range.
Manuscript and inscription tokens depend on editorial conventions for folios, sides, lacunae, and date labels. Parsing a convention preserves structure without interpreting the source text.
Validate a positive leaf, positive linesOnLeaf, and line within the selected zero- or one-based range.
When to use this tool
Use Manuscript Catchword Position when you need a caller-defined manuscript notation or layout check.
How to use the tool and how it works
- Enter leaf, line, linesOnLeaf, origin. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read distanceFromFinalLine, finalLine. Inspect finalLine before interpreting the associated values.
Validate a positive leaf, positive linesOnLeaf, and line within the selected zero- or one-based range. Subtract line from the final line coordinate and return whether it is final.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| leaf | Leaf | Required. Safe integer; minimum 1. |
| line | Line | Required. Safe integer. |
| linesOnLeaf | Lines On Leaf | Required. Safe integer; minimum 1. |
| origin | Origin | Required. Safe integer. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| distanceFromFinalLine | Distance From Final Line | Required. Safe integer. |
| finalLine | Final Line | Required. Boolean. |
{
"input": {
"leaf": 12,
"line": 20,
"linesOnLeaf": 20,
"origin": 1
},
"output": {
"distanceFromFinalLine": 0,
"finalLine": true
}
} Limitations and assumptions
- The leaf number does not affect the distance; actual catchword presence and manuscript layout are not checked.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Consult the edition's transcription and foliation policy and inspect the source image for textual interpretation.
References
Similar or alternative tools
- Manuscript Catchword Line Budget
Add bodyUnits, catchwordUnits, and separationUnits for required.
- Manuscript Folio Side Token
Strip prefix and, unless pagination is true, require exactly one matching recto or verso suffix.