From cc0b844be3822ac45603a095ceee77dc0f231288 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Sep 2026 17:56:11 -0400 Subject: format 2.1: the poem, and a note mark of a symbol and a number From format 2.1 a poem comes before its verses, carries object number 0 and states the range of its verses, where it came after them sharing the last verse's number. The text writer's rule, an object with no text writes nothing, covers both forms and is unchanged; its comment, in both languages, and the README now describe the poem as it is. Spine now writes the markup's editor's notes, ~[* ]~ and ~[+ ]~, as their own numbered series, marked *1, *2 ... and +1, +2 ..., in the form the special notes already had. The note patterns took symbols alone, so in every writer, both languages, these went through as text. They now take [*+]+[0-9]* where they took symbols. Over the markup document samples written by spine at 2.1: D == Gleam byte for byte in all five formats; the same .typ from .ssp and .ocda.db; spine's .typ body == this writer's; epubcheck clean; every html link resolves. Against the same writers over 2.0 artefacts, two things move, both the abstraction's doing: the_public_domain's html and epub gain note 84, which 2.0 never gathered; and seven epubs lose an empty body.xhtml page listed in the navigation, which was where the 2.0 poems went for want of a segment. The repository is sisudoc-ocda-writer, in the singular: named for its role, as its siblings are. It holds one writer, ocda-write, in each language, taking the format as an option. flake.lock, in dlang/ and gleam/, now pins the library at its model 2.1 commit. (assisted by Claude-Code) --- gleam/flake.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gleam/flake.lock') diff --git a/gleam/flake.lock b/gleam/flake.lock index ab89304..f2eda10 100644 --- a/gleam/flake.lock +++ b/gleam/flake.lock @@ -19,11 +19,11 @@ "ocda-lib": { "flake": false, "locked": { - "lastModified": 1790430427, - "narHash": "sha256-GSfZ1mJstp+rpvCvQJzPlXLPlrziV6uDa3Tvs/9b9p0=", + "lastModified": 1790705252, + "narHash": "sha256-lMPJxbVyAiMr8/yKvuRLeJgT+aGEQv0MiW9hlQLa/os=", "ref": "refs/heads/main", - "rev": "fda48e417435e31a3122bfa7ca563333628aed99", - "revCount": 1, + "rev": "8b8a8c1b61c740528e1409a2429f7ec4403f9576", + "revCount": 2, "type": "git", "url": "git://git.sisudoc.org/tools/sisudoc-ocda-lib" }, -- cgit v1.2.3