From ae1339c2ed532f8dc9f49fb4a3ddc3328055abfa Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 3 Sep 2026 12:30:15 -0400 Subject: ocda: bug fix related to dummy headings --+# clears dummy_heading_multiple_objects, fixed until fix, following any ---# ... --+# block every ~# object in the document was marked dummy_heading, (and the output generators that honour that flag suppressed its text: so ~# behaved as -#. One line added to correct the --+# branch. ~# suppresses the object's number only, content is still shown. -# is for a heading introduced solely to segment an output: object number suppressed and the heading text omitted from the body where the output format allows, the toc entry kept. Both were already correct in isolation; only the leaked block flag broke ~#. (assisted by Claude-Code) --- org/ocda_functions.org | 1 + 1 file changed, 1 insertion(+) (limited to 'org') diff --git a/org/ocda_functions.org b/org/ocda_functions.org index 21a6105..b606891 100644 --- a/org/ocda_functions.org +++ b/org/ocda_functions.org @@ -265,6 +265,7 @@ static uint[string] _check_ocn_status_()( pith["no_ocn_multiple_objects"] = eN.bi.off; pith["ocn"] = eN.ocn.on; pith["dummy_heading_status"] = eN.bi.off; + pith["dummy_heading_multiple_objects"] = eN.bi.off; debug(ocnoff) { writeln(line); } } } -- cgit v1.2.3