Skip to content

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:59
· 237 commits to main since this release
v0.2.1
e709e0a

Fewer false errors, faster joins, unread parts reported

Analysis

  • fix Drawing the progress bar changes nothing. The lines it counts were kept with the analysis, so a package cache read and its replay could differ in them. They are display only now, and each run draws at its own steps.
  • fix No false missing end after a library scan. A library argument over unknown text that read past the end of the main file at \end{document} now ends the analysis as such, not as a document without \end{document}.
  • fix Big diagrams are no longer cut. limits.line_steps is now 500M (was 100M): one line with a TikZ diagram of many nodes runs 100M to 200M steps, and a cut there cost far more than it saved.
  • fix Cold and warm caches agree. Calls open across the start or end of a cached package load are no longer recorded. A replayed load runs none of them, so a run with an empty package cache and one with a full cache now learn the same call effects and report the same.
  • fix An unknown number equals itself. \int_case:nn ends its list with the value as its own sentinel. Comparing an unknown number with itself was undecided, so the false arm read past the list: false library errors for \int_case:nn, \int_to_alph:n and their kin on unknown values. A test whose two sides read the same register or number now decides by the constants added to it.
  • fix Preamble lines no longer pile up open calls. To learn what a preamble line defines, satex runs it in a side machine. A line its step budget stopped left its calls counted as open. After 512 such lines every call of the same macro (often \hook_use:n) was cut as a runaway recursion and defined nothing.
  • fix No false runaway in every longtable. longtable walks its last row back with \lastbox, and satex cannot see that list: the arm with one box more than the columns ran \LT@max@sel on nothing, a path TeX never takes. An undecided box test on a box of unknown kind now marks its path, and the runaway there is refuted as in other library code.
  • perf Joins in linear time. Joining two paths merged the loops each had met by searching one list per entry. A thesis meets thousands of loops, so joins took half its time. Such a thesis's first run now ends in 277 s, where it did not end in 600 s.
  • fix Exponentials and powers of l3fp. exp, ln and ^ in \fp_eval:n give TeX's values: dividing digits that repeat (1/10) was cut as an endless recursion, though its nested scans unwind. tikz-sankey diagrams run in a tenth of the steps, and a thesis with two of them reaches its end.
  • fix No false missing end after a skipped line. When the guard skipped the rest of a stuck line, the end of the analysis is reported as such, not as a document without \end{document}.
  • fix Raised boxes in math. \raise and \lower in inline math keep the formula's size: a TikZ picture inside a math node has its width, and a graph of such nodes no longer forks.
  • feat Unread parts are errors. The new lint unread-document (A003) reports every file the document names that the run never read, and a scan that read past the document's end. Before, they were silent in satex lint.
  • perf Written lines and fonts. A line read back from the .aux file that stops at its budget leaves nothing behind for the next line, and files are looked up by path in a map: a thesis with many labels runs in a third of the time.
  • perf Call summaries of large tables. A summary looks up each run's writes by name, and a call's shape is checked once, not at every meeting: pgfplotstable no longer stalls a run.
  • fix Rounded corners at unknown points. A loop summary no longer gives a waiting path the code of another program point: \pgfprocessround raises no false errors.
  • fix Joins of code. Paths whose code is bound apart are no longer joined into one, and a call summary no longer carries an old call's numbers. \let to text that is one of several takes the meanings of its first tokens. pgfmath on random counts is exact again and cheaper.
  • fix Paired lists. An \edef of names a join kept paired (a float on the top list or deferred) holds their one text where every arm agrees.
  • fix Cuts inside a chapter. A line cut inside \include drops the loop it stands in, even when its lists hold the document's text: the later chapters are read, with no extra \fi and no garbage file names.
  • fix A stuck path inside a command. It ends that path only: the paths waiting outside go on (\pgfmathparse{\the\wd2} reached no end).
  • fix Colors of unknown mix. An undelimited argument read from text that is one of several takes the first argument of each and puts the rest back. \color{blue!\w!red} with an unknown \w no longer swallows the rest of the document. \meaning of text that is one of several prints each, so \colorlet in a loop keeps the color exact.
  • fix Calls by unknown names. A macro reached by a name of unknown spelling no longer takes the code behind its call as arguments. That code could redefine \let on a path and turn the rest of the document into data.
  • fix Long exact loops. A loop over known values is no longer cut as spinning. Its cut made names look undefined later on.
  • fix LuaTeX's PDF commands. \pdfvariable reads as a quantity, \pdfextension reads its operands, and \pdffeedback is a query.
  • fix Box sizes. \ in math keeps a box's width, and \unhbox keeps whether the last node is a ligature.
  • perf Long bibliographies. A walk over a key list of unknown text ends after limits.rest_splits splits, and a path save no longer copies the list of wildcard names.
  • fix A lost formula ends. A $ that finds no formula to close leaves math mode, so the \par behind it no longer loops.
  • fix Note columns clear. A call summary no longer stands for a call that reads another value than its first runs did, so \clearnotecolumns ends instead of setting hundreds of pages. A package loaded inside a paragraph stays out of the package cache.
  • feat Long documents reach their end. Where floats and page parts land is now assumed past a budget instead of split per arm (analysis.assume_page_one_arm, reported as page-one-arm), so a thesis no longer runs the output routine once per float arm.
  • fix A cut no longer forgets a chapter. A nesting cut inside \include widened all the chapter defined, and macros with arguments stayed known through a widening.
  • fix The line guard reads on. A line that overruns its budget again is skipped and the run goes on; it stops only with no line left, or after limits.line_overruns cuts.
  • perf Much less work per path switch and written line. Replaying a written line is capped at 50 000 steps, value scans over unknown text fork a bounded number of times, and paths meet without building their whole key.
  • fix Undecided mode stays one mode. Arms of a mode split meet again in one mode, and token list sets survive widening, so a joined \fi no longer starts false loops. 0da79ed 71c673d
  • fix Typed numbers stay typed through pgfmath. Digits, signs and printed dimensions keep their type, and copies of one number compare equal. 4536f7f cde8a60 4084ec7
  • fix Float lists keep their names, and value scans over unknown text no longer cut paths early. 29bd2bb 93e8242 9336d57 601f0a7
  • fix A build that falls back to an earlier run says so in its report. 57a6b6b
  • fix A number parser over an unknown value stops walking its digits. A macro's runs on known values teach what it leaves; a run that keeps forking ends with that effect, each value of its type, named call-learned-effect (analysis.assume_call_learned_effect, limits.call_learn_after, limits.call_learn_forks). \\pgfmathparse needs no rule or stub. Rounded nodes and arrows of unknown size end clean.
  • fix A penalty in a formula keeps the formula's size. siunitx 3.6 sets \nobreak inside math, so every \qty had an unknown width, and pictures around one raised false pgfmath errors. da70671
  • fix No crash when every arm of a choice is refuted. The run counted its fork off twice. bf50fd5

