footnote-runs new

Footnote runs

Fixture for the footnote number run, the one format every host draws: "4,12" comma-joined, ascending, up to three numbers; past three the first two and "+" ("1,2,+", with warning NL.W0707); beside the caption when the run does not fit the bar. The Work lane is #282's repro; the Notes lane and the markers show the same run on a lane tab, a group header, an anchor and a milestone. See specs/rendering.md "Footnotes" and "Item Bars".

theme: light now: 2026-02-09

0a4c126 Draw footnote numbers on groups, parallels and markers as one shared run (#287)

New in this build.

tests/footnote-runs.nowline
nowline v1

// Fixture for the footnote number run, the one format every host draws:
// "4,12" comma-joined, ascending, up to three numbers; past three the first
// two and "+" ("1,2,+", with warning NL.W0707); beside the caption when the
// run does not fit the bar. The Work lane is #282's
// repro; the Notes lane and the markers show the same run on a lane tab, a
// group header, an anchor and a milestone.
//
// See specs/rendering.md "Footnotes" and "Item Bars".

roadmap demo "Footnote runs" start:2026-01-05 scale:1m

anchor kickoff "Kickoff" date:2026-01-12

swimlane work "Work"
  // 11 footnotes on a 34 px bar: "1,2,+" beside the caption, and NL.W0707.
  item many "Eleven notes" duration:2w
  // Two-digit numbers in one run: "12,13", never "1213".
  item pair "Notes 12 and 13" duration:4w
  item mixed "Notes 4 and 12" duration:4w
  // Link tile and caption keep their insets; the run spills after them.
  item linked "Linked" duration:2w link:https://example.com

swimlane notes "Notes"
  group track "Track"
    item t1 "Wide enough" duration:3m

milestone ship "Ship" after:t1

footnote f1 "Note 1" on:many
footnote f2 "Note 2" on:many
footnote f3 "Note 3" on:[many, linked]
footnote f4 "Note 4" on:[many, mixed]
footnote f5 "Note 5" on:many
footnote f6 "Note 6" on:many
footnote f7 "Note 7" on:many
footnote f8 "Note 8" on:many
footnote f9 "Note 9" on:many
footnote f10 "Note 10" on:[many, notes]
footnote f11 "Note 11" on:[many, notes, track, kickoff]
footnote a "Note 12" on:[pair, mixed, linked, track, kickoff, ship]
footnote b "Note 13" on:[pair, ship]