Reference parser: relative references like Elberfelder 1871's Kap 6,5 #117
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
schaefera/utStudyBIble#117
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #13, split out by the owner on 2026-10-29 (#13 question 6: "later").
#13's reference parser (part 6b,
core/src/bible/refs.rs) handles TSK's free-text references (Ps 18:40-43; 78:68), osisRef ranges and cross-chapter ranges. It does not handle relative references, which some German modules use:Kap 6,5: chapter 6, verse 5 of the book the note sits in.V. 12or6,5, read against the note's own book and chapter.Until this lands, such references stay plain text in the note sheet (not links), never wrong links.
Plan: pass the note's
Placeas context to the parser; unit tests on synthetic strings plus a sweep over Elberfelder 1871 (skips withoutsword_dir()).🤖 Generated with Claude Code