From 95f359689c5dfe3983ac6934c5c8299473f512e7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 13 Oct 2025 15:25:37 -0400 Subject: abstraction metainfo, provide endnote parent ocn - preferable, endnote parent object number available for use (as here in text output, compare "endnotes, add caller ocn" commit) --- org/ocda_functions.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'org/ocda_functions.org') diff --git a/org/ocda_functions.org b/org/ocda_functions.org index 16de3f0..0b997b7 100644 --- a/org/ocda_functions.org +++ b/org/ocda_functions.org @@ -4460,7 +4460,7 @@ ST_the_section build_the_blurb_section(Opt) ( if (obj.has.inline_notes_reg) { if ((obj.text).matchFirst(rgx.inline_notes_al_gen)) { foreach (m; (obj.text).matchAll(rgx.inline_notes_al_regular_number_note)) { - _notes ~= "\n\n" ~ m["num"] ~ ". " ~ m["note"] ~ " ≫" ~ obj.metainfo.ocn.to!string; + _notes ~= "\n\n" ~ m["num"] ~ ". " ~ m["note"]; notes_[(m["num"])]["ocn"] = obj.metainfo.ocn.to!string; } } @@ -4474,7 +4474,7 @@ ST_the_section build_the_blurb_section(Opt) ( foreach (ref obj; the_document_endnotes_section) { auto matches = (obj.text).matchAll(rgx.endnote_section_note); foreach (m; matches) { - obj.text = m.hit ~ " ≫" ~ notes_[(m["notenumber"])]["ocn"]; + obj.metainfo.parent_ocn = notes_[(m["notenumber"])]["ocn"].to!int; } } foreach (ref obj; the_document_endnotes_section) { -- cgit v1.2.3