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

52 minutes ago

Highlights since 0.19.4

  • Lattice on the Mac is now the native app. From this update, every Mac runs the native Lattice, drawn by the Mac's graphics hardware instead of a web page, on Apple silicon and on Intel Macs alike. It looks and works the way Lattice does, and it is faster and lighter. Updating installs it in place of the classic version, with nothing to choose. Your recent projects, settings, themes, plugins, project templates, Agent skills, Agent conversations and Overleaf links come with you. If you had switched back to the classic version, what you changed there since comes along too: the projects you opened, the settings you changed there (a setting the native version already held at a value of its own, one it brought over from the classic version included, keeps that value), and the themes, plugins, templates and skills you added. Typst support downloads again the first time you build a Typst document. The native version has no grammar check and no dictionaries for other languages; spell check uses macOS's own checker. Windows and Linux keep the classic version.
  • No more switching back. Settings › Editor & builds no longer offers to switch back to the classic version. The classic version's data stays on your Mac, untouched.
  • VS Code colours for code, and a code theme you choose. VS Code's Light+ and Dark+ colours are the new default code theme. A code theme you chose stays as it is, and a copy that already ran the native version keeps GitHub, the earlier default: choose VS Code under Settings › Appearance › Code theme to switch, or GitHub, Weft & Warp, One, Solarized, Catppuccin, Tokyo Night, Dracula, Nord or Monokai. A code block in the visual editor follows the same code theme, so a .py file and a Python block in a note have the same colours. Selecting text in a code block no longer paints the block's padding.
  • A new manuscript inside an open project. In the native Lattice, New manuscript from template… adds a paper from a venue template or one of your saved templates to a folder of the project you have open, without making a new project. It is on a folder's right-click menu, the Project panel's + and ⋯ menus, and the command palette. New project now asks for the parent folder and shows the folder it will create (#1259).
  • The Agent takes any file. In the native Lattice, drop any file from the Finder on the Agent, such as a Word document or a spreadsheet, and it is attached to your message (#1254).

Notable fixes

  • In the native Lattice, an installed theme's syntax colours now colour .tex, .py and Typst sources, instead of the code theme's (#1268).
  • In the native Lattice, going back to a project that hasn't changed shows its PDF straight away, without building it again (#1267).
  • Double-clicking a minted code block in the PDF jumps to that line of your .tex source, instead of opening minted's cache file (#1263, #1266).
  • In the native Lattice, a file dragged out of the Project panel into the documents opens there reliably.

Thanks

  • @ajay-mk for SyncTeX jumps from minted code blocks (#1263, #1266).
  • @mglraimundo for reporting that installed themes' syntax colours were ignored (#1268), and for asking for any-file Agent attachments (#1254) and for new manuscripts inside a project (#1259).
  • @knightnemo for reporting that entering a project rebuilt it every time (#1267).

Changes in v0.20.0

  • gpui: a tree row dragged out waits for its tab to be laid out before Trellis carries it (#1257) (c704848e)
  • gpui e2e: drop the Windows known failures for the Trellis tree-row drag steps (#1260) (4cf86a3a)
  • gpui: let the Agent take any file as an attachment (#1254) (#1256) (650b134f)
  • GPUI: build, test and launch the native app on Linux in CI (#1261) (938cf272)
  • fix(synctex): jump from a minted code block to its source line (#1263) (785140cb)
  • Retire the classic app on macOS: every Mac moves to the native app from 0.20.0 (#1262) (065edcb9)
  • GPUI: Windows e2e look shots and an unsigned Windows archive (#1264) (24cf539e)
  • fix(synctex): tighten how a minted block's source is found (#1266) (a2d78773)
  • gpui: New manuscript from template… in an existing project, and New project says where it creates (#1259) (#1265) (58565727)
  • New manuscript: refuse hidden folder names, and say why in the interface language (#1269) (819fc55e)
  • Code blocks: Shiki in the chosen code theme, VS Code by default; selection starts at the text column (#1258) (b0d111e3)
  • Source editor: an installed theme's syntax colours win (#1271) (797479ee)
  • Native: don't rebuild or reload the PDF on entering an unchanged project (#1270) (97952654)

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.19.4...v0.20.0

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.