From afef748b4e253ac0680b900c6e86ae6c19c5ca32 Mon Sep 17 00:00:00 2001
From: Thomas Walker Lynch
Date: Fri, 28 Aug 2026 07:13:35 +0000
Subject: [PATCH] counters name can now be a list
---
.../Manuscript.copy/Document/design.html | 5 +-
.../Manuscript.copy/Document/user.html | 16 ++++--
.../Manuscript.copy/Element/section.js | 27 ++++++----
.../Manuscript.copy/Layout/counter.js | 50 ++++++++++++++++++-
4 files changed, 80 insertions(+), 18 deletions(-)
diff --git a/developer/authored/Manuscript.copy/Document/design.html b/developer/authored/Manuscript.copy/Document/design.html
index 717b3b0..7d39fef 100644
--- a/developer/authored/Manuscript.copy/Document/design.html
+++ b/developer/authored/Manuscript.copy/Document/design.html
@@ -915,7 +915,10 @@
- The default counter is named , and the others in are and . These names are not internal: a cross reference reads the counter's name to print the word in front of the number, so what a counter is called is what the reader sees. Counters are named for print, and a name that would embarrass a page is the wrong name.
+ The default counter is named , and the others in are and . These names are not internal: a cross reference reads the counter's name to print the word in front of the number, so what a counter is called is what the reader sees. Counters are named for print, and a name that would embarrass a page is the wrong name.
+
+
+ A name is a comma separated list, resolved by depth with the last entry repeating, and chooses from it using the same active list that uses to choose a style. The word and the number are therefore taken from one source, and cannot disagree at a scope boundary: a snapshot taken in a chapter after a subsection has closed reads , not . The whole string remains the counter's identity in , so nesting and inheritance are untouched; only the word selected from the list varies. This replaces the earlier attribute, which carried the same list on a second field that could disagree with the name.
diff --git a/developer/authored/Manuscript.copy/Document/user.html b/developer/authored/Manuscript.copy/Document/user.html
index 1bcdf67..c5b36d1 100644
--- a/developer/authored/Manuscript.copy/Document/user.html
+++ b/developer/authored/Manuscript.copy/Document/user.html
@@ -302,13 +302,13 @@
The divisions of a book are not one sequence. A single counter across the whole manuscript would number the preface as chapter one and start the appendices wherever the last chapter left off. So each division names its own counter, and the counter's name is the word the reader sees.