mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-02 22:50:27 -06:00
- doc: ANCHOR_MARK / XREF_MARK with Story::anchors / xrefs kept in sync on edits, 11 formats (InDesign's building blocks + partial paragraph), paragraph anchors, typographic quotes - compose: anchor pages via an XrefIndex (cached per document signature); cross-references are resolved at composition, so they never go stale; '??' for missing destinations - PDF: cross-references become link annotations to the destination page - IDML: export/import as HyperlinkTextDestination / CrossReferenceSource / Hyperlink / CrossReferenceFormat (+ XRef page variables); verified live in InDesign 2026 - engine: xref.insert/list/setFormat/defineFormat/formats, anchor.create/list (+ tests) - UI: New Cross-Reference dialog (styles → paragraphs, format); menu pass adding TOC, sections, text variables, hyperlinks, footnotes, step and repeat, spelling, fitting/content submenus, effects, Data Merge, Preflight, EPUB; fixed-parameter menu variants; ui.menu.invoke opens generated dialogs; every-menu-entry-is-a-command test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>