Repository navigation
Cached packages, early bibliography, steadier CI (v0.2.6 published)
CLI
fixThe Linux ARM binary builds again. v0.2.6 linked against glibc'sclose_rangewrapper, 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
featThe 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.featThe 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.fixThe 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=forcerecords anyway).fixA command typed into the PDF echoes what it typesets.\TeX,\LaTeXor 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).fixA click on the date of a title page puts the caret into\date. Text that\maketitlesets from a stored argument after another one (the date after the author) was refused as "code satex cannot place".fixA finding's hover card no longer flickers while runs come and go. The card is written again only when its text changes.fixControls 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.fixThe PDF bar's page selection looks like the bar's other buttons.perfThe benchmark page shows the results for 0.2.5. [0a6f260] [247e3fb]fixA 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.featRows 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,\multicolumnspans grown or shrunk, a rule moved with its row or column,\clineand\cmidrulerenumbered. One undo takes it back.featThe 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.featTyping in a table also wraps paragraph cells and moves\multicolumnspans and the column chips. Ap,m,borXcell 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.featTyping 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.40766a3featCompile benchmarks:satex compileagainst 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
fixA 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
perfMath 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.perfTyping 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.featA math command typed in text is set in math. Completing\sum,\fracor 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'sMissing $ insertedbefore 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).featEvery 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'ssatex.yaml. No Fix all applies them.fixTikZ previews are kept per installation, and a picture that failed to draw is drawn again on the next ask.fixTL 2019TikZ previews draw with TeX Live 2019's dvisvgm, which has no--exact-bbox.fixTikZ 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.perfA 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.-vvsays what each part of serving an edit took and names the slowest rules.perfThe 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/runInfosays 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.perfA 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).-vvsays what each part of a splice, of concluding a run and of the lint took.fixAn 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\captioncompletes 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.fixA 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.perfEach 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.fixCompletions show a command's whole shape.\sectionoffers*[⟨options⟩]{⟨arg⟩}, ltcmd commands their(…)and<…>arguments, a\defits 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.fixEditors: 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 thansatex lint.fixEditors read the open.biband root, not the files on disk. An entry removed from an open.bibleaves its\citeundefined, an\includecommented out leaves its chapter's labels undefined, and a.bblor.indthe tool no longer makes is removed instead of kept stale.fixEditors: an edited.bibor a commented-out\includegives 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.bblor.indthe tool no longer makes is removed. An entry removed from an open.bibleaves its\citeundefined, and a reference to a label in an un-\included chapter is undefined.perfPlayground 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.perfEdits 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.fixEditors 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.bibor\inputfile, or a file that now exists, is no longer served from a stale run.fixEditors: 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
fixTL 2019satex compilerests on TeX Live 2019: the first pass's.auxfollows the installed kernel, which never writes\@abspage@last.perfcompile.warmis 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.perfXeLaTeX 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.perfsatex compilereturns with the PDF. Rule-level explanations come at once, the analysis runs detached and its findings show on the next call (compile.waitwaits for them): a one-word edit of a big book returns in about latexmk's time instead of 18 s.perfsatex compileruns no draft pass and never waits for the preamble format. A fresh build starts from latexmk's seed.auxand 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.fixA build is one process group, ended when a newer one replaces it, its client goes away orcompile.timeoutpasses. Warm engines end after their minute, and a stopped server takes its build along: no orphaned pdflatex.perfsatex compileruns 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.fixThe 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.perfsatex 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 withcompile.explainon, the PDF of an edit in ~3 s instead of after the analysis.compile.warmworks from the command line: the engine waits on a named pipe under.satex-buildthat 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.featmemoize:satex compileextracts memoize's externs itself. No shell escape and no Perl module needed: the build runs memoize's TeX extraction between passes (compile.memoize).
CLI
featsatex updatessays which loaded packages have a newer release, and what changed in it. The installed version is what\ProvidesPackageset 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 isunknown, nevercurrent. Withupdates.changesboth releases run, and the commands, environments and options whose meaning differs are listed.fixsatex explainplaces a kernel command at its declaration (\textit @ latex.ltx:14219:25, not inside\DeclareRobustCommand), with its column also when read from the kernel cache.fixsatex slicerun 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.fixA position may be a bare line (satex slice --at 40): it names the line from its first column, where it said "expected LINE:COL".fixsatex -f chapter.texreads a chapter through the document that\inputs it, as the editor does: alone it reported\sectionas undefined on every line. A macro's bare{#1}no longer counts as naming a file, which also gave editors a wrong root.fix--setbefore the command and after it both apply.satex --set limits.steps=500 lint --set load.inputs=truekept only the second, so the first limit was lost.4cf8bfc
Analysis
perfA bibliography after its citations settles a run sooner. Where\bibliographystands after every\cite, the first build run makes the.bblitself 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.featlimits.build_widen_afternames the build run after which changing lines are widened (2, as before).1widens what the second run changed: one run fewer, with page numbers that moved read as unknown digits.fixA 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.fixA 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\letcopy 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.fixA 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.perfA 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.fixA 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:Nnloop under TeX Live 2026: 4.0M steps, now 1.9M). A cut inside a smaller library call drops only that call.fe0c47ffixThe 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 andcontrols' own switches do not count [080cf74].fixTL ≤ 2021\creationdateunder 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.fixThe names a file defines are found again for other definers. A memo kept the first caller's answer for every later one.fix\parshapewith 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@ \hsizeran 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.fixA 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.fixWithout a configured year, satex reads the TeX Live whosetexis onPATH, not the newest one under/usr/local/texlive.perfA 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.\pgfmathparsein a\loopwas 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.fixA widened expl3 variable keeps the form of its kind (assumptionvariable-kind-shape,analysis.assume_variable_kind_shape). An fp widened after a cut lost l3fp's delimiters, so\fp_use:Nran 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.fixLuaTeX 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.\fontnameof a face requested twice is the first request's, as in LuaTeX.fixA package cache stays served when lines above the load move. TeX Live 2019's kernel keeps the\usepackagetokens 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.fixTL 2019A 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.fixTL 2019Options of a repeated load reach the option-clash check on TeX Live 2019, whose kernel has no\@onefilewithoptions@clashchk.fixTL 2019\{and other symbols read as TeX Live 2019'stuenc.defdeclares them (\DeclareTextSymbolwith\UnicodeEncodingName).fix\openinof the job's log is not at its end, and a label likeStep\nobreakspace 2gives the word "Step" (TeX Live 2022).fix\XeTeXglyphnameon a TFM font leaves the number unread, as xetex does.fixA digit slice open to the end of a number has no known width. It overflowed and gave exactly 2147483647 in release builds.fixTL 2019Biber'sdatatype=dateconstraint no longer flags dates. Only ISBN, ISSN and ISMN values are checked for their check digit.fixTL 2019Package completion works on TeX Live 2019: the kernel's hooks for a missing package no longer decide what the argument is.fixA 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.fixTL 2022The 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_valueand spent 500M steps at\end{document}.fixTL 2022A kernel cut bylimits.format_stepsno 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-fixA package the document or kernel opens before loading it is cached again. Older kernels'\IfFileExistsopen each file with\openinfirst, and such a package never got its cache.fix\openinonly 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-fixA package that opens and closes its own stream is served from its cache while the document holds another stream open.fixsatex asks the installed engine which primitives it has, so an older LuaTeX or XeTeX is no longer said to define\partokennameor\showstream.fixTL ≤ 2022Older kernels (TeX Live 2019, 2022) report a repeated\usepackageand its option clash, and a label built from a counter is recorded expanded where\protected@writewrites inside its group.perfA 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-fixlimits.secondsdefaults to 600, and a probe of a package for a missing command has its ownlimits.probe_seconds(20). A probe ran without any time limit and kept a lint of a misspelled\usepackagegoing for minutes.fixA 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.fixA cut recursion no longer hangs counting what the dropped text would close. Each macro is counted once; acmart's title with\maketitleinside\affiliationran pastlimits.secondsfor minutes.fixA citation key or label with non-ASCII letters (Härer2020) under pdfTeX matches its.bibentry and is shown as written, not as its bytes (Härer2020); it was reported as undefined.fixsiunitxScolumns 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.fixA label that a macro or a\foreachrefers to itself is no longer reported as never referenced.fixA\csnamename 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.fixAn\outername 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,\longor not, and "Argument of … has an extra }" names the macro reading the argument.fixACM papers end again, in seconds (acmartwith\emailundersigconf: 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 withcmaploaded. The title box has its height and acmart's title loop is decided.fixA 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.auxrun after run. The count stays an interval.fixNo 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\beginwaited (hyperxmp does) made\begin{document}stand at the\documentclassline. Each file has its own window now.fixTwo-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}withx\clearpageis on page 2 with one page shipped, as pdflatex has it, where satex said page 1 and none.fixTokens 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.fixBuilding package caches no longer counts towardlimits.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.fixCode that assigns for long without reading source (a\foreachover many TikZ nodes) no longer aborts on memory: the write log keeps one entry per name and group depth pastlimits.write_log.fixThe allocation that takes a run pastlimits.memoryis granted, so the run stops withlimit-reachedinstead of the process aborting.featlimits.nesting(300): how deeply steps nest inside scans and quantities inside quantities before the nesting is widened, configurable like every other limit.fixAn argument the document begins and never closes is an error (\cite[p.~3before\end{document}): pdflatex stops with "File ended while scanning use of …"; satex said nothing, since the end was met inside library code.fixA 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).fixA 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-vvnames the sites with the most undecided choices (satex: choices N at file:line, the top 20).fixA deeply nested\numexprno longer overflows the stack (also in the playground), and the language server survives a failed request.fixA 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.perfA 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\aftergrouptokens, 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\csnameof wholly unknown text no longer walks every known name.fixA Lua run that stops leaves what its rest would have written unknown. Globals the stopped rest assigns read as unknown after it; reads such aspcall(require, …)ort.f =no longer count as writes.fixThe package index reads the code files a package inputs, and ltcmd's environments.tikzpictureis 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 aconventions.definersentry written with its backslash counts.fixNo "\is never used" for a name the run could not decide (\csname\romannumeral\count1\endcsname): that name is built, not written on the line.fixNo false errors on ACM (acmart) documents: text the engine alone knows, read again by\scantokens, stays unknown text.fixA build file read back line by line sends the build round again. counttexruns'.ctrline names no macro, so the build stopped after two runs, where latexmk runs on to its limit.fixA 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.fixA 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.fixA 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.fixThe cover of nested one-of texts is bounded. A one-of already being covered adds nothing and pastlimits.meaning_setnested ones the text is unknown: a beamer overlay document no longer overflows the stack.fixOne 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).fixReachinglimits.list_itemsis reported (limit-reached), and a progress note names the setting once half of it is used.perfEdits 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 configurablelimits.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.fixA printed dimension read back keeps its bound. The fraction\theprints 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.fixThe 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.fixA 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>:wdifferently from a fresh one.fixUnknown 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\defthrough it may now define each name in it.fixA recursion that never returns is TeX's "capacity exceeded" error, and finding counts match the build. A half-typed\beginorsee \refbefore\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.fixPackage caches are parameterized by the clock and the job name. A value a package only passes on (a count set from\time,\jobnameor\pdfcreationdatein an\edef) is filled in when the cache is served, and an\ifnumon 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.fixMissing braces after^,_,\sqrt,\barand\leftare errors. satex checks the operand TeX scans:\(\sum_ \)reports "Missing { inserted" and "Missing } inserted" as pdflatex does,\left\hboxreports "Missing delimiter (. inserted)", and\left{keeps its brace.perfHyphenation 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.perfMacro 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.perfTypesetting 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.perfMacro 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.fixA 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.fixPackage caches never replay another date. A package's reads of\year,\month,\day,\timeand\pdfcreationdatekey 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.fixA 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.perfCold 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.perfTypesetting 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.fixAn 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.fixLuaLaTeX: a\directluathat 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).fixfp 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.fixPackage caches are no longer keyed by open\readstreams through loop bounds. A loop head counts a stream use only when two compared bounds differ in their stream half.fixAn unknown run of digits is no longer one argument. A number nothing bounds (\theof 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'srandunder an unknown clock reaches the end.perfNumbers 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.fixAfter 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.fixGlue arithmetic on ranges.\advanceon a skip register holding a range of glue adds per tex.web § 1239 on intervals instead of giving up, so\addvspace/\addpenaltyafter 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.fixA 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.fixA cell's&given back behind its v part is marked, not recognised by its place. It stands behind an\endtemplatemarker token (tex.web § 780), so a&that a macro in the v part expands to is no false "\endtemplateis\outer" error.fixA 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\xof unknown sign keeps both signs.fixA 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\xdefor 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.fixBoxes 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/\unhboxput them back and\lastbox/\unskiprestore the list's size (tex.web §§ 668, 1105, 1110); a box on a vertical list adds its interline glue first (§ 679), so\the\lastskipafter\lastboxis no longer a wrong 3pt for TeX's 12pt;\box255gets the page's record at a forced break (§§ 970, 1001, 1017).fixA 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.perfFindings 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.perfCheckpoints 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.perfUp 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\messagetext reaches is no longer quadratic: big_book 425 → 316 G instructions (−26 %), a TikZ sankey 244 → 223 G; steps and findings identical.fixA 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.perfPackage caches are shared between projects that setproject.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 %).fixA 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.fixAn&in skipped text ends atabularcell too. A cell's&and\crare matched at the brace level TeX uses after the template's u part (tex.web §324), for\halignand LaTeX's tabular alike, so pdflatex's errors there are reported.fixEvery\includegraphicsof 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, sographic-without-alt, the image dialog and queries see each include.fixRules and rename find a\refor accent inside another command's argument (\footnote,\textbf).fixQuick fix: a command a package makes with its own definer loads that package.perfCold 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.fixArithmetic on unknown values: certain and possible overflows, l3fp sums.\multiply,\numexprand\dimexpron 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\alphof a counter past 26 is a certain "Counter too large".\fp_eval:n{1+\x}with\xa bounded unknown integer is a number again, no longer\parwith a false "Too many }'s".fixLuaTeX: 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.fixdimension-times(S003) no longer fires inside names likew120x5.fixTeX errors where TeX has them, none after a gap.\meaningand\ifxof an undefined name behind\noexpandsee\relax. An&or\crread again after a cell's template ends the cell in skipped text too. A file ending inside a definition is TeX'sFile ended while scanningerror. No certain missing\end{document}after a part the run could not follow.\include{k}is no citation ofk.fixOne 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-entryandshell-escapeno longer report an error only some runs have. A document's end after unknown text is no certainmissing-end, and a missing\endis 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\readfrom the terminal in nonstop mode is reported as the fatal error it is.fixA 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 tolimits.text_namesnames.fixAn error on one arm of a choice satex could not decide is a possible error, never a certain one. False certainnever defined in this runand library errors on such arms are gone.featmemoize: 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\openoutexpands like\edef, so memoize's\jobname.mmzis found. A primitive behind\pdfprimitiveruns once.
Lints
featsatex query taggingsays more.runningis the tagging code's own answer,modulesthe tagging files loaded,markedthe marked content written by tag. A package the status list lacks isunlisted. Without\DocumentMetadatait lists each package's status, to judge a document before tagging is on.fixgraphic-without-altfollows the tagging state where the graphic stands. It reports where the run raised latex-lab's warning. A graphic under\SuspendTaggingor\tag_stop:is no finding, and one whose options come from a macro is checked too.fixTagging lints ask the tagging code whether it tags (\tag_if_active:TF), not only what\DocumentMetadatadeclared. A document that switches tagging off with\tagpdfsetupgets no tagging findings.fixTL ≤ 2020The hand-set quantity fix writes\SIwhere the installed siunitx is version 2. With siunitx not loaded yet, the fix wrote\qty, which siunitx 2 does not define.fixProse 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.fixValues 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).fixA 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.fixpreamble-costnames the class when the document loads no package itself ("the class beamer reads 375 files"), not "0 packages requested directly".fixA 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.fixprimitive-tex-commandno longer reports the project's own packages and classes, where\csnameand\hskipare the code's tools; its advice is for the document's text.fixColor 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.fixA 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-macroreports 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.fixFewer false style findings.(a+b)^2is a note, not a warning; no missing italic correction where the next character stands in another box (forest and TikZ nodes);indistinct-colorsreports only pairs that include a color the document itself names.fixNo finding or fix names a command the author cannot write.spelled-out-macrono longer offers\reserved@a{},\@currenvir{}or an expl3 name like\my_word:as the command for a typed word, andprimitive-tex-commandno longer rewrites a\csnamein 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.featNew infospelled-out-macro(S070): a word a command of the document sets, typed out by hand.TinyNetwritten where\newcommand\model{TinyNet}exists, orcellRwhere 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.fixbibliography-entry-missing-fieldfollows each reader's rules. An entry withcrossrefis checked against what its parent hands down: every field with BibTeX, what biblatex's inheritance rules say with biber (a@proceedings'titlearrives asbooktitle).xrefhands down nothing, and a parent that is not there leaves the child as it is. Before, any entry withcrossreforxrefwent unchecked. biber'stypeof a@phdthesisor@techreportis no longer asked for, a@setis not asked for its members' fields, and with BibTeXjournaltitleno longer counts asjournal. Two broken entries cited in one\cite{a,b}are both named.fixA.bibentry is read by BibTeX's grammar: fields after"a" # bare no longer lost, and an@inside a value starts no entry.fix\nocite{*}with biblatex cites every entry for the rules on databases.featSix rules for broken.bibentries, 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 strayand, a closing comma or too many commas, and with biber a date, year, month, ISBN, ISSN or number that is none.conflicting-bibliography-fields:authorbesideeditororvolumebesidenumberwhere the.bsttakes one,journalbesidejournaltitle, ayearthat disagrees withdate.unknown-bibliography-entry-type: a type the style does not define.broken-bibliography-crossref: acrossrefto 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.featignored-bibliography-fieldnotes a field the style knows but never reads of the entry's type (booktitleof an@article), from the.bst's functions or biblatex's data model. With BibTeX it renamesjournaltitleto thejournalthe style reads.
Playground
fixA 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.featThe 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.featFeature 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 asfm), 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.fixThe playground no longer ships a feature-model example. The document is kept as a test fixture.fixA forest node's toolbar in the PDF stands above the node. Beside it, the toolbar hid the next sibling.fixA forest tree's sketch draws each node's frame around the node. Withfor 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.fixTheorem-like environments have a gutter icon. Each\newtheoremand each\beginof a theorem, lemma or definition opens the theorem manager on its kind.featA 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.featsatex/fontAtgives the font the run set text in at a place, as its family, series and shape (plugins.typeset.fonts).featThe font widget lists the installation's math fonts. A package that declares the math symbol fonts is one on pdfLaTeX, an OpenType font with aMATHtable one with unicode-math. Each comes with TeX's sample and the edit that loads it.fixLetters 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.fixA 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.featIn 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.fixType mode: bibliography and contents rows on the PDF go to their source. A bibliography row types into the.bibfield it shows, of the entry the build's.bblsets 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.fixType 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 showed23); a page that prints no footer (\thispagestyle{empty}) says so instead of drawing a1.fixThe typing echo never shows an environment's arguments. A paragraph followed by a table showedruns. [ht] l>p3.9cmrafter 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.fixA 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.featA 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.featA 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.featLines 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.featStrut 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'sexecute at begin node=\strut, so all nodes of a row are equally high. The forest widget and the PDF's node menu setwhere level=N{…}{}for the levels forest computed.fixLetters 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.fixA 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.featThe 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.featAn E button for\emphbeside B, I and T, which sit closer together.featIn math, Font ▸ lists the math alphabets with the selection set in each (\mathrmto\mathcal,\mathbband\mathfrakloading amssymb). Math ▸ "word" as text wraps the letters at the caret in\text{…}, or\mbox{…}without amsmath.fixClicks 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.fixFix 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, andalready-definedoffers one action,\renewcommand, with the other way out in its message.feat-fixInsert ▸ 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.fixInsert ▸ TikZ picture loads only tikz, and writes at once. The names of one write are resolved together:\nodeinside the picture runs clean under tikz, so it no longer loadedpgflibraryplotmarksafter seconds of probes.feat-fixLearning 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-fixThe 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-fixTyping 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-fixThe 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-fixEnter 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-fixThe 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-fixThe sample paper builds without an error. Its directly recursive example macro was named\repeat, which LaTeX defines for\loop; it is\recursenow.feat-fixTyping beside a formula keeps it whole. A row redrawn while typing (a\newcommandoutput changed) copied the page's pixels only as tall as the typed word:\sum_iturned into a bar and lost itsi. The whole row's height moves now.feat-fixThe 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-fixThe landing claim shows its typing caret from the first letter on, as tall as the resting caret.featCtrl+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.featA 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-fixThe 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-fixA 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-fixThe 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-fixA 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.featThe editor's and the pages' context menus share one look: header, rows, hints and submenus alike, in light and dark.featA 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-fixThe math layer no longer tints a title's author.\maketitlesets the author in atabular, which LaTeX builds in math mode: a math span its box fills is text.feat-fixA click on the page only places the caret. The preview redrew the clicked word from its source with commands stripped (sa\TeXdrawn assaand stray glyphs).feat-fixThe typing preview shows math symbols.\cdot,\alphaand other commands with a symbol draw it at once (a ⋅ b), where they vanished until the build.feat-fixA command name half typed on the page no longer flashes "1 error". Typing\suon the way to\sumstarted 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-fixTyping 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.feattikzpingus comes with the first download, cached like tikz, so a penguin draws without a fetch.feat-fixThe envs layer frames a picture, minipage or float whole: an environment's extent takes the box it closed, as SyncTeX records it on its\endline, 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-fixEnter in the editor no longer scrolls the PDF away: following the caret maps editor lines to the built text's lines.feat-fixKeys with spaces complete in a key list:pingu[left wioffersleft wing wave.feat-fixNo table widget on\begin{equation}: an environment gets the table dialog only when its own body splits into cells or rows.feat-fixThe math layer tints displayed formulas too (equation,align,\[…\]): SyncTeX marks only inline math, so a display takes the boxes of its source lines.featA typing preview stays when the caret moves on: the row keeps what was typed until the build of that text is shown.feat-fixMath 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-fixTyping 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\tagwhere it stands, and never pushes the page number down.featGo to a page directly: a page field beside thePagesmenu scrolls to the number typed (Enter) and shows the page in view while scrolling; that page gets a frame.featThe 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.featblindtext and lipsum come with the first download, so\usepackage{blindtext}completes and loads at once.featCompletion prefers the case typed:\Blindoffers\Blinddocumentbefore\blinddocument.featThe color widget's mix field completes color names at each!and has a slider for the first color's share.featA drag on the page can start and end inside a word: the selection takes those characters (themandpofexample), where the source spells the word as set.featOne 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.featThe typing echo follows the style typed at the caret: a word typed into\textit{…},\textbf{…},\texttt{…}, after\smallor\fontsize, or in a heading shows in that style and size before the build lands.featMath ▸ Selection as text / Back to text / To inline math in the editor's and the page's menu.featSize ▸ Custom size… asks for any size with its unit and writes{\fontsize{v}{1.2v}\selectfont …}.fixColoring, 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}).featCtrl/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.fixThe status line says what the probe phase is for: "Learning command arguments (for completion and hovers)" instead of "Trying commands out".fixA 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.fixThe 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.fixA 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.fixThe 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 (\tputs\textbffirst), so the list no longer reorders after ~1 s.fixThe 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\sumis 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.fixHover cards stay put while a build lands: overlays move in place and a card follows its element at once.featInsert ▸ Lists offers a description list.fixA 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 readsconventions.definers.perfTypeset 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.fixThe 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).fixThe playground builds again: the browser build no longer calls native-only process-group and warm-engine code.featTemplates 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\documentclasswith a live, copyable header line;satex newand the editor's New document command, also from a GitHub repository or a zip.perfA big build reaches the page in parts, so a 737-page document lands without stalls (longest task 0.16 s).perfThe 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).fixThe style prompt shows the count per file and up to three places with the spot marked before it asks.fixCompletion ranks common commands after the document's own uses (\textboffers\textbffirst);\mathcoloris 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.fixType mode: text typed into teletype (\texttt, listings) is drawn in a fixed-width face matching the page's.fixType 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.fixA 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.fixInsert ▸ Math from the page keeps the caret, every inserted block builds, and Ctrl/Cmd+B or +I wraps or unwraps a page selection.fixThe page settings' header and footer fields show what the page style prints (footer centre\thepage) and suggest it; the layers button is called View.fixA 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.fixA 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.fixA root cleared and written again is no longer flagged as a file no root reads.featInsert, 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.fixA widget's package or TikZ library joins the preamble's existing list (\usetikzlibrary{a, b}), never twice, in the root document also from an\inputfile.fixThe 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.feattabularray:tblrandlongtblropen the table widget (merged cells included), and a table converts between tabular, tabularx, longtable and tblr. Spans, booktabs rules (one\UseTblrLibraryline) and captions carry over; a conversion that cannot is refused with the reason.fixType 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).fixCompletion 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.stycompletes its@names.fixThe 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.fixTyping after a macro's punctuation (Hello,) no longer draws the comma twice; a listing takes clicks and typing.fixThe 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.fixEnter 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.fixA widget's write in an\inputfile loads its package in the root document's preamble (a column width needsarray), so the build no longer fails.featType mode: a\ref,\eqref,\pagerefor\citetyped 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.fixType 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.fixType 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.featType mode: typing in a TikZ picture draws it as the run computed it (frames, edges, node texts, dashed where approximate) until the build lands.fixWidgets 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.fixDrawing 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.featDrawing 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, loadingamsmathwhen a matrix needs it.fixDrawing: 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).fixTable 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.fixType 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.fixInsert 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\endno longer writes a\setlengththat leaks past it.fixTable 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\hlineruns 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.featFont and size widget. "Font and size…" on\documentclassshows 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,\setmainfonton LuaLaTeX and XeLaTeX (type_plugins.font). The same choices are code actions in every editor.featWidgets 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).fixTable dialog: a tabular nested in a cell stays one cell.
Build and infrastructure
fixsatex cache statusno 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.fixCaches 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.featA container image:docker run --rm -v "$PWD:/work" ghcr.io/eagleoutice/satex lint. It holdssatex, 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 2087serves the language server from it.
All commits
All commits
- 0aaadb5 build(cli): raw close_range for old glibc