From 99cc05931026f00a3994b568b6965d36a87f9073 Mon Sep 17 00:00:00 2001 From: funkpower Date: Sun, 20 Sep 2026 16:07:18 -0400 Subject: [PATCH] chunkmd, citefind: the back-reference marker a whole class of EPUBs leaves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An arrow pointing back to where the note was called, inside escaped brackets, sometimes as a link and sometimes not. Neither pattern knew it, so a page of notes set this way read as body prose: the chunk was never flagged, the citation stage never selected it, and the book came out with nothing. Ten books of the corpus use it and eight of them had zero citations — including both volumes of *The Decline of the West*, whose 830 endnotes are exactly what this is for. 142 of the 199 affected chunks are those two books. Recorded in parity/KNOWN.md: the Python this was ported from did not know the marker either, and no fixture carries one, so the suite agrees either way. --- parity/KNOWN.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parity/KNOWN.md b/parity/KNOWN.md index bf07d67..b614da3 100644 --- a/parity/KNOWN.md +++ b/parity/KNOWN.md @@ -352,7 +352,9 @@ only a dot. Ordinary paths — the overwhelming majority — are byte-identical. from did not: \[←788 \] - \[[←193](index_split_011.xhtml#citation-193) \] + \[ [←193] (index_split_011.xhtml#citation-193) \] + +(the second written with spaces here so it is not read as a link) An arrow pointing back to where the note was called, sometimes as a link and sometimes not, wrapped in escaped brackets. It is what a common EPUB