CLI

  • fix The progress bars no longer flicker. Each frame is drawn at once over the last one, inside a synchronized update, and the bar counts the package caches loaded.
  • fix The right root document. Only the project's top-level build files (latexmkrc, Makefile, build.lua, …) hint at the root: a vendored bundle's build.lua no longer makes its example the root. project.root in satex.yaml names the root over every guess.
  • fix Progress that moves. The bar redraws every 2048 steps, not on their exact multiples, which a jump over skipped; counts read 1.2B; a package stored in parts is reported cached once.

Lints

  • feat Quiet arguments. lints.quiet-arguments.commands names commands whose arguments the typographic rules skip, as they skip verbatim text. Defaults: \todo, \missingfigure, \href, \lstinputlisting, \lstinline, \inputminted, \mintinline.
  • fix Precision in S columns. inconsistent-precision on a siunitx S column names the one option that rounds it (round-mode = places), not every cell.
  • fix Braced names in the generated bibliography. A corporate author ({{GCC Development Team}}) or a braced particle (Alexander {von Rhein}) is split only outside braces, as BibTeX splits it: the .bbl satex writes no longer leaves a \name argument open.
  • fix No tie asked before a citation that prints a name. missing-nonbreaking-space leaves \citeauthor, \textcite, \citet and their kin alone: they print words of the sentence.
  • fix Month constants with biblatex. undefined-bibliography-string no longer reports jun: biber predefines the months, and the style lookup now finds plain.bst where BibTeX keeps it.
  • fix Names a package builds per call are no dead definitions. A sankey node's flags or a citation package's per-key macros were reported at every call.
  • fix Only clones worth a macro. clones reports a block only when a macro saves more text than its arguments cost (min_saved, parameter_cost), and never one needing more than max_parameters.
  • feat Clearer already defined findings. already-defined names the definition a \newcommand ran into, by package and line. The same definition again is fixed with \providecommand, safely, and a package's command gets the warning that overriding it changes the package's own uses.
  • feat Lists that pick the wrong environment. itemize-numbered finds an itemize whose items count by hand (\item[1.], \item[(b)]) and turns it into an enumerate, with enumitem's label, start or resume where the default labels differ. itemize-described turns one labelled with words into a description.
  • feat Packages a successor continues. package-successor names the successor of a loaded package and what moving changes, and its fix loads the successor in its place: wrapfig to wrapfig2, here to float, fancyheadings to fancyhdr, caption2 to caption and scrpage2 to scrlayer-scrpage. It stays quiet where another package loads the old one. The pairs are data in lints.package-successor.successors.
  • fix Registers declared twice. new-redefines no longer reports a register declared again as one of its kind (\newcount\rows in two tables): LaTeX takes it silently.
  • fix False errors after \newif and next to colors are gone. new-redefines no longer blames a \new… call for a plain \def after it, and undefined-color needs an error that names the color.
  • fix An editor never offers to turn off clones. Copied code is a finding to act on, not the project's style. 1cdd3cc
  • fix Prose rules skip what undefined commands leave behind. A TeX file opened without its preamble no longer gets spacing findings on \node (a)at(b) or inside an undefined environment. 5d61ec1

