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

one hour ago

Highlights since 0.20.1

  • Overleaf's "too many requests" waits as long as Overleaf asks, and says so. In the native Lattice, when Overleaf answers live sync with "too many requests", the cool-down now lasts as long as Overleaf asks when it says how long, between 30 seconds and 5 minutes, instead of Lattice's own guess of 30 seconds, doubling each time. While it waits, pointing at the title bar's Overleaf button shows Overleaf asked to wait, retrying in N s, and the waiting sync goes out the moment the cool-down ends instead of on the next check up to 45 seconds later. In both apps, error messages for such an answer say how long to wait, in English and Chinese. Live sync also no longer asks Overleaf for its latest version a few seconds after it has just read it.
  • Export review PDF says which document a note belongs to. In the native Lattice, when Export review PDF… opens on a PDF that doesn't contain some notes' document, a banner names that document, such as "1 note is in main.tex, which this PDF does not show.", instead of marking each note Not on this PDF with no reason. On the live PDF the banner has Build main.tex, which builds that document and places the notes again once its PDF is on screen.
  • Saving an included Typst file builds the whole document. In the native Lattice, in a project with no Typst main document, ⌘S or an autosave on a part that another .typ file includes now builds the document that includes it, through any number of levels. Before, the part was compiled alone and its PDF replaced the document's, and with no main document at all the part became the project's main document.

Notable fixes

  • In the native Lattice, a \colorbox with one of xcolor's base colour names, such as \colorbox{yellow}{…}, is now filled like an [HTML] colour in both the visual and source views, and its text stays readable on the fill (#1327).
  • Typing in a .tex file's visual view in the native Lattice takes less CPU: it no longer asks TexLab again for a word that had no completions a moment before. On a 240 KB paper, CPU while typing fell from about 20% to 15%.
  • The Agent panel's provider banner shows plain text instead of raw colour codes when Lattice was started from a shell that forces colour, and a warning saved by an earlier run no longer appears at startup as if it were current.
  • In a Chinese interface, Lattice gives the reasons a live Overleaf connection timed out in Chinese.
  • A folder too shallow to give to the Agent is now refused with "The Agent can only be given a folder at least three levels deep.", in English and Chinese, instead of a message about the home folder.

Thanks

  • @JER-ry for reporting that \colorbox didn't match the PDF (#1327).

Changes in v0.20.2

  • ci:local: build main for the gpui-main baseline outside the in-app lock (#1336) (6a50a276)
  • scripts tests: pass on a one-commit checkout with no origin/main (#1339) (a58db625)
  • lattice-core: agent-folder tests make their project deep enough on Linux (#1338) (3edf12ad)
  • gate:changed: rerun the scripts tests near a change in a one-commit copy with no origin/main (#1340) (a9f92e21)
  • GPUI: a \colorbox fills an xcolor base name too (#1327) (#1342) (1fc97866)
  • lattice-core: a folder too shallow for the Agent says so, in both languages (#1341) (0b9d12e6)
  • GPUI CI: a dispatched run can name the e2e modules Linux and Windows run (#1337) (0fef86e9)
  • GPUI e2e: the Visual follow step reads the page's document and asks the drawn lines only when the edit is in view (#1344) (9e8cb459)
  • GPUI e2e: the note-card copy step waits for the drag's selection before ⌘C (#1343) (ff2ae909)
  • Overleaf: the live channel's ack-timeout reasons read in the interface language (#1346) (12f38811)
  • Typst: saving an included part builds the document that includes it (LEO-117) (#1345) (2732cfb1)
  • Agent: the sidecar never inherits forced colour (LEO-58) (#1348) (2d7cc759)
  • GPUI e2e: Export review PDF step builds main.tex before placing its note (LEO-134) (#1349) (98ef130f)
  • GPUI Visual: don't ask TexLab again for a word it had nothing for (#1347) (06028338)
  • Overleaf: live mode's 429 cool-down waits out Overleaf's Retry-After (#1351) (373858d5)
  • Agent: pin the Synara fork with plain provider errors and no stale startup status (LEO-58) (#1353) (b76d370b)
  • inapp-lock: serve waiters in order; an inert known-failures edit picks no macOS e2e (#1354) (04acae51)
  • gpui-e2e-quarantine: quarantine pdf_review's export and the Terminal steps it takes down (#1356) (aab5d454)
  • nightly-e2e: back the cron up with later ones that run only if the night has no run (#1357) (58db0ec5)
  • GPUI e2e: resuming a manual-mode project from Settings closes Settings and leaves Review in front (#1350) (f83e2527)
  • GPUI: Export review PDF names the document its unplaced notes belong to, with a Build action (LEO-151) (#1355) (6f10a51b)
  • Overleaf: the live poll counts its 45 s from the latest version read, not only its own probe (#1352) (d28bffe1)
  • GPUI: nightly typing guard — frames per key and app CPU while typing in a long .tex (#1359) (cb148a0f)
  • Overleaf: show the 429 cool-down and retry the moment it ends (#1358) (a01bf4e2)

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.1...v0.20.2

Install (Linux, experimental)

Download the .AppImage below, make it executable
(chmod +x Lattice_*.AppImage), and run it. It needs an x86_64
distribution at least as new as Ubuntu 22.04 (tested on Ubuntu
22.04, 24.04 and 26.04 and Fedora 45), and your own TeX Live from the
distribution's packages. If FUSE 2 is missing, run it with
--appimage-extract-and-run.

On Linux, Lattice does not update itself — download each new release
here — and the built-in Agent is not available yet.

Don't miss a new lattice release

NewReleases is sending notifications on new releases.