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) --- src/sisudoc/ocda/meta/metadoc_from_src_functions.d | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sisudoc/ocda/meta') diff --git a/src/sisudoc/ocda/meta/metadoc_from_src_functions.d b/src/sisudoc/ocda/meta/metadoc_from_src_functions.d index 4d3d372..9e9f8ba 100644 --- a/src/sisudoc/ocda/meta/metadoc_from_src_functions.d +++ b/src/sisudoc/ocda/meta/metadoc_from_src_functions.d @@ -230,6 +230,7 @@ template docAbstractionFunctions() { 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