Skip to content

v1.23

Choose a tag to compare

@hschwentner hschwentner released this 20 Jul 14:55
· 9 commits to main since this release
f02fdd0

Fix table/box rendering, support native table numbering, localize callouts

  • Recognize continuation paragraphs inside boxes indented with 3 spaces
    (extracts lose one space of indentation when converted to asides),
    fixing dropped "Antwort" paragraphs in Q&A-style boxes.
  • Rewrite I>/T>/W> callouts block-wise so a multi-paragraph callout gets
    one title instead of one per line, and stray >/I>/T>/W> markers no
    longer leak into the rendered output.
  • Make callout titles (NOTE/TIP/WARNING) configurable per template via
    new note_title/tip_title/warning_title settings, defaulting to
    the previous English words; set to Hinweis/Tipp/Warnung for the
    dpunkt templates.
  • Support unnumbered Table: Caption {#tbl:...} captions so
    pandoc-crossref can auto-number and auto-link tables the same way it
    already does for figures and listings; exclude such captions from the
    generic paragraph-wrapping rules so they stay adjacent to their table
    block, which pandoc-crossref requires to recognize the pairing.
  • Move numbered-table anchors onto the caption's own div so
    pandoc-crossref cross-references resolve to real bookmarks, and
    captions no longer show literal {#tbl:...} braces in the output.
  • Fix numbered-table cross-reference links losing the dash before the
    slug (#tbl:7.1bewertung... instead of #tbl:7.1-bewertung...).