Skip to content

v0.2.7

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Nov 20:56
· 1 commit to main since this release
v0.2.7
c575235

Cached packages, early bibliography, steadier CI (v0.2.6 published)

CLI

  • fix The Linux ARM binary builds again. v0.2.6 linked against glibc's close_range wrapper, which older glibc lacks, so the release had no binaries. The system call is now made directly.

Also in this release: v0.2.6

v0.2.6 was tagged but its release never published (the ARM build failed), so its changes ship here.

Site

  • feat The playground's examples compile without a download. The site build runs each example with pdfLaTeX and ships every TeX Live file the build reads, fonts too, beside the playground. Compile in the browser now asks the site first and the package server only for the rest. What TeX Live lacks (a font's .vf) is asked of nobody, and an example whose build looks for a missing file is reported by the build.
  • feat The font picker offers what the engine can set, each with a sample. pdfLaTeX offers the font packages installed (EB Garamond, Fira Sans, Kp Fonts, STIX Two, XCharter and more), fontspec the OpenType fonts, plus the machine's own fonts as a list to filter. Each offer shows "Aa Bb 123" as TeX sets it, drawn into the preview sheet with the TikZ pictures (font: sprites), which the site ships.
  • fix The showcase videos are recorded on an idle machine only, one compiling take at a time, at low priority. Taken during a busy build they showed a compile five times as slow as it is and loaded the machine further (SATEX_SHOTS=force records anyway).
  • fix A command typed into the PDF echoes what it typesets. \TeX, \LaTeX or a logo of your own showed nothing until the build. The echo now sets what the run sets for the command alone, with its kerns and its raised and lowered letters (satex/commandText).
  • fix A click on the date of a title page puts the caret into \date. Text that \maketitle sets from a stored argument after another one (the date after the author) was refused as "code satex cannot place".
  • fix A finding's hover card no longer flickers while runs come and go. The card is written again only when its text changes.
  • fix Controls that show on hover keep their place. The PDF bar's fold button and the file tree's row actions no longer push their neighbours aside.
  • fix The PDF bar's page selection looks like the bar's other buttons.
  • perf The benchmark page shows the results for 0.2.5. [0a6f260] [247e3fb]
  • fix A click into an empty table cell in the PDF puts the caret there. A cell with no text, only spaces or a ~ has no word to click, so Type mode placed no caret. The caret now goes to the cell's place in the source, between its &s, drawn where the column's alignment sets the first letter, and typing fills the cell.
  • feat Rows and columns of a table are inserted, deleted and reordered from the PDF and the Typeset view. A + stands on the line between two columns (under the table) or two rows (left of it) the pointer is near, a × under the pointer's column and left of its row; the controls stay while the pointer is on its way to them. They show once the pointer rests, muted until aimed at, and never during a drag (a column edge, a gap, a node) or with a menu open. The chip's name and the row's grip drag to reorder. A right click on a cell, in the PDF or the Typeset view, has Row and Column submenus. The table is rewritten as the table dialog writes it: the column spec, every row's cells, \multicolumn spans grown or shrunk, a rule moved with its row or column, \cline and \cmidrule renumbered. One undo takes it back.
  • feat The landing page's compile numbers: a 184-page thesis with figures, one measure throughout. A one-edit rebuild of a generated thesis (TikZ and pgfplots figures every fifth page, hyperref) takes 1.5 s against latexmk's 2.0 s. Every ratio is latexmk's time over satex's, the number on top of each tile. That the output matches latexmk is said once, as a fact.
  • feat Typing in a table also wraps paragraph cells and moves \multicolumn spans and the column chips. A p, m, b or X cell rewraps to its width and the rows below move down. A span keeps its place in its columns, and a span typed wider widens its last column. The column chips follow the echo.
  • feat Typing in a table cell moves the whole table at once. The column widens or narrows for every row, the columns after it and the rules follow, and a centered table stays centered, so nothing jumps when the build lands. 40766a3
  • feat Compile benchmarks: satex compile against latexmk and plain engine runs. The benchmark page compares cold builds, rebuilds with nothing changed and rebuilds after one edit per document and toolchain (pdfTeX, LuaTeX, XeTeX), with whether the output is the same; the landing page shows the main numbers.

VS Code

  • fix A server restart no longer fails with "command 'satex/query' already exists". The server's commands are registered once per window and run on the current client.

