Probe: neither mammoth nor pandoc renders composite auto-number labels

↗ view on GitHub · Eli Ziff · 2026-07-29 · ab7919da

Fixture DOCX numbered purely via w:numPr: mammoth drops numbers entirely
(bare nested ol/li); pandoc emits markdown ordinals that restart per
level, so the rendered label a cross-reference names never appears in
either output. Label synthesis from numbering.xml is ours to build.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 4659ac9c
Stats 1 file changed , +87
Part of Evaluation harness: Beaver-CAN and LegalBench-RAG adapters

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-ab7919da.md from inside the repo you want the change in.

⬇ Download capture-commit-ab7919da.md