Skip to content

Scope included document references and heading numbering - #65

Draft
PiotrCzapla wants to merge 1 commit into
frontmatter-numberingfrom
board-consent-packet
Draft

Scope included document references and heading numbering#65
PiotrCzapla wants to merge 1 commit into
frontmatter-numberingfrom
board-consent-packet

Conversation

@PiotrCzapla

@PiotrCzapla PiotrCzapla commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Included documents can reuse local reference names without pointing into another exhibit. Each numbered container uses its own heading scheme and counters. The enclosing counters resume after the container.

Python HTML export applies the same ID scoping used by the DOCX converter. The native HTML exporter handles per-container numbering.

Validation: 931 parser tests passed with the declared optional math-core dependency installed. The packet integration checks also passed. This draft targets frontmatter-numbering to keep its existing work out of this diff.

Namespace include-local IDs and links while preserving reference types.
Give each include its own HTML heading counter and honor unnumbered forms.
This prevents repeated exhibit names and numbering schemes from leaking
between the consent and its attached forms.

Validated with the assembled stock-plan packet and renderer suites:
73 tests passed; 2 checkout-asset tests deselected. The coordinated
mdhtml2docx, virgil-templates, and fasttract changes are on branches
named board-consent-packet.
@jph00

jph00 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

I deleted the private links from this PR - be careful please.

I don't understand the jargon being used here. Please try to explain in simple concise terms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants