Skip to content

texish 0.20.4 — Fix \parbox/\minipage newline leak

Choose a tag to compare

@edadma edadma released this 19 Jul 02:03

A patch release: a \parbox / \minipage newline-leak fix.

Fix: a trailing newline in a box body no longer leaks a break into the following text

A source newline at the end of a \parbox or \minipage body left the pending-newline state set; on return to the surrounding paragraph the next newline was then read as a second one and forced a spurious paragraph break — an empty full-width line the line-setter reported as an underfull box. It surfaced with the natural way to write a fixed-size band:

\colorbox[0.6]{black}{\parbox[c][180pt][c]{\linewidth}{
  ...content on its own lines...
}}

Both builders now clear the pending-newline state when they finish, as they already did on entry, so content laid out on its own lines inside a full-width box no longer warns.

Suites are green at JVM 1352 / JS 1227 / Native 1242.

Native CLI binaries for Linux (x86_64, arm64) and macOS (arm64) attach below; other platforms use the JVM build.