github lattice-writer/lattice v0.20.4
Lattice v0.20.4

one hour ago

Highlights since 0.20.3

  • Build the document you are in, without changing the paper. In the native Lattice, Build current document compiles the open .tex file once, as its own document, when it has its own \documentclass: a supplement or a rebuttal beside the paper you set as main document. Its PDF takes the PDF panel and the paper's PDF moves to a tab of its own, while the main document stays as you set it, so the next Build or automatic build compiles the paper again. It is in the editor's ⋯ menu, the command palette and an ⌥-click on the build button; in a chapter file or a Typst file the ⋯ menu entry is greyed out, with the reason on hover, and the command palette leaves it out. (#1426)
  • The visual editors follow Settings as you change it. In the native Lattice, the font size and line height under Settings › Appearance now reach the Visual Markdown editor as you move the slider, where before they did not reach it at all, and a .tex file's Visual view uses them too. A new Line width setting keeps the usual column, sizes it to 60 to 140 characters of the chosen font, or uses the whole panel on a wide display. Restore defaults sits at the right of each editor group's title and puts back that group's font, size and line height (and, for the Visual Markdown editor, its line width) only; Undo in the notification that follows brings your choices back. (#1416)
  • Typst support is downloaded once. In the native Lattice, Typst support now lives in one store in your user data folder, keyed by the Typst wire protocol rather than the Lattice version, so every project shares it and an app update adopts the copy already on disk instead of downloading about 22 MB again. An integrity manifest is checked before a build uses it. (#1438)

Notable fixes

  • In the native Lattice, Settings keeps its rounded corners, its translucent background and its close button while you are on an embedded page — Models, MCP, Skills, Usage & limits or Archived threads — instead of drawing a square sheet without them (#1424).
  • In the native Lattice, a PDF note's mark under the pointer keeps at least the tint of its rest state instead of fading below it, so hovering no longer makes a placed note look unplaced (#1437).
  • In the native Lattice, a font name you are typing in Settings is left alone while the field has focus, instead of being overwritten as you type (#1417).
  • On Windows, an embedded page now loads as a secure context, so one that calls crypto.randomUUID as it loads no longer fails (#1423), a path copied from the file tree no longer carries the \\?\ prefix, saving a file waits for another program that holds it open instead of failing, and Compare export keeps the document's LF line endings (#1420, #1428, #1432).

Thanks

  • @knightnemo for asking to build the active document once while keeping the project's main document (#1425).

Changes in v0.20.4

  • GPUI e2e: re-list the steps v0.20.3's whole run failed (#1415) (ce12d692)
  • GPUI: visual editors take Settings' font size and line height live; line width and Restore defaults (#1416) (7b42e20b)
  • GPUI: the typed font name is left alone while it has focus (#1417) (8769b3d1)
  • GPUI e2e: the several-rows copy step sends Ctrl+C off macOS; tutorial pair failing on Linux (#1418) (f6082684)
  • GPUI e2e: the Visual environment dialog and the note card get their frames before input (LEO-14) (#1419) (1ddf1d74)
  • GPUI: the tree's copied paths drop Windows' ?\ prefix (#1420) (f8675627)
  • GPUI e2e: a leftover environment dialog closes as its Escape does, after each step (#1421) (64b1229f)
  • Settings keeps its rounded corners and close button over Synara's pages (#1424) (36d97e24)
  • GPUI: Build current document builds the open .tex once without changing the main document (#1426) (cfc62317)
  • Windows: a save waits for a reader that holds the file open (LEO-33) (#1428) (9f0f5231)
  • GPUI e2e: Windows input parks the system cursor off the app (LEO-15) (#1422) (2d32e277)
  • GPUI islands load as a secure context on Windows (LEO-15) (#1423) (58cbefdd)
  • GPUI e2e: the Markdown column fit judges against the column's content (#1427) (3a04f911)
  • GPUI: keep dead-code and unused-import warnings off macOS where they belong (#1430) (d068d0a2)
  • Compare export keeps LF on Windows, and the PDF's own-window step compares width within a pixel (LEO-15) (#1432) (e7cca155)
  • GPUI e2e: two Windows steps pass, off the known list (#1429) (c09496f6)
  • Nightly: a night is only covered by an e2e that actually ran (#1431) (9ffa5a4d)
  • Docs: why the nightly gate reads jobs and not runs (#1433) (c3372fb6)
  • GPUI e2e: the live preview asserts its page and layer reach real ink (#1435) (e26430ff)
  • GPUI e2e: Build current document asserts the promise, not the build order (#1434) (414f91cb)
  • Docs: a runner-only failure is usually a race, reproduce it under load (#1436) (a6a47893)
  • PDF: the lit note mark keeps its tint instead of fading below rest (#1437) (bce4c097)
  • Typst support: one store keyed by protocol, not by app version (#1438) (b5dda3e4)

Install (Apple silicon Mac)

Download Lattice-native_*_aarch64.dmg below (the native app, which
every Mac runs from 0.20.0), open it, and drag Lattice to Applications.

Lattice is signed with an Apple Developer ID and notarized by Apple.

Already running Lattice? It updates itself automatically — no need to
re-download.

Full Changelog: v0.20.3...v0.20.4

Install (Intel-based Mac)

On a Mac with an Intel processor, download Lattice-native_0.20.4_x64.dmg below
instead, open it, and drag Lattice to Applications. It needs macOS 14
or later, is signed and notarized like the Apple silicon download,
and updates itself the same way.

Don't miss a new lattice release

NewReleases is sending notifications on new releases.