Highlights since 0.20.9
- Overleaf conflicts read as two labelled blocks. In the native Lattice, a sync conflict no longer shows as raw
<<<<<<< This Mac…>>>>>>> Overleafmarkers. Each side now sits in its own tinted block under a header that names it, This Mac or Overleaf, and the first header offers Keep this Mac, Keep Overleaf, Keep both and Compare, which opens the Resolve conflicts dialog for the file. When the conflict carries the last synced copy, Show last sync unfolds it. Git and Agent Undo conflicts get the same look with their own side names, and a read-only editor shows the headers without the choices. The file itself still holds standard markers until you choose, each choice is one step to undo, and an edit that would break a hidden marker line, such as Backspace at the start of a block, is put back. (#1480) - Keep files off Overleaf. In the native Lattice, a
.overleafignorefile at the project's root lists files and folders that stay on this Mac, in the same patterns as.gitignore. A file it matches is never uploaded, never brought down and never deleted on either side, whatever the delete setting. Right-click a file or folder in the file tree and choose Don't sync to Overleaf to add its line; the row then shows a crossed-out cloud, and Sync to Overleaf again takes the line back out and merges the file back in. When a file stops syncing but Overleaf still has it, a notice offers Remove from Overleaf, which deletes Overleaf's copy only if nobody has changed it there since and always keeps the one here. Lattice also warns when the rules leave out a file the paper needs to build, and the Agent is told to keep a file off Overleaf this way rather than by deleting or moving it. The user guide's Overleaf page has a new section on it. (#1481)
Notable fixes
- The word count follows an edit made outside Lattice. In the native Lattice, the status bar's word count, with its Body and Abstract split, was recounted only when the project opened and after a save inside Lattice, so an edit made in another editor, by the Agent or through Overleaf sync left it showing the old count until the next save in Lattice. It now recounts when a
.texfile in the project changes on disk, a chapter that isn't open included. As before, typing changes the count only once you save. (#1482) - A highlight longer than a line wraps inside the margin. In the native Lattice, a highlight from the selection toolbar was written as
\colorbox, which TeX never breaks, so a long one ran off the page in the PDF. It is now written as\latticehl, which wraps like prose under pdfLaTeX, XeLaTeX and LuaLaTeX, and the first highlight in a main document adds the lines that define it just before\begin{document}. In a chapter file, the highlight wraps once its main document defines\latticehl; until then it stays a\colorboxand a notice lists the lines to add. Existing\colorboxhighlights still show and come off as before, and recolouring one makes it a\latticehlwhere the document can define it. (#1478)
Thanks
- @aestehticus for reporting that a long highlight ignored line breaks (#1476).
Changes in v0.20.10
- GPUI: a highlight longer than a line wraps inside the margin (#1476) (#1478) (
e7c6862b) - Gate: LATTICE_BUILD_ROOT moves a checkout's build outputs off its disk (#1479) (
2b2aeb2c) - GPUI: Overleaf conflicts read as labelled blocks with Keep actions (#1480) (
bc02d413) - Overleaf sync: .overleafignore and the tree's Don't sync to Overleaf (#1481) (
939ae41d) - Status bar: recount the manuscript's words after an outside edit (LEO-224) (#1482) (
90deeb59) - Size report: raise the eager JS budget by 1.5 KB for v0.20.10 (#1484) (
8948c1a1)
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.9...v0.20.10
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.