VS Code

  • fix A server the client gave up on restarts. 096dc93
  • fix Findings no longer flicker while an analysis runs. Those a later pass or more precision can change stay hidden until the run ends, then swap in once. Findings over the source text show at once and stay. satex.findings.whileAnalyzing is hide (default), keep or mark. A run a budget stopped never replaces findings, its own join them, marked as unfinished.

Playground

  • feat Nodes kept relative. In the TikZ widget a node can be locked relative to its neighbours: a drag writes a shift from the nearest node, never at (x,y). Turning on relative placement makes every node relative at once.
  • feat One layout for list managers. The bibliography, glossary and index views share a resizable list and detail, and every entry shows its uses in one search view. Removing an entry moved into a fold.
  • feat Tips in the console bar. The closed console's line shows tips while the page is visible.
  • feat The draw pad can be resized, is centred, and its size stays in the link. 190bf16
  • feat Hover lists fetched packages, and dialogs have an another-tip button. 149d779 ef9b92c
  • fix The header keeps its menu until the links fit. Lists use their own icon, and go-to-definition works after downloads. 28837d2 b55e95f
  • fix \begin completion keeps the arguments already written. 0ba4807
  • fix The style prompt moved under lints. 03ad504
  • feat Compile works on the web playground. pdfTeX runs in the browser, with TeX Live 2026 files fetched on demand and kept. The hosts are set under Settings, Compile, or turned off. satex gui keeps using your own TeX.
  • feat Loading banners show tips, a new one every 20 s, from a list checked against the docs and the code.
  • fix The version loses its star when only docs or CI changed since the release. It follows what the site ships, not the commit count.
  • feat One layout for the bibliography, glossary, index and theorem managers. Search, filter chips with counts, a list that fills its pane, a draggable divider (arrow keys too, 35% by default, remembered) and the entry's detail. The glossary's chips separate entry commands (\newglossaryentry, \newacronym) and glossary types.
  • feat Inspect every use of an entry. The detail of an entry lists each use with file, line and source line, and a click opens it. Delete moved behind the uses, in a fold.
  • perf Package caches replay in every document. A package loaded at \begin{document}, like graphics' epstopdf-base, was rebuilt in the browser for every example. 1fbd322