LSP

  • perf Math font samples are drawn only when the font view asks for one. Each costs a TeX run, and they held up every other preview (arrows, shapes, text fonts) until all were drawn.
  • perf Typing into a paragraph between generated text reuses the rest of the last run. When the text after the paragraph comes from macros or a package (\Blinddocument), the last character the document set stayed on the edited line, so the run never met the last one and every keystroke ran the rest of the document again (4.4M steps, 2 s). A keystroke now meets the last run after the paragraph: 791 steps, 0.2 s.
  • feat A math command typed in text is set in math. Completing \sum, \frac or a macro of your own that ends in math-only material where the text is text writes \(\sum\) with the caret inside, $\sum$ in plain TeX or in a file that uses $, and never inside a formula. TeX's Missing $ inserted before such a command gets a safe quick fix that sets the command and its arguments in the same delimiters (completion.wrap_math, conventions.math.inline).
  • feat Every finding offers "Ignore here" and "Ignore rule". The first writes % satex-disable-next-line ⟨rule⟩ above its line, the second turns the rule off in the project's satex.yaml. No Fix all applies them.
  • fix TikZ previews are kept per installation, and a picture that failed to draw is drawn again on the next ask.
  • fix TL 2019 TikZ previews draw with TeX Live 2019's dvisvgm, which has no --exact-bbox.
  • fix TikZ previews are kept in the run's cache directory (cache.dir, SATEX_CACHE), not always in ~/.cache/satex; a cut-off arrow tip is never kept or shown but drawn again, and two drawings at once no longer clear each other's pages.
  • perf A word typed into a paragraph of a long chapter is analyzed in its paragraph. A paragraph whose lines are not known (a box or kern of unknown width in it) counts 1 to n lines, n its breakpoints: every typed word raised n, and the page's length with it, so the run after the edit met the last one only past the next forced page break. The bound is now rounded up to a power of two and stays as it was. A 150-page thesis: 12M → 0.84M steps per typed word (6.6–8.1 s → 4.2–4.6 s). A splice that fails at one line no longer keeps every later line from meeting the last run. -vv says what each part of serving an edit took and names the slowest rules.
  • perf The first word typed at a place no longer waits for the text before it. The server places the states an edit resumes from and meets the last run at for the line of the caret (the last code action, highlight or completion request) while it is idle, and stops for any message. The same thesis: the first edit at a place 137M steps (29.9 s) → 0.84M, as every later one. satex/runInfo says what an edit's run still placed itself (placedSteps). The placing run passes states inside a paragraph, where no run can meet: a first edit in a 250-page document 5.8M → 4.0M steps and 4.2 → 0.9 s. Meeting the last run copies only the fact rows the edit changed.
  • perf A typed character no longer waits for the last one's findings. The rules of a run stop at the next rule once a newer text came, and what a completion reads of the whole run is built while the server is idle (or by the first request that reads it), not before the findings. Meeting the last run after an edit writes only the rows, graph vertices and table entries the edit changed (a 150-page thesis: 0.5 s → 0.03 s of each edit). -vv says what each part of a splice, of concluding a run and of the lint took.
  • fix An alias's hover shows its manual once mined (\let\myspace\xspace): a hover kept before the manual was read is asked again, and a hover that found no documentation is not kept for the next session.
  • fix \caption completes with its shape ([⟨options⟩]{⟨arg⟩}): a command that errs alone is probed in the environment the document calls it in, else the one whose code it reads (limits.probe_contexts), and an environment entered for a probe gets the token its lookahead needs.
  • fix A chapter whose root stopped at a budget keeps its root. The editor ran the chapter alone in a made-up document and reported its references as undefined.
  • perf Each build run's findings reach the editor at once, marked provisional (lsp.provisional, on): a 737-page document shows its first findings after 11.6 s instead of 32 s; the final set is unchanged and replaces them.
  • fix Completions show a command's whole shape. \section offers *[⟨options⟩]{⟨arg⟩}, ltcmd commands their (…) and <…> arguments, a \def its own delimiters; taking one writes the braces with the caret inside. The PDF page's list shows shapes and descriptions too, also while a run goes on.
  • fix Editors: a name built around unknown digits is the same name after an edit. It named its number by the token's index, which a resumed run numbers differently than a run from the start, so findings and definitions spelled other names than satex lint.
  • fix Editors read the open .bib and root, not the files on disk. An entry removed from an open .bib leaves its \cite undefined, an \include commented out leaves its chapter's labels undefined, and a .bbl or .ind the tool no longer makes is removed instead of kept stale.
  • fix Editors: an edited .bib or a commented-out \include gives the findings a fresh lint gives. The build's bibliography and index files, the bibliography rules and the unread-file check read the editor's texts, not the files on disk. A .bbl or .ind the tool no longer makes is removed. An entry removed from an open .bib leaves its \cite undefined, and a reference to a label in an un-\included chapter is undefined.
  • perf Playground edits about a fifth faster again. A question a newer text made stale stops and answers nothing, the replaced run is freed after the reply, no checkpoint is replanted next to the edit, and the recursion and unused-package lints do less per run with identical findings.
  • perf Edits in the playground show findings twice as fast. The edited paragraph's preview is the run itself up to the paragraph's end, not a second run; scope rows carried over an edit share their records; the typeset view indexes definition texts per file it needs; file lookups skip resolving directories no open buffer is in. A word typed in the spacing example: findings 0.8–1.15 s → 0.43–0.56 s, identical.
  • fix Editors rerun when a file the document reads changes on disk. A kept run is reused only if the open texts match and every file it read or looked for is unchanged (the document cache's read log), so an edited .bib or \input file, or a file that now exists, is no longer served from a stale run.
  • fix Editors: findings follow edits, closes and reopens. Closing an unsaved buffer reads the file from disk again, a reopened document gets its findings back, a file the document stops reading (an un-\included chapter) runs again unless the run was cut short, and a file outside the root no longer overwrites the root's findings.

Compile

  • fix TL 2019 satex compile rests on TeX Live 2019: the first pass's .aux follows the installed kernel, which never writes \@abspage@last.
  • perf compile.warm is on by default on Linux. A build whose preamble has a format leaves one pdfTeX waiting for the next build in the same clock minute and says so; it ends a second after that minute. Small edits rebuild in about half the time.
  • perf XeLaTeX builds run their passes without the PDF driver and xdvipdfmx once at the end, as latexmk does; helpers that outlive a build release the locks and descriptors it inherited; a warm engine is taken only when TeX's environment is the build's.
  • perf satex compile returns with the PDF. Rule-level explanations come at once, the analysis runs detached and its findings show on the next call (compile.wait waits for them): a one-word edit of a big book returns in about latexmk's time instead of 18 s.
  • perf satex compile runs no draft pass and never waits for the preamble format. A fresh build starts from latexmk's seed .aux and runs as many passes as latexmk; the format is dumped in the background; SyncTeX is compressed beside the pass. Cold builds 1.16× and edits 1.27× latexmk's speed on the benchmark subset, PDFs identical.
  • fix A build is one process group, ended when a newer one replaces it, its client goes away or compile.timeout passes. Warm engines end after their minute, and a stopped server takes its build along: no orphaned pdflatex.
  • perf satex compile runs the analysis only for log messages it can explain. A message with no source line (an underfull box while the output routine is active) no longer starts it: a one-word edit of a 1000-page book returns with its PDF, not 17 s later.
  • fix The progress bar counts packages built into caches, not only those loaded from them. A first run after an update shows how many packages are done.
  • perf satex compile: the PDF first, the analysis only where a message needs it. The build runs before the analysis, which runs only when the log has a message to explain and no stored explanation of the same messages, source, settings and read files holds: an unchanged 195-page book 1.7 s → 0.05 s with compile.explain on, the PDF of an edit in ~3 s instead of after the analysis. compile.warm works from the command line: the engine waits on a named pipe under .satex-build that it reads in the main file's stead, in the project's own directory, so no file of the project is touched and \input{../shared} reads as in a fresh build.
  • feat memoize: satex compile extracts memoize's externs itself. No shell escape and no Perl module needed: the build runs memoize's TeX extraction between passes (compile.memoize).

CLI

  • feat satex updates says which loaded packages have a newer release, and what changed in it. The installed version is what \ProvidesPackage set when it ran, the newest is CTAN's record (updates.index). Network access is opt-in (updates.fetch), and without a fresh record a package is unknown, never current. With updates.changes both releases run, and the commands, environments and options whose meaning differs are listed.
  • fix satex explain places a kernel command at its declaration (\textit @ latex.ltx:14219:25, not inside \DeclareRobustCommand), with its column also when read from the kernel cache.
  • fix satex slice run from the document's folder embeds each local file once, under its relative name. It also wrote a copy under the file's absolute path, so compiling an old slice could overwrite the user's own package.
  • fix A position may be a bare line (satex slice --at 40): it names the line from its first column, where it said "expected LINE:COL".
  • fix satex -f chapter.tex reads a chapter through the document that \inputs it, as the editor does: alone it reported \section as undefined on every line. A macro's bare {#1} no longer counts as naming a file, which also gave editors a wrong root.
  • fix --set before the command and after it both apply. satex --set limits.steps=500 lint --set load.inputs=true kept only the second, so the first limit was lost. 4cf8bfc

Analysis

  • perf A bibliography after its citations settles a run sooner. Where \bibliography stands after every \cite, the first build run makes the .bbl itself when it looks for it and reads the entries: citation labels are known in run 2 instead of run 3 (bib.early, on). The build still compares it with the file made from the whole run, so a later citation sends it round again.
  • feat limits.build_widen_after names the build run after which changing lines are widened (2, as before). 1 widens what the second run changed: one run fewer, with page numbers that moved read as unknown digits.
  • fix A beamer slide repeats a picture as exactly as the first slide. Beamer typesets each slide from a copy of the frame's text. A conditional met again in that copy was taken for another pass of the same loop, summarized after three, and a picture's size became unknown on the second slide (false errors in rounded shadow boxes). A copy met at another place is now another call.
  • fix A run served from the package cache reports what a run that reads the packages reports. Kept call effects were keyed by where a definition sat in memory, which a \let copy shares only in a run that reads the package. They are now keyed by the definition's text and shape, so cold and warm runs replay the same calls.
  • fix A run that ran out of Rust stack is not cached. Where an expansion nests too deep, satex widens it; how deep it gets depends on the thread. Such a kernel, package segment or document result is no longer stored, so a later run never reads the widened state as if it were complete.
  • perf A package that loads other packages replays whole from its cache. A cached package such as tagpdf now replays the packages it loads itself together with them, instead of reading again from each nested load. The cache fills one nesting level per run, so a package with nested loads replays whole by the third run.
  • fix A line-budget cut inside library code drops the whole call. Library code that held some of the document's tokens as data (an l3fp expression, the items of a \clist_map_inline:nn) was kept as if it called the document's text, so satex read on in the middle of it with its outer calls gone: a second cut, many paths and false errors inside expl3 (an \fp_set:Nn loop under TeX Live 2026: 4.0M steps, now 1.9M). A cut inside a smaller library call drops only that call. fe0c47f
  • fix The kernel cache is keyed on the settings that change what it holds. A kernel built under other limits or assumptions (choices, assume_compiles …) was loaded by every later run on the same cache directory, so a run's result depended on which run built the kernel first. Tracing and controls' own switches do not count [080cf74].
  • fix TL ≤ 2021 \creationdate under an older XeTeX may print more than the date. XeTeX before 0.999994 reads string-pool bytes after it. satex was sure of the date alone.
  • fix The names a file defines are found again for other definers. A memo kept the first caller's answer for every later one.
  • fix \parshape with an unknown count reads its pairs as the shape's lines, and any count stays within the budgets (limits.parshape_lines, default 64 kept). An unknown count left the pairs unread, so wrapfig's \z@ \hsize ran as an assignment and set \z@ to 345pt. The next shape asked for 22 million lines and ran out of memory on TeX Live 2019.
  • fix A lint probe is bounded by steps, not the clock (limits.provider_steps). A probe the clock stopped counted as "does not take the call" and was kept, so a finding could depend on machine load.
  • fix Without a configured year, satex reads the TeX Live whose tex is on PATH, not the newest one under /usr/local/texlive.
  • perf A call that forked learns its effect even where its runs wrote different names (call-learned-effect). A name only some runs wrote is widened, and a result some run left a number in counts as a number. \pgfmathparse in a \loop was refused a summary, ran in full each pass and kept forking: a typed-number parse took 45.7M steps on TeX Live 2022, now 708k.
  • fix A widened expl3 variable keeps the form of its kind (assumption variable-kind-shape, analysis.assume_variable_kind_shape). An fp widened after a cut lost l3fp's delimiters, so \fp_use:N ran away to the end of the file on TeX Live 2019 and 2022. The form comes from the kind's own constants as the run defined them.
  • fix LuaTeX finds a font by its name, as luaotfload does (\setmainfont{Libertinus Serif}). A font given by name was unknown, so fontspec's checks of its bold and italic faces forked without end: over a billion steps on TeX Live 2022, now under a million. \fontname of a face requested twice is the first request's, as in LuaTeX.
  • fix A package cache stays served when lines above the load move. TeX Live 2019's kernel keeps the \usepackage tokens in \@currname, so every cache key held document positions and an added line made all caches stale. Positions in project files are now keyed as placeholders and replayed where the text stands now.
  • fix TL 2019 A class whose last line inputs a project file is cached to its end, and a limit a cached load reached is named once on replay.
  • fix TL 2019 Options of a repeated load reach the option-clash check on TeX Live 2019, whose kernel has no \@onefilewithoptions@clashchk.
  • fix TL 2019 \{ and other symbols read as TeX Live 2019's tuenc.def declares them (\DeclareTextSymbol with \UnicodeEncodingName).
  • fix \openin of the job's log is not at its end, and a label like Step\nobreakspace 2 gives the word "Step" (TeX Live 2022).
  • fix \XeTeXglyphname on a TFM font leaves the number unread, as xetex does.
  • fix A digit slice open to the end of a number has no known width. It overflowed and gave exactly 2147483647 in release builds.
  • fix TL 2019 Biber's datatype=date constraint no longer flags dates. Only ISBN, ISSN and ISMN values are checked for their check digit.
  • fix TL 2019 Package completion works on TeX Live 2019: the kernel's hooks for a missing package no longer decide what the argument is.
  • fix A replayed package load counts its errors toward TeX's hundred. A cold run that gave up at the hundredth error and a warm run that read on now agree: the replay restores the error count, and a load cut at the hundredth error is not replayed past it.
  • fix TL 2022 The job's log exists while the job runs. \IfFileExists{\jobname.log} is true and its size and date are unknown, as in TeX, which opens the log before the first line. TeX Live 2022's tagging took its XMP date from the log, got \q_no_value and spent 500M steps at \end{document}.
  • fix TL 2022 A kernel cut by limits.format_steps no longer leaves its files to the document. The document read latex.ltx and expl3 on as its own text and ran for minutes on TeX Live 2022.
  • perf-fix A package the document or kernel opens before loading it is cached again. Older kernels' \IfFileExists open each file with \openin first, and such a package never got its cache.
  • fix \openin only opens a file, and its text is read at the first \read. A file that is only tested for existence no longer ties the run to its content, so an edit there resumes inside it instead of rerunning from the main file.
  • perf-fix A package that opens and closes its own stream is served from its cache while the document holds another stream open.
  • fix satex asks the installed engine which primitives it has, so an older LuaTeX or XeTeX is no longer said to define \partokenname or \showstream.
  • fix TL ≤ 2022 Older kernels (TeX Live 2019, 2022) report a repeated \usepackage and its option clash, and a label built from a counter is recorded expanded where \protected@write writes inside its group.
  • perf A build holds one run at a time, and the call memo is bounded by bytes (limits.call_memo_bytes, 256 MiB). A 100-page thesis's second build run no longer stops at the memory limit (peak 7.8 → 5.0 GiB).
  • feat-fix limits.seconds defaults to 600, and a probe of a package for a missing command has its own limits.probe_seconds (20). A probe ran without any time limit and kept a lint of a misspelled \usepackage going for minutes.
  • fix A walk through joined texts no longer hangs inside one step. A text that names the one-of of the pass before many times was followed once per name, 20^8 times for twenty copies eight passes deep. Every walk through one-of texts and macro bodies now pays one budget per step (limits.walk_texts, 100000), past which the rest reads as unknown.
  • fix A cut recursion no longer hangs counting what the dropped text would close. Each macro is counted once; acmart's title with \maketitle inside \affiliation ran past limits.seconds for minutes.
  • fix A citation key or label with non-ASCII letters (Härer2020) under pdfTeX matches its .bib entry and is shown as written, not as its bytes (Härer2020); it was reported as undefined.
  • fix siunitx S columns with braced cells ({B}) no longer give false errors. A cell's braces count from where its template's first part ends, as in TeX, not from a count of the template's tokens.
  • fix A label that a macro or a \foreach refers to itself is no longer reported as never referenced.
  • fix A \csname name with an unknown character keeps every meaning of the names it may spell, never just \relax. Past the per-line split bound such a name read as undefined although a name of its family was defined.
  • fix An \outer name in a macro's argument gives TeX's one error. It reads "Forbidden control sequence found while scanning use of \end", the call ends without a second "Paragraph ended" error, \long or not, and "Argument of … has an extra }" names the macro reading the argument.
  • fix ACM papers end again, in seconds (acmart with \email under sigconf: 9.6 s for the sample paper, where the run stopped at a limit). A command that puts nothing on a list (\pdfnobuiltintounicode, \pdffontattr, \pdfcatalog, \afterassignment) adds no atom to a formula, so the first formula of a size keeps its size with cmap loaded. The title box has its height and acmart's title loop is decided.
  • fix A test assumed while a page is made teaches no value (page-one-arm): the shipout's comparison of the page count with the last page's number made a widened count exactly 2^30, written to the .aux run after run. The count stays an interval.
  • fix No false "loaded after \begin{document}" (P001) for a class on a cold cache. A file that gave back more than 64 of its own tokens while the main file's peeked \begin waited (hyperxmp does) made \begin{document} stand at the \documentclass line. Each file has its own window now.
  • fix Two-column classes ship the page at \clearpage. What the output routine leaves on its list goes back to the page builder item by item, and a forced penalty there fires the routine again (tex.web § 1026): \documentclass[twocolumn]{article} with x\clearpage is on page 2 with one page shipped, as pdflatex has it, where satex said page 1 and none.
  • fix Tokens TeX ignores (\relax) before a command no longer change the findings; an argument read from unknown text that may be empty keeps both readings and never swallows the text behind it; a path dropped as not compiling no longer keeps the rest of a package out of its cache.
  • fix Building package caches no longer counts toward limits.seconds: a cold start caches every package once, and that one-time work no longer makes a big document's first run stop at the time limit.
  • fix Code that assigns for long without reading source (a \foreach over many TikZ nodes) no longer aborts on memory: the write log keeps one entry per name and group depth past limits.write_log.
  • fix The allocation that takes a run past limits.memory is granted, so the run stops with limit-reached instead of the process aborting.
  • feat limits.nesting (300): how deeply steps nest inside scans and quantities inside quantities before the nesting is widened, configurable like every other limit.
  • fix An argument the document begins and never closes is an error (\cite[p.~3 before \end{document}): pdflatex stops with "File ended while scanning use of …"; satex said nothing, since the end was met inside library code.
  • fix A negative integer's printed digits stay in its own range when zero is not parted off: pgfmath's signed random counts and a cut inside a library call no longer leave gaps (two precision reds green).
  • fix A long run's logs of raised findings and memo uses stay bounded: a beamer overlay document no longer aborts with a 1 GiB allocation at the end of its run.
  • feat -vv names the sites with the most undecided choices (satex: choices N at file:line, the top 20).
  • fix A deeply nested \numexpr no longer overflows the stack (also in the playground), and the language server survives a failed request.
  • fix A graphic named with a folder (thumbnails/x.jpeg) is found in the TeX installation, as kpathsea finds it: no false missing-graphic on Elsevier CAS.
  • perf A thesis with unknown box sizes and marks replays its repeated calls: a third fewer instructions. A call kept its effect only when every value it read was known. One that read an unknown value without meeting a choice keeps it too (unless it named an unknown number itself), a replay no longer asks for the same number of open conditionals and \aftergroup tokens, and a name written locally and then globally replays as the global write. A 60-page thesis runs 1958 G → 1304 G instructions per build run (247 s → 161 s), its introduction alone 596 G → 453 G, with the same findings; the build-cost findings count the steps of replays inside a replayed call.
  • perf \csname of wholly unknown text no longer walks every known name.
  • fix A Lua run that stops leaves what its rest would have written unknown. Globals the stopped rest assigns read as unknown after it; reads such as pcall(require, …) or t.f = no longer count as writes.
  • fix The package index reads the code files a package inputs, and ltcmd's environments. tikzpicture is tikz's (forest only \lets it), \begin{forest} is forest's: an inserted TikZ picture no longer loads forest, a forest tree loads forest, and a conventions.definers entry written with its backslash counts.
  • fix No "\ is never used" for a name the run could not decide (\csname\romannumeral\count1\endcsname): that name is built, not written on the line.
  • fix No false errors on ACM (acmart) documents: text the engine alone knows, read again by \scantokens, stays unknown text.
  • fix A build file read back line by line sends the build round again. counttexruns' .ctr line names no macro, so the build stopped after two runs, where latexmk runs on to its limit.
  • fix A paragraph too long to record is reported (limits.paragraph_items, 4000): its lines and size stay unknown, said with the setting to raise; before, the cap was silent and fixed.
  • fix A loop cut at the start of an expansion keeps the braces the scan copied. The cut read \expanded{ {…} }'s whole group as one unknown token without its braces, so \tl_gset:Ne\y{\fp_eval:n{\x}} could store a letter where TeX stores digits.
  • fix A Lua run that stops at a test of an unknown value and wrote nothing runs once per outcome (lua.outcomes, 8): the result is one of what the runs print, so expl3's string comparisons under LuaTeX no longer leave gaps.
  • fix The cover of nested one-of texts is bounded. A one-of already being covered adds nothing and past limits.meaning_set nested ones the text is unknown: a beamer overlay document no longer overflows the stack.
  • fix One of several texts counts as its longest text in a loop's pass bound, so a walk over them runs its exact passes instead of being forced to converge (an l3str hex conversion of unknown digits leaves no gap).
  • fix Reaching limits.list_items is reported (limit-reached), and a progress note names the setting once half of it is used.
  • perf Edits in large documents resume at the edit and meet the last run. A body whose lines end in a control word keeps its checkpoints, and the paragraph lists' size limit is the configurable limits.list_items (it was a fixed bound past which no edit of a 500-page book met the last run): a word typed mid-book reruns 2 287 steps in 0.18 s instead of 2.6M steps in 5.2 s.
  • fix A printed dimension read back keeps its bound. The fraction \the prints names its print, so a dimension scan of integer, point and that fraction reads the print's own interval, in any unit and either sign, without forking.
  • fix The rest of an argument that ended inside one of several texts keeps their control sequences. Its cover took the one-of for plain text, so the next delimited argument ran through it: a certain wrong value and a certain false runaway are gone.
  • fix A name built around unknown digits is spelled alike after a resume. It embedded an internal symbol index, so a resumed run named \__seq_map_<n>:w differently from a fresh one.
  • fix Unknown text that lists command names is never taken for one name. Run through an undecided loop, such a list was turned into \relax, so the code its names stand for silently never ran; a \def through it may now define each name in it.
  • fix A recursion that never returns is TeX's "capacity exceeded" error, and finding counts match the build. A half-typed \begin or see \ref before \end{document} reports the error pdflatex gives; a lint finding at the same place hides only the raised error it quotes; x^' is a missing-brace error; a blank line in display math is reported on its own line.
  • fix Package caches are parameterized by the clock and the job name. A value a package only passes on (a count set from \time, \jobname or \pdfcreationdate in an \edef) is filled in when the cache is served, and an \ifnum on it keeps its outcome, so a cache built at another date or for another job serves without a re-read; \jobname, the seconds and zone of \pdfcreationdate, file hashes and sizes and the shell escape in effect now key what they did not.
  • fix Missing braces after ^, _, \sqrt, \bar and \left are errors. satex checks the operand TeX scans: \(\sum_ \) reports "Missing { inserted" and "Missing } inserted" as pdflatex does, \left\hbox reports "Missing delimiter (. inserted)", and \left{ keeps its brace.
  • perf Hyphenation finds a word's points once per pattern set. A paragraph's words are hyphenated for its marks and its line breaks from one memo (limits.hyph_words), and a font's fields and character codes sit in a grid: findings identical.
  • perf Macro calls allocate a third less. Definition-site lists, a command's start state, input frames and arithmetic scratch reuse their memory instead of copying to the heap: cold kernel build 4% fewer instructions; results unchanged.
  • perf Typesetting reads font and code tables without building their names. A font's fields, \fontdimens and character codes are found by key, recorded lists by their last push, and hyphenation stops where no pattern goes on: a 1000-page article runs 27% fewer instructions, a 200-page scrbook 11%, findings identical.
  • perf Macro calls look up their site in one probe. The per-call site tables keep recent entries in a plain hash table in front of the shared trie, and a command's start state reuses the last one: cold kernel build 6% fewer instructions, big documents 2–4%; results unchanged.
  • fix A missing \end{document} met only on a path the analysis approximated is a note with an unsafe fix, never an error. The lint honours the run's row as other raised errors do.
  • fix Package caches never replay another date. A package's reads of \year, \month, \day, \time and \pdfcreationdate key its cached segment on their value, so a segment built at another date is read again; served segments also count the choices their load made.
  • fix A one-of or a literal whose arms leave the input at different places is followed on each arm past a site's fork budget. At a call's last parameter a refused one-of split reads on and covers the other end.
  • perf Cold kernel build 5% fewer instructions, big documents 2–3%. Macro calls skip bookkeeping no exact path reads: one site lookup fewer per call, a loose call hash only on approximated paths, csnames interned once. Results unchanged.
  • perf Typesetting no longer looks up the font file per character. The file a font's last character registered is checked by its id: a 1000-page article runs 8% fewer instructions, findings identical.
  • fix An argument end the fork limit refuses is still covered. The call's last argument is read as unknown text and what the other end leaves may still run; before another parameter the fork is always taken; a one-of with an empty text takes the next argument. A split one-of argument is no longer treated as unknown.
  • fix LuaLaTeX: a \directlua that stops on an unknown value no longer costs the other paths their Lua state. Only a run that wrote the state puts other paths out of step. Node, whatsit and mode numbers come from the engine (whatsit subtypes were off by one).
  • fix fp products of unknown integers keep their values. A delimiter match over typed digits that every value already decides ends the argument there instead of forking, so a refused fork no longer leaves only the impossible arm.
  • fix Package caches are no longer keyed by open \read streams through loop bounds. A loop head counts a stream use only when two compared bounds differ in their stream half.
  • fix An unknown run of digits is no longer one argument. A number nothing bounds (\the of a random count) read by undelimited parameters splits by length, so a macro taking four digits gets four, the real run keeps a path, and no false certain missing \end{document} follows. pgfmath's rand under an unknown clock reaches the end.
  • perf Numbers satex names stay the same across edits. Typed digits are named by the line they are made on and the steps since that line began, so an edit no longer renames every later number: an edit to a thesis reruns 11.8M of 1080M steps (was 837M), 194–293 s → 8 s per edit before tonight's post-run speedups.
  • fix After a refuted arm, the later arms of the same choice are still run. "This run is no run" and "this arm does not exist" were one signal, so a refutation (a runaway under the library-compiles assumption) also skipped every later arm: an unknown digit run's longer lengths, which hold the real run, were never explored.
  • fix Glue arithmetic on ranges. \advance on a skip register holding a range of glue adds per tex.web § 1239 on intervals instead of giving up, so \addvspace/\addpenalty after a display keep the page length known and float fit tests decide: the sample paper's pages now all break decided, with pdflatex's page count.
  • fix A package read and the same package served from a cache leave the run in the same state. The places later rows point to and the line guard's check phase are forgotten at every load's end on both paths, so a row after a load stands at the same place and a line is cut at the same step, built or served; the progress bar no longer records a read.
  • fix A cell's & given back behind its v part is marked, not recognised by its place. It stands behind an \endtemplate marker token (tex.web § 780), so a & that a macro in the v part expands to is no false "\endtemplate is \outer" error.
  • fix A rerun that ends coarser than the run it repeats keeps every arm. A rerun of a command per path that ends with fewer paths follows the forced join of all of them instead of dropping the arm as infeasible, so \fp_eval:n{1/\x} with \x of unknown sign keeps both signs.
  • fix A refuted last rerun of a nested scan no longer drops the command around it. The refutation flag of a nested drive's last rerun leaked into the enclosing \xdef or number scan, so every path was dropped and \fp_eval:n{\a*\b} of two unknown integers was the empty text for certain; it now keeps every value.
  • fix Boxes remember what lies under their last item; a [h] figure stays where pdflatex puts it. A box register keeps the glue, kerns and penalties under its last item, \unvbox/\unhbox put them back and \lastbox/\unskip restore the list's size (tex.web §§ 668, 1105, 1110); a box on a vertical list adds its interline glue first (§ 679), so \the\lastskip after \lastbox is no longer a wrong 3pt for TeX's 12pt; \box255 gets the page's record at a forced break (§§ 970, 1001, 1017).
  • fix A start from scratch, from a cache and from a truncated kernel reach the document alike; the build reads the settings the analysis reads. Every kernel build installs its captured format and replays calls the same way, and the build sketch reads the same build settings (l3build engine) as the run.
  • perf Findings after an edit in a third of the time. Post-run passes (redefinitions, unused packages, citation relations) look facts up through one index per pass instead of scanning a whole table per item; findings identical. A word typed into a thesis: the work after the run 6.2 s → 2.3–2.5 s per edit; the definition sources a hover reads are found once per file, not twice per definition.
  • perf Checkpoints share what they did not change. Record lists and maps a checkpoint or a fork copies are copy-on-write chunks, so a copy shares every chunk it does not write; cache bytes are unchanged. A 40-page document: mean checkpoint 72 → 26 MiB, peak memory 2250 → 1905 MiB; a thesis in the editor: 156 → 22 MiB per checkpoint; graph indexes, line-break arena and call graph share too.
  • perf Up to a quarter fewer instructions on big documents. A call's read log is reduced to its distinct names in one pass before sorting, and the walk over the names a \message text reaches is no longer quadratic: big_book 425 → 316 G instructions (−26 %), a TikZ sankey 244 → 223 G; steps and findings identical.
  • fix A package loaded in a group says the same cold and from a cache. The group level is part of a package cache's key, and a replayed write is local or global as the load's own write was (tex.web § 283), so a cache built at top level no longer leaks catcodes or globals into a group.
  • perf Package caches are shared between projects that set project.frozen. Settings only reports read (project, compile, docs, slice) no longer enter a package cache's key, so a new project folder reuses the machine's caches: a thesis in a fresh folder 247.7 s → 192.1 s (instructions −12 %).
  • fix A delimiter that stands for several values matches where it may, not only where it first could. A delimited argument whose delimiter is unknown text (typed digits from \the\count, an unknown character) takes a path for each place it may match (tex.web § 392), so \pgfmathparse{int(\the\count1/3)} is no longer 0 for certain.
  • fix An & in skipped text ends a tabular cell too. A cell's & and \cr are matched at the brace level TeX uses after the template's u part (tex.web §324), for \halign and LaTeX's tabular alike, so pdflatex's errors there are reported.
  • fix Every \includegraphics of a file is seen, not only the first. graphicx loads a file once and only places it afterwards; the placement now records the graphic too, so graphic-without-alt, the image dialog and queries see each include.
  • fix Rules and rename find a \ref or accent inside another command's argument (\footnote, \textbf).
  • fix Quick fix: a command a package makes with its own definer loads that package.
  • perf Cold kernel build 3.6% fewer instructions. The build of the kernel cache keeps only the dependency graph's vertices, which is all it stores; findings and step counts are unchanged.
  • fix Arithmetic on unknown values: certain and possible overflows, l3fp sums. \multiply, \numexpr and \dimexpr on a range of values that all overflow report "Arithmetic overflow" as pdfTeX does for each, a range where only some do reports a possible one, and \alph of a counter past 26 is a certain "Counter too large". \fp_eval:n{1+\x} with \x a bounded unknown integer is a number again, no longer \par with a false "Too many }'s".
  • fix LuaTeX: forked paths no longer share one Lua state. A path runs Lua only on the state its own runs built; otherwise the result is unknown. Cold and warm runs of a package that runs Lua say the same. A run that writes no Lua state it found, such as expl3's string compare, keeps the paths in step, so their later runs still run.
  • fix dimension-times (S003) no longer fires inside names like w120x5.
  • fix TeX errors where TeX has them, none after a gap. \meaning and \ifx of an undefined name behind \noexpand see \relax. An & or \cr read again after a cell's template ends the cell in skipped text too. A file ending inside a definition is TeX's File ended while scanning error. No certain missing \end{document} after a part the run could not follow. \include{k} is no citation of k.
  • fix One rule says when an error is certain. Every lint rule's error is checked against what the run recorded at its place: on an undecided path it is a warning, after an assumption about lost state it is a warning that names the assumption, after an analysis gap it is a note. missing-graphic, undefined-environment, already-defined, not-defined, option-clash, math-still-open, undefined-glossary-entry and shell-escape no longer report an error only some runs have. A document's end after unknown text is no certain missing-end, and a missing \end is reported after an analysis gap too, as a note. A name undefined on one arm of a joined value and an endless loop on one undecided arm are possible findings. A \read from the terminal in nonstop mode is reported as the fatal error it is.
  • fix A definition of a name built from unknown text may redefine the names it can spell. Each such name keeps its old meaning or gets the new one, up to limits.text_names names.
  • fix An error on one arm of a choice satex could not decide is a possible error, never a certain one. False certain never defined in this run and library errors on such arms are gone.
  • feat memoize: memoized pictures are read from their memos. With the memos and externs of the last build present, satex runs memoize's own code on them and skips the picture's code; an edited picture is compiled again, the others stay memoized. A braced file name in \openout expands like \edef, so memoize's \jobname.mmz is found. A primitive behind \pdfprimitive runs once.

Lints

  • feat satex query tagging says more. running is the tagging code's own answer, modules the tagging files loaded, marked the marked content written by tag. A package the status list lacks is unlisted. Without \DocumentMetadata it lists each package's status, to judge a document before tagging is on.
  • fix graphic-without-alt follows the tagging state where the graphic stands. It reports where the run raised latex-lab's warning. A graphic under \SuspendTagging or \tag_stop: is no finding, and one whose options come from a macro is checked too.
  • fix Tagging lints ask the tagging code whether it tags (\tag_if_active:TF), not only what \DocumentMetadata declared. A document that switches tagging off with \tagpdfsetup gets no tagging findings.
  • fix TL ≤ 2020 The hand-set quantity fix writes \SI where the installed siunitx is version 2. With siunitx not loaded yet, the fix wrote \qty, which siunitx 2 does not define.
  • fix Prose rules skip text only an undecided path sets (TikZ path code a run could not follow read as (frame.north west) prose), and a duplicate package load names the class line that made the first load, not the kernel's.
  • fix Values the run did not know read as one … in every finding, never as satex's internal names for them (\-16384..16383#8970.8059.0, 32-digit digests, private-use marks).
  • fix A run a time limit stopped no longer reports labels, packages or names as absent from the whole document: what it did not reach may hold them, so such findings are precision notes naming where the limit stopped the run.
  • fix preamble-cost names the class when the document loads no package itself ("the class beamer reads 375 files"), not "0 packages requested directly".
  • fix A run that did not read everything no longer offers to delete a package as unused: the part it left may use it, so it is a precision note.
  • fix primitive-tex-command no longer reports the project's own packages and classes, where \csname and \hskip are the code's tools; its advice is for the document's text.
  • fix Color findings name a color as the author wrote it (gray), else by its value (#a9a9a9), never by an internal name a package made (pgffillcolor), and never one name for both colors of a pair.
  • fix A file that only defines (statistics a script writes) is one finding, not hundreds. Its unused names are listed in one finding, and its look-alike lines and equal values are no clones (one thesis: 1914 findings down to 268). spelled-out-macro reports only words that look like names (TinyNet, cellR, CI), not everyday words a macro holds.
  • fix \usepackage[T1]{fontenc} is no longer reported as unused. A package that sets a font default the text is set in acts on every character, though no name it defines is called.
  • fix Fewer false style findings. (a+b)^2 is a note, not a warning; no missing italic correction where the next character stands in another box (forest and TikZ nodes); indistinct-colors reports only pairs that include a color the document itself names.
  • fix No finding or fix names a command the author cannot write. spelled-out-macro no longer offers \reserved@a{}, \@currenvir{} or an expl3 name like \my_word: as the command for a typed word, and primitive-tex-command no longer rewrites a \csname in the document to the kernel's \@namedef, which breaks there because @ is not a letter. One check decides: a command the document can write has only letters in its name.
  • feat New info spelled-out-macro (S070): a word a command of the document sets, typed out by hand. TinyNet written where \newcommand\model{TinyNet} exists, or cellR where a glossary entry is named so, gets the fix \model{} or \gls{cellr}, so a renamed name changes everywhere. When a word counts as the same is one setting (lints.spelled-out-macro.equivalence: exact, glyphs, case or letters), from the one ladder of text equivalences the bibliography's duplicate-title check and the cross-reference keys now share.
  • fix bibliography-entry-missing-field follows each reader's rules. An entry with crossref is checked against what its parent hands down: every field with BibTeX, what biblatex's inheritance rules say with biber (a @proceedings' title arrives as booktitle). xref hands down nothing, and a parent that is not there leaves the child as it is. Before, any entry with crossref or xref went unchecked. biber's type of a @phdthesis or @techreport is no longer asked for, a @set is not asked for its members' fields, and with BibTeX journaltitle no longer counts as journal. Two broken entries cited in one \cite{a,b} are both named.
  • fix A .bib entry is read by BibTeX's grammar: fields after "a" # b are no longer lost, and an @ inside a value starts no entry.
  • fix \nocite{*} with biblatex cites every entry for the rules on databases.
  • feat Six rules for broken .bib entries, checked against BibTeX and biber. malformed-bibliography-entry: a missing comma, an unclosed brace or quote, and for biber a key without its comma. duplicate-bibliography-field: a field given twice, where BibTeX reads the first and biber the last. invalid-bibliography-field-value: name lists with a stray and, a closing comma or too many commas, and with biber a date, year, month, ISBN, ISSN or number that is none. conflicting-bibliography-fields: author beside editor or volume beside number where the .bst takes one, journal beside journaltitle, a year that disagrees with date. unknown-bibliography-entry-type: a type the style does not define. broken-bibliography-crossref: a crossref to no entry, or with BibTeX to a parent that stands before its child and is not cited. Quick fixes add the comma, delete the field that is not read, repair the name list and unbrace a month constant.
  • feat ignored-bibliography-field notes a field the style knows but never reads of the entry's type (booktitle of an @article), from the .bst's functions or biblatex's data model. With BibTeX it renames journaltitle to the journal the style reads.

Playground

  • fix A turned TikZ node's outline and handles turn with it. After a rotation the hover outline, the move pin and the rotate knob stood upright beside the node; hovering and dragging now act on the node as drawn.
  • feat The theorem manager lists every instance. Each with its number as typeset, its note and labels, where it stands and where it is referenced, searchable and a click away. A kind shows its counter and the counter that resets it as two pills.
  • feat Feature models are edited with toggles. When the document defines feature-model styles for forest (named abstract, concrete, mandatory, optional, or, alternative, with or without a prefix such as fm), the tree widget and the PDF node toolbar show toggles for them on a tree that uses them. They switch a node abstract or concrete and mandatory or optional, and a parent's children between and, or and alternative, writing the style names into the node's options. The analysis finds the styles by their names, so a document's own feature-model styles work too.
  • fix The playground no longer ships a feature-model example. The document is kept as a test fixture.
  • fix A forest node's toolbar in the PDF stands above the node. Beside it, the toolbar hid the next sibling.
  • fix A forest tree's sketch draws each node's frame around the node. With for tree={draw} every frame stood stacked on the root and no other node had one. forest draws a node into a box and places the box later, and what a box drew now moves with it.
  • fix Theorem-like environments have a gutter icon. Each \newtheorem and each \begin of a theorem, lemma or definition opens the theorem manager on its kind.
  • feat A reference's completion browses all labels. "Browse all labels…" opens every label with its kind, number, caption or title and place, and choosing one writes it into the reference.
  • feat satex/fontAt gives the font the run set text in at a place, as its family, series and shape (plugins.typeset.fonts).
  • feat The font widget lists the installation's math fonts. A package that declares the math symbol fonts is one on pdfLaTeX, an OpenType font with a MATH table one with unicode-math. Each comes with TeX's sample and the edit that loads it.
  • fix Letters typed in the PDF inside a new \textbf{…} or \textit{…} echo bold or italic at once. The echo took the font from another word the build set with that command, and with none it stayed regular until the build landed. Once the language server has run the text, the echo takes the font the run set there, so a command of your own (\kw{…}) echoes in its font too.
  • fix A finding on a command's argument marks only its words on the page. The low-contrast mark of \textcolor{brown}{\textbf{word}} covered the whole line: the typeset view placed the argument's letters where reading stood after it, so their sites missed the finding's range. Each letter now stands at its own column.
  • feat In math, Font ▸ Custom… offers the installation's math fonts, each with TeX's sample of big operators and letters in it. On pdfLaTeX a math font is a package (newtxmath, eulervm, mathpazo …), with unicode-math an OpenType math font (\setmathfont{STIXTwoMath-Regular.otf}). Choosing one loads it.
  • fix Type mode: bibliography and contents rows on the PDF go to their source. A bibliography row types into the .bib field it shows, of the entry the build's .bbl sets there; a style's own words open the bibliography manager. A contents line's number and page say "Not typed here" instead of typing into \tableofcontents.
  • fix Type mode: a click on the footer's page number draws no second number. The page's own digits stay as set (a click on page 2 showed 23); a page that prints no footer (\thispagestyle{empty}) says so instead of drawing a 1.
  • fix The typing echo never shows an environment's arguments. A paragraph followed by a table showed runs. [ht] l>p3.9cmr after an edit of the table's columns: an edit past the caret's paragraph leaves its row as built, and \begin{…}'s brackets and braces set nothing.
  • fix A forest node's buttons in the PDF stay while the pointer moves to them. They sat a gap away from the node's text and vanished on the way. They now stand right beside it, and the node, the gap and the buttons keep them, in the Typeset view too.
  • feat A forest node's actions float beside it. Add child, add sibling, move left or right, draw a line and delete are a small toolbar next to the selected node, in the tree widget and in the PDF, no longer a row below the form.
  • feat A forest tree's edges are edited by a click. A click on an edge in the tree widget selects it: where it leaves the parent and arrives at the child (the anchors of the nodes' shapes, from the run) and a label on it. The PDF's node menu has the same rows under Edge from parent.
  • feat Lines and arrows between any two nodes of a forest tree. Draw a line (the toolbar's ⤳, then a click on the other node) names both nodes and writes \draw[->] (a) -- (b); after the tree, where forest draws it. The widget shows these lines dashed, and a click selects one to change or delete it.
  • feat Strut every node, and style the nodes of one level. In a forest tree or a tikzpicture, the code action Strut every node gives each node TikZ's execute at begin node=\strut, so all nodes of a row are equally high. The forest widget and the PDF's node menu set where level=N{…}{} for the levels forest computed.
  • fix Letters typed in the PDF inside a new \textbf{…} or \textit{…} echo bold or italic at once. The echo took the font from another word the build set with that command, and with none it stayed regular until the build landed.
  • fix A finding on a command's argument marks only its words on the page. The low-contrast mark of \textcolor{brown}{\textbf{word}} covered the whole line: the argument's letters are set where reading stood after it, so their sites missed the finding's range.
  • feat The format bar's family dropdown shows each family's sample, and Custom… suggests the fonts the engine can set. Roman, Sans serif and Typewriter show the selection in their Latin Modern faces. With fontspec a suggested font is set on the selection (\fontspec); on pdfLaTeX a font is a package, offered as the main font with its TeX sample.
  • feat An E button for \emph beside B, I and T, which sit closer together.
  • feat In math, Font ▸ lists the math alphabets with the selection set in each (\mathrm to \mathcal, \mathbb and \mathfrak loading amssymb). Math ▸ "word" as text wraps the letters at the caret in \text{…}, or \mbox{…} without amsmath.
  • fix Clicks and keys in the Typeset view work on every row, at once. A click on macro text, an undecided arm ([not]) or an unknown value (⟨?⟩) no longer fails with "can't access property": the caret goes into the definition, the unknown value explains itself and the editor goes to its line. Text typed in the Typeset view can be clicked and deleted before the run lands, and a word selected in the PDF no longer takes keys typed in the Typeset view. A click while a run is under way places the caret at once from the last run's rows and the last build, their lines moved by the edits since, instead of waiting for the analysis.
  • fix Fix and ignore buttons are short pills. A finding's buttons use a smaller font and fit several to a line; "Ignore here" and "Ignore rule" name the rule only in their tooltip, and already-defined offers one action, \renewcommand, with the other way out in its message.
  • feat-fix Insert ▸ TikZ picture writes at once; the package load follows in the same undo step. A new package goes after the preamble's last \usepackage, before its definitions.
  • fix Insert ▸ TikZ picture loads only tikz, and writes at once. The names of one write are resolved together: \node inside the picture runs clean under tikz, so it no longer loaded pgflibraryplotmarks after seconds of probes.
  • feat-fix Learning command arguments (for completion and hovers) no longer shows as a running step. The status line reads as ready once the document is analyzed; the learning goes on quietly, named in the status line's tooltip.
  • feat-fix The editor's Color menu is the pages' color picker (swatches, the document's colors, Mix, Custom). The format bar shows each size in points (small · 9 pt) and each family's font (Roman · Latin Modern), each with a Custom entry, and the color in effect. A line with a finding offers its table, figure or placement dialog from the finding's marker too.
  • feat-fix Typing in a footnote shows the text at the page foot, where the build sets it; the caret no longer jumps down when the build lands. Enter inside an inline formula does nothing (at its end it steps out) instead of breaking the source line. Left and Right in math stop in every _{…} and ^{…} slot, empty ones too.
  • feat-fix The PDF bar's fold button is a small chevron, and it takes no room while hidden. Clicking an example window on the landing page opens it in the playground. The typing video shows the page number and types into the new list item.
  • feat-fix Enter in a footnote starts a paragraph inside it, and a click below a footnote goes to its end. Both used to start a body paragraph after \footnote{…}.
  • feat-fix The first key typed into a row shows the moved words in the same frame. They were a page background the browser painted a frame late; they are drawn on a canvas at once. The completion list marks only its chosen entry, so a pointer passing over it marks nothing.
  • feat-fix The sample paper builds without an error. Its directly recursive example macro was named \repeat, which LaTeX defines for \loop; it is \recurse now.
  • feat-fix Typing beside a formula keeps it whole. A row redrawn while typing (a \newcommand output changed) copied the page's pixels only as tall as the typed word: \sum_i turned into a bar and lost its i. The whole row's height moves now.
  • feat-fix The page no longer blinks when a build lands while typing. The page kept on screen stays drawn, so the typed text and whole pages no longer vanish for a frame at each build. A centered title stays centered while it is typed.
  • feat-fix The landing claim shows its typing caret from the first letter on, as tall as the resting caret.
  • feat Ctrl+Left and Ctrl+Right move the Type caret by words. The caret stops at word starts and ends, across lines, and never inside a command's name or a key.
  • feat A finding on the PDF offers its quick fix. Hovering its mark shows the editor's card with a fix button, and the right-click menu lists the fixes under the pointer.
  • feat-fix The Type caret stays at the end of an inline formula when the build lands. It used to jump past the words after the formula.
  • feat-fix A hover or Explain asked while the analysis runs is answered at once from the last finished run (3.2–3.7 s before, about 50 ms now): the playground's server answers every reading question during a run, as the native one does.
  • feat-fix The editor's context menu opens at once again, also while an analysis runs. It waited for the worker's widget and rename answers behind the run and showed nothing until the run ended. Those rows now follow in place.
  • feat-fix A right click on the pages or the Typeset view always opens the menu. Where the run has not placed the text yet, it says so in a disabled row instead of showing nothing.
  • feat The editor's and the pages' context menus share one look: header, rows, hints and submenus alike, in light and dark.
  • feat A selection's menu starts with a format bar: B, I and T toggles pressed where that style is in force, and size and family dropdowns at their current values. Both the editor and the pages show it.
  • feat-fix The math layer no longer tints a title's author. \maketitle sets the author in a tabular, which LaTeX builds in math mode: a math span its box fills is text.
  • feat-fix A click on the page only places the caret. The preview redrew the clicked word from its source with commands stripped (sa\TeX drawn as sa and stray glyphs).
  • feat-fix The typing preview shows math symbols. \cdot, \alpha and other commands with a symbol draw it at once (a ⋅ b), where they vanished until the build.
  • feat-fix A command name half typed on the page no longer flashes "1 error". Typing \su on the way to \sum started a build of the unfinished name, and its error showed until the next build. Builds and findings now wait until the name is finished, 1.5 s at most.
  • perf-fix Typing into the PDF: the pages follow each key also with automatic compile on. A build landed 1-3 s after the last key, now 0.35 s: builds up to the auto-compile delay count as live, and each key no longer restarts the timer.
  • feat tikzpingus comes with the first download, cached like tikz, so a penguin draws without a fetch.
  • feat-fix The envs layer frames a picture, minipage or float whole: an environment's extent takes the box it closed, as SyncTeX records it on its \end line, beside the rows set inside it.
  • feat-fix \end{ completes at once with the environments still open at the caret, innermost first, also while a run is busy.
  • feat-fix Enter in the editor no longer scrolls the PDF away: following the caret maps editor lines to the built text's lines.
  • feat-fix Keys with spaces complete in a key list: pingu[left wi offers left wing wave.
  • feat-fix No table widget on \begin{equation}: an environment gets the table dialog only when its own body splits into cells or rows.
  • feat-fix The math layer tints displayed formulas too (equation, align, \[…\]): SyncTeX marks only inline math, so a display takes the boxes of its source lines.
  • feat A typing preview stays when the caret moves on: the row keeps what was typed until the build of that text is shown.
  • feat-fix Math typed on the page previews once: a newer preview of a row replaces the kept one, so a formula no longer shows a second ∑ or a bar of one beside it.
  • feat-fix Typing on the page keeps centered text centered (center, \centering, captions) also before the build's line boxes are known, leaves an equation's number or \tag where it stands, and never pushes the page number down.
  • feat Go to a page directly: a page field beside the Pages menu scrolls to the number typed (Enter) and shows the page in view while scrolling; that page gets a frame.
  • feat The build status names the file the analysis is in: (chapter2.tex line 106 of 182, 57.8 s).
  • feat-fix \usepackage{…} completion offers every bundled package while a run goes on, not only the last list kept for another prefix.
  • feat blindtext and lipsum come with the first download, so \usepackage{blindtext} completes and loads at once.
  • feat Completion prefers the case typed: \Blind offers \Blinddocument before \blinddocument.
  • feat The color widget's mix field completes color names at each ! and has a slider for the first color's share.
  • feat A drag on the page can start and end inside a word: the selection takes those characters (the m and p of example), where the source spells the word as set.
  • feat One color menu everywhere: a selection's Color offers what TikZ's does: the document's colors, xcolor's, More colors, Mix… and Custom…; xcolor is loaded when missing.
  • feat The typing echo follows the style typed at the caret: a word typed into \textit{…}, \textbf{…}, \texttt{…}, after \small or \fontsize, or in a heading shows in that style and size before the build lands.
  • feat Math ▸ Selection as text / Back to text / To inline math in the editor's and the page's menu.
  • feat Size ▸ Custom size… asks for any size with its unit and writes {\fontsize{v}{1.2v}\selectfont …}.
  • fix Coloring, formatting or resizing a selection that crosses the end of a group no longer breaks the source: each balanced part is wrapped on its own (\textit{… \textcolor{olive}{everything we}}\textcolor{olive}{ do}).
  • feat Ctrl/Cmd+M toggles math, in the editor and on the pages: a selection goes into \(…\) (or its whole formula is unwrapped), at the caret an empty formula starts, or the caret leaves the formula past its closer. On the pages, Right just before a formula's closer steps out of the formula.
  • fix The status line says what the probe phase is for: "Learning command arguments (for completion and hovers)" instead of "Trying commands out".
  • fix A graphic the playground has not fetched yet no longer makes Insert load graphics: the package probed for \includegraphics[width=…] is judged by the call, not by whether the graphic's file is there.
  • fix The PDF no longer blanks, dims or loses its layers while you type. A build replaces the pages in place: each page keeps its last image until the new one is drawn, a build that gives no PDF leaves the last pages under its error, and the layers stay at full strength, placed on the build's own lines also while the text has moved on.
  • fix A package the playground has not fetched yet is preferred to one that rejects the call: an inserted \includegraphics[width=…] loads graphicx, not graphics, also before graphicx is in the bundle.
  • fix The page's first command list after \ is the right one: it is asked where the document's own commands are in force, and one typed letter is a prefix (\t puts \textbf first), so the list no longer reorders after ~1 s.
  • fix The caret stays in a new paragraph begun by a command (\textbf{} on a line of its own) instead of jumping to the end of the line above, and text typed there is echoed.
  • fix \sum is no longer echoed as a wrong glyph while typing: the echo draws math operators from the math fallback font, not the page's extension font, which holds several sizes per operator.
  • fix Hover cards stay put while a build lands: overlays move in place and a card follows its element at once.
  • feat Insert ▸ Lists offers a description list.
  • fix A figure inserted in the playground loads graphicx, a forest tree loads forest: the shipped package index lists the other packages that may provide a name (+name), tried when the usual one rejects the call, and the site build reads conventions.definers.
  • perf Typeset rows a run sets as the last one did are not sent again: a word typed at the end of a 737-page document is quiet after about 10 s instead of 11-12 s.
  • fix The playground no longer runs out of memory on very long documents (700+ pages): the Typeset view's rows arrive in parts, and typing in a paragraph sends only that paragraph's rows (peak 6.1 GB to 1.9 GB natively at 737 pages).
  • fix The playground builds again: the browser build no longer calls native-only process-group and warm-engine code.
  • feat Templates and a New document dialog. ACM, IEEE, Springer LNCS, Elsevier, APS REVTeX from TeX Live and ACL, NeurIPS, ICML fetched from their providers (version and source reported); a Class options lens on \documentclass with a live, copyable header line; satex new and the editor's New document command, also from a GitHub repository or a zip.
  • perf A big build reaches the page in parts, so a 737-page document lands without stalls (longest task 0.16 s).
  • perf The PDF pane handles books: one SyncTeX and word index per build, layers only for the pages near the view. A 737-page document scrolls and types without stalls (it hung for minutes after a build).
  • fix The style prompt shows the count per file and up to three places with the spot marked before it asks.
  • fix Completion ranks common commands after the document's own uses (\textb offers \textbf first); \mathcolor is written from kernel 2022-06 on; the page menu has Show in source and Explain on macro-made text; old-style TikZ arrow tips render in the gallery.
  • fix Type mode: text typed into teletype (\texttt, listings) is drawn in a fixed-width face matching the page's.
  • fix Type mode: Up, Down, Home and End move by visual line, column by column; a click on a math glyph (−, ≤, ·) places the caret at the character it was read from; an inserted environment is no longer echoed as text.
  • fix A macro's output edges belong to its call. A click before a macro's output types before the call, a caret after the call stands after the whole output; only inside the output does typing edit the definition.
  • fix Insert ▸ Math from the page keeps the caret, every inserted block builds, and Ctrl/Cmd+B or +I wraps or unwraps a page selection.
  • fix The page settings' header and footer fields show what the page style prints (footer centre \thepage) and suggest it; the layers button is called View.
  • fix A playground that fails to start heals itself. Stored layout and view choices of another shape are dropped when read; a second failed start reloads without them (text and settings kept); the message's full text and stack are in its tooltip and the console. Smart wrap keeps the page's caret on the text it typed.
  • fix A typed ~ stays a tie; a double click selects a word on the page; findings of a run a widget question interrupted are published. Before, a slides edit could leave the findings stale while the status said Ready.
  • fix A root cleared and written again is no longer flagged as a file no root reads.
  • feat Insert, Format, Color, Font and Size menus in the page and the editor alike. Insert is nested (Math, Floats, Lists, Structure, References, Pictures) with each row's LaTeX beside it; a selection gets Bold, Italic, Emphasis, Mono, Small caps (math forms in math), colors and sizes; Ctrl/Cmd+B and +I start, leave or split bold and italic, and the arrow keys leave a command at its edges; a gray hint shows the command around the caret.
  • fix A widget's package or TikZ library joins the preamble's existing list (\usetikzlibrary{a, b}), never twice, in the root document also from an \input file.
  • fix The PDF toolbar is narrower: View sits in the layers popover, the page select fits its content, the download icon is clear, the run panel shows its stat cards again and the progress no longer jumps back.
  • feat tabularray: tblr and longtblr open the table widget (merged cells included), and a table converts between tabular, tabularx, longtable and tblr. Spans, booktabs rules (one \UseTblrLibrary line) and captions carry over; a conversion that cannot is refused with the reason.
  • fix Type mode: text typed into a line re-spaces the whole line as pdfTeX does, and inline math breaks and spaces by TeX's rules with the run's own math font widths (satex/mathwidths).
  • fix Completion and command colors follow the catcodes where you type. After \sum_ no name is being typed, and internal names such as \c__socket_… are offered only where _ or @ is a letter (\ExplSyntaxOn, \makeatletter, a package); a .sty completes its @ names.
  • fix The page's caret stays on the line you type in. In a new paragraph or a formula it no longer sits on the previous paragraph's row, and the editor's caret lands inside what the page wrote.
  • fix Typing after a macro's punctuation (Hello,) no longer draws the comma twice; a listing takes clicks and typing.
  • fix The landing page's live demo shows the typeset paragraph again. A streamed note from the worker was taken as the answer to the next question.
  • fix Enter at the end of a command's argument starts a new paragraph after the command; in a list it starts a new \item. Inside an argument it is refused, as TeX would error.
  • fix A widget's write in an \input file loads its package in the root document's preamble (a column width needs array), so the build no longer fails.
  • feat Type mode: a \ref, \eqref, \pageref or \cite typed shows its number at once. Learned from the last run and satex's own aux, never LaTeX's; a guess is drawn faint, and the key itself takes typing.
  • fix Type mode: text typed at a full page's foot goes over to the next page's top and pushes its text down, as pdfTeX does. The pages an edit spans switch to the new build together, without a blink.
  • fix Type mode: a formula in text breaks after a relation or binary operator as TeX does. A paragraph typed after Enter is justified by TeX's total fit.
  • feat Type mode: typing in a TikZ picture draws it as the run computed it (frames, edges, node texts, dashed where approximate) until the build lands.
  • fix Widgets write the document's macros only where the run typeset that text as prose (off by default): never in math, verbatim, \url, labels or comments, and only in the inserted text.
  • fix Drawing on an indented line (in a minipage) is written at that indent; Unicode symbols typed into the formula bar (α, ≤) are written as commands. The standalone Draw page gets the formula bar too.
  • feat Drawing builds formulas. The ∑ toggle in the draw widget opens a formula bar: templates with slots (fraction, scripts, root, sum, integral, parentheses, a 2×2 matrix), Tab to the next slot, drawn symbols go into the formula, and a live preview. Insert writes clean inline math at the cursor through the snapshot printer, loading amsmath when a matrix needs it.
  • fix Drawing: an unedited picture stays as it was; the pad takes dots and undo. A picture whose first statement has no lead is no longer rewritten with its first node moved last. A tap on the draw pad inks a dot (\cdot, ÷), one pointer draws at a time, and strokes, clears and stamps undo and redo (Ctrl+Z, Ctrl+Shift+Z).
  • fix Table dialog: a double click edits the cell. It opens the cell's input again; on a phone the dialog's title bar stays on one row.
  • fix Type mode: Backspace, Delete and the arrows move by whole characters. An emoji or an accented letter made of several code points is erased and stepped over as one, never cut in half.
  • fix Insert menu: a block lands after the math, table or picture the caret is in. A table or figure inserted with the caret inside math, a tabular, a TikZ picture or a float goes after it, not into it. The column spacing of a table without \end no longer writes a \setlength that leaks past it.
  • fix Table widget: the dialog fits its table, rules line up with the cells. A small table opens a dialog as tall as its content, not a near full-screen one, and an \hline runs from the first cell's edge to the last, no longer half a gutter past the right one. The landing page's typing demo shows the whole dialog.
  • feat Font and size widget. "Font and size…" on \documentclass shows the base size and main font the run set, and writes another: a class option (fontsize= for KOMA-Script), a font package with T1 on pdfLaTeX, \setmainfont on LuaLaTeX and XeLaTeX (type_plugins.font). The same choices are code actions in every editor.
  • feat Widgets write the document's own LaTeX (conventions.writing.macros, off by default). Text that is the body of your command without arguments is written as that command (TinyNet → \model), never in a label, file or key list. A written call that then stands twice gets a note offering to extract it (conventions.writing).
  • fix Table dialog: a tabular nested in a cell stays one cell.

Build and infrastructure

  • fix satex cache status no longer says "running" right after the background builder ended. The builder unlocks its lock file before closing it, so a child process another thread started at that moment cannot hold it.
  • fix Caches are keyed on the build's source digest alone. The hand-bumped encoding and semantic versions are gone from cache file names, cache files and archives. A change to what a cache holds or how it is stored changes the digest, so no number needs bumping. Caches of an earlier satex are rebuilt once and pruned like any other build's.
  • feat A container image: docker run --rm -v "$PWD:/work" ghcr.io/eagleoutice/satex lint. It holds satex, TeX Live with the recommended LaTeX packages, latexmk and the interpreted kernel. Each release publishes it to GHCR. lsp --host 0.0.0.0 --port 2087 serves the language server from it.
All commits
  • 247e3fb perf(bench): results for 0.2.5
  • 0a6f260 perf(bench): results for 0.2.5
  • 23e17a3 Performance Improvements via Parameterized Caching, Fixes (#45)
All commits
  • 0aaadb5 build(cli): raw close_range for old glibc