Site and docs

  • fix Picking a case of a maybe-typeset text works. The case is chosen with a row of buttons in the chip instead of a dropdown, which closed again at once and looked out of place.
  • fix Before and after shots no longer cover each other. The quick-fix card shows both windows at two thirds of its width.
  • fix Showcase cards show whole captures. A card's picture is no longer cut at its bottom or right edge, and on a phone the pictures no longer move up and down while the page scrolls.
  • feat Typed site scripts. The site's widgets, dialogs, draw pad and TeX runner are strict TypeScript, built by esbuild for the pages, the VS Code views and cargo playground --dev.
  • fix The benchmark page shows summaries. Each release runs its benchmark, totals compare the documents both releases ran, and pdfTeX comes first. 9322ee0 5e39b65 4c5e651
  • fix The site deploys again, with its playground tests running. d2c8c13 6702be3 7ab2503 37a5812

Build and infrastructure

  • fix The site builds in CI again. The Pages job installs esbuild, which turns the site's TypeScript into scripts.
All commits
  • d2c8c13 ci-fix(pages): git trusts the checkout in the container
  • 6702be3 ci-fix(pages): memo kept, cold builds fit
  • 92295c2 test-fix(site): case select, landing examples
  • 7ab2503 ci-fix(pages): showcase encoders installed
  • 1fbd322 perf-fix(cache): replays under any job name
  • 37a5812 test-fix(site): tests follow the landing
  • 10232c4 doc(changelog): cache replay, site deploy
  • da70671 feat-fix(math): penalties keep a formula's size
  • bf50fd5 feat-fix(explore): a fork parted by a refuted run unforks once
  • c4a96f4 doc(changelog): formula size, unfork
  • 9322ee0 ci-fix(bench): runs per release, summaries first
  • d246dcb doc(lints): table first, assertions linked
  • cb195ec doc(semantics): plainer wording, examples
  • 1cdd3cc feat-fix(lint): clones never offered as style
  • 5e39b65 feat-fix(bench): pdfTeX shown first
  • 4c5e651 ci-fix(bench): no gh, runs from main for a tag
  • 5d61ec1 feat-fix(lint): undefined commands leave no prose
  • 96f1397 doc(changelog): prose after undefined commands
  • 9861c46 perf(bench): results for 0.2.0
  • 1570913 ci-fix(pages): elan download retried
  • 23dace9 doc(changelog): clones prompt, benchmark page
  • 464a53c feat-fix(lint): no quantity after undefined commands
  • abc0f60 feat-fix(vscode): findings stay while a run goes
  • 03ad504 feat-fix(config): style prompt under lints
  • 0c04c6e feat-fix(vscode): hide what may change until a run ends
  • 0da79ed feat-fix(join): mode arms meet in one mode
  • 4536f7f feat-fix(pgfmath): typed digits, signs, printed dimens
  • cde8a60 feat-fix(ifx): copies of a typed number are one text
  • 71c673d feat-fix(join): mode split mark, token list sets
  • 545f766 build(config): no default stubs
  • f00aa0d feat(site): pdfTeX in browser, tips, star
  • 93e8242 feat-fix(scan): unknown code, widened arms
  • 29bd2bb feat-fix(scan): float lists keep their names
  • 9336d57 feat-fix(budget): value scans fork freely, ledger honest
  • 190bf16 feat(site): resizable centred draw pad kept in the link
  • 57a6b6b feat-fix(build): a budget fallback says so
  • 4084ec7 feat-fix(scan): negative digits stay whole
  • d6d4cb2 build-fix(site): clone shot, padding is no cut
  • 79ee877 build-fix(site): glossary shot may take its time
  • 0ba4807 feat-fix(lsp): begin completion keeps arguments already written
  • 28837d2 feat-fix(site): header menu until the links fit
  • 43699d2 doc-fix(site): page layout wording
  • 149d779 feat(site): fetched packages listed in the hover
  • ef9b92c feat(site): another-tip button in the report and settings dialogs
  • 62a0ef7 test(lsp): an empty table has its widget
  • 601f0a7 feat-fix(scan): undefined number on approximated path
  • cb8f958 feat-fix(calls): runs teach a definition its effect
  • b55e95f feat-fix(site): list icon, definition after downloads
  • 096dc93 feat-fix(vscode): restart a server the client gave up on
  • 0769cfe test-fix(budget): tagpdf needs DocumentMetadata
  • a1b1ede test-fix(budget): tagpdf measured on a valid run
  • 1ce3887 doc(changelog): curate unreleased
  • 9093f0f feat(site): one layout for list managers
  • 78388d8 feat-fix(analysis): long documents can end
  • 2b5e24c feat(site): console bar shows tips
  • 145cd85 feat-fix(calls): a summary heeds changed reads
  • dc6578f doc(changelog): curate unreleased
  • 103c0ca docs(semantics): citations follow tex.web upstream
  • 273fedf feat-fix(scan): printed dimen at the range ends
  • 2335156 feat-fix(bib): sort initial past an accent
  • b817415 feat-fix(analysis): bibliographies get through
  • 9dbde10 feat-fix(input): a missing file's prompt goes on
  • 7f93f6a feat-fix(site): a tip keeps the bar's height
  • d6a7d31 feat-fix(engine): luaTeX's pdf commands, exact loops stay uncut
  • df6564a feat-fix(analysis): an unknown name's call ends with its list
  • 7d5db71 feat-fix(analysis): colors of unknown mix
  • 044ae33 feat-fix(analysis): a stuck path ends alone
  • dc6dd37 feat-fix(analysis): paired lists keep pairing
  • b1302b5 feat-fix(analysis): joins keep code apart
  • 1c09a99 feat-fix(analysis): covered paths keep their code
  • e6aae00 perf(analysis): summaries look writes up by name
  • 5de1818 feat(lint): unread parts of the document are errors
  • a8e5644 perf(analysis): written lines start clean
  • c86254c feat-fix(analysis): a cut drops what it cuts
  • 5a448b0 docs(semantics): refresh tex.web citations
  • 6e83d9a feat(site): nodes kept relative in the tikz widget
  • 2a491d2 refactor(site): lengths, snapshot and layers in typescript
  • c6d7cbc feat-fix(site): showcase cards uncut
  • 58e7f4f feat-fix(engine): raised boxes in math
  • ce24cdf test(analysis): arrow to unknown-width node
  • 20a847e refactor(site): views in typescript
  • 99124a4 refactor(site): bib in typescript
  • 8001a94 refactor(site): dialogs, draw, tex in typescript
  • 281e612 refactor(site): tex worker in typescript
  • 04d46c4 lint-fix(lint): registers declared twice
  • 183990e refactor(site): worker and site in typescript
  • 62d2dea feat-fix(analysis): unwinding scans end
  • 152f19a feat(lint): list kinds and successors
  • f398bcb feat(lint): name what a newcommand met
  • 9890a34 lint-fix(lint): fewer false findings
  • 4260cba feat-fix(cli): right root, moving progress
  • 6e0e800 docs: regenerate pages for new rules
  • d403801 perf(analysis): linear join of loop bounds
  • 4a788cf feat-fix(bib): names split outside braces
  • 7345297 feat-fix(engine): longtable rows walk cleanly
  • ae5b67c docs(analysis): plain comments in machine parts
  • 6af060e feat-fix(analysis): stopped lines close calls
  • 6afdda1 docs(analysis): plain comments in env and guard
  • 0c99e7a feat-fix(engine): a number equals itself
  • 617442a docs(analysis): plain comments on recursion cuts
  • 0b49747 feat-fix(analysis): cold and warm caches agree
  • 0ad3030 feat-fix(analysis): cuts drop library calls
  • e67eb96 feat(lint): quiet arguments, steady bars
  • 049be88 feat-fix(site): calmer plugin and fix cards
  • e47bb2c lint-fix(cli): clippy, tests last
  • 7bcfb04 feat-fix(cli): progress is display only
  • 7298fe8 docs(semantics): refresh tex.web citations
  • 477934d feat-fix(ci): esbuild for the site build
  • c93496c docs(changelog): curate unreleased
  • b70e517 docs(site): refresh showcase shots
  • 269ce83 feat-fix(site): pick a case with buttons
  • 674ca6e docs(changelog): mark reviewed
  • e536244 docs(site): refresh glossary shot
  • f075765 docs(site): refresh showcase shots again
  • db064d2 feat(lint): more package successor pairs
  • 153cc28 test(tier): changed tier with last-failed first
  • 52480e0 docs(changelog): mark reviewed