Skip to content

Releases

v0.2.7

Choose a tag to compare

@github-actions github-actions released this 25 Nov 20:56
v0.2.7
c575235

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

CLI

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

Also in this release: v0.2.6

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

Site

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

VS Code

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

LSP

  • perf Math font samples are drawn only when the font view asks for one. Each costs a TeX run, and they held up every other preview (arrows, shapes, text fonts) until all were drawn.
  • perf Typing into a paragraph between generated text reuses the rest of the last run. When the text after the paragraph comes from macros or a package (\Blinddocument), the last character the document set stayed on the edited line, so the run never met the last one and every keystroke ran the rest of the document again (4.4M steps, 2 s). A keystroke now meets the last run after the paragraph: 791 steps, 0.2 s.
  • feat A math command typed in text is set in math. Completing \sum, \frac or a macro of your own that ends in math-only material where the text is text writes \(\sum\) with the caret inside, $\sum$ in plain TeX or in a file that uses $, and never inside a formula. TeX's Missing $ inserted before such a command gets a safe quick fix that sets the command and its arguments in the same delimiters (completion.wrap_math, conventions.math.inline).
  • feat Every finding offers "Ignore here" and "Ignore rule". The first writes % satex-disable-next-line ⟨rule⟩ above its line, the second turns the rule off in the project's satex.yaml. No Fix all applies them.
  • fix TikZ previews are kept per installation, and a picture that failed to draw is drawn again on the next ask.
  • fix TL 2019 TikZ previews draw with TeX Live 2019's dvisvgm, which has no --exact-bbox.
  • fix TikZ previews are kept in the run's cache directory (cache.dir, SATEX_CACHE), not always in ~/.cache/satex; a cut-off arrow tip is never kept or shown but drawn again, and two drawings at once no longer clear each other's pages.
  • perf A word typed into a paragraph of a long chapter is analyzed in its paragraph. A paragraph whose lines are not known (a box or kern of unknown width in it) counts 1 to n lines, n its breakpoints: every typed word raised n, and the page's length with it, so the run after the edit met the last one only past the next forced page break. The bound is now rounded up to a power of two and stays as it was. A 150-page thesis: 12M → 0.84M steps per typed word (6.6–8.1 s → 4.2–4.6 s). A splice that fails at one line no longer keeps every later line from meeting the last run. -vv says what each part of serving an edit took and names the slowest rules.
  • perf The first word typed at a place no longer waits for the text before it. The server places the states an edit resumes from and meets the last run at for the line of the caret (the last code action, highlight or completion request) while it is idle, and stops for any message. The same thesis: the first edit at a place 137M steps (29.9 s) → 0.84M, as every later one. satex/runInfo says what an edit's run still placed itself (placedSteps). The placing run passes states inside a paragraph, where no run can meet: a first edit in a 250-page document 5.8M → 4.0M steps and 4.2 → 0.9 s. Meeting the last run copies only the fact rows the edit changed.
  • perf A typed character no longer waits for the last one's findings. The rules of a run stop at the next rule once a newer text came, and what a completion reads of the whole run is built while the server is idle (or by the first request that reads it), not before the findings. Meeting the last run after an edit writes only the rows, graph vertices and table entries the edit changed (a 150-page thesis: 0.5 s → 0.03 s of each edit). -vv says what each part of a splice, of concluding a run and of the lint took.
  • fix An alias's hover shows its manual once mined (\let\myspace\xspace): a hover kept before the manual was read is asked again, and a hover that found no documentation is not kept for the next session.
  • fix \caption completes with its shape ([⟨options⟩]{⟨arg⟩}): a command that errs alone is probed in the environment the document calls it in, else the one whose code it reads (limits.probe_contexts), and an environment entered for a probe gets the token its lookahead needs.
  • fix A chapter whose root stopped at a budget keeps its root. The editor ran the chapter alone in a made-up document and reported its references as undefined.
  • perf Each build run's findings reach the editor at once, marked provisional (lsp.provisional, on): a 737-page document shows its first findings after 11.6 s instead of 32 s; the final set is unchanged and replaces them.
  • fix Completions show a command's whole shape. \section offers *[⟨options⟩]{⟨arg⟩}, ltcmd commands their (…) and <…> arguments, a \def its own delimiters; taking one writes the braces with the caret inside. The PDF page's list shows shapes and descriptions too, also while a run goes on.
  • fix **Editors: a name built around unknown digits is the same name after an ...
Read more

v0.2.5

Choose a tag to compare

@github-actions github-actions released this 20 Nov 15:52
v0.2.5
2acabde

Sound guesses, skipped unchanged builds, steadier CI

Compile

  • perf satex compile --system satex: no build when nothing it reads changed. Each pass records every file the engine opened. The next build compares their contents, the TeX search path and the listings of the directories it looked in, and returns the last result when nothing moved: a 195-page book 1.18 s → 0.02 s. A preamble the format dump cannot replay (glossaries before cleveref) is read by the run itself, no false Extra \fi. compile.clock says how often the clock counts (minute, or day when only \today reads it). One line on stderr says how many passes ran.
  • feat satex compile picks the build system. % arara: runs arara, a Tectonic.toml Tectonic, else latexmk or the engine. --system or compile.system names one (latexmk, arara, tectonic, make, l3build, engine). --view opens the PDF in compile.viewer.
  • feat-fix CLI: settings found from any directory. satex lint -f x.tex reads every satex.yaml above the current directory, not only its own. --no-config reads none, also for the project root and l3build settings. A --filter on a field no record has errs and names the fields. The texlog format shows the source line at l.⟨line⟩, split where the finding is.
  • perf Playground PDF: a warm engine per build. satex gui builds each project in a directory of its own, where the last build left pdfTeX started on its format, waiting to open the main file (compile.warm). A body edit of the thesis example builds in 0.63 s → 0.48 s, the hello example 0.52 s → 0.39 s. playground.compile_rest builds without waiting for the analysis.
  • perf Playground PDF: no build where pdfTeX reads no edit, unchanged pages kept. An edit inside a comment or of spaces TeX skips keeps the PDF shown, proven by the analysis (satex/holds): last key to page 1.77 s → 0.35 s on the rerun example. A page whose content and resources did not change keeps its image: a word typed in the thesis example redraws 1 page, not 5.
  • perf satex compile --system satex: incremental build. The preamble is dumped once as a format and reused, the engine, BibTeX, Biber and makeindex rerun only on changed input. A body edit of the thesis example in the browser takes 0.57 s → 0.19 s (−67%). The playground's Compile uses it on satex gui.

Caches

  • feat Cache reports and background setup. satex lint, query and explain say in one line how many package caches they reused and built (-v lists them). satex cache show lists a package's cache files, sizes and variants. On first use satex asks to analyze kernels and packages in the background within limits.cache_size. satex cache shows its state, satex cache stop stops it (cache.background, SATEX_NO_SETUP).
  • perf Smaller, faster package caches. datatool-base 55 → 24 MB (−56%), scrbook 40 → 25 MB (−38%), warm glossary replay 20% faster. satex cache show breaks bytes down by section.

Lints

  • feat-fix Table precision with TeX Live 2025. The S-column rule reads siunitx's round mode under its 2025 name too, so rounding columns stay quiet there.
  • feat-fix No false "never defined" after a missing package. A name a missing or misspelled package would define is a warning that names the missing file, not a certain error: pdflatex stops at the file instead.
  • feat Quick fixes for package, reference and citation errors. unresolved-file deletes the load of a package no installed name is near. undefined-reference and undefined-citation respell a key one typo off a label or entry. duplicate-label renames the later label (unsafe: its references then resolve to the first). The new missing-bibliography names the .bib files beside the document when citations have no bibliography. A command without its package loads the package most files use that defines it itself (graphics for \includegraphics, was chickenize).
  • feat Quick fixes for TeX errors. raised-error repairs a runaway argument (closed at its line's or paragraph's end), a stray }, a missing $, an extra or misplaced &, a missing \begin{document}, a lonely \item, a \\ with no line, a length without unit, a missing \endcsname, a group left open at \right or \end and a double superscript, which satex now raises like TeX. undefined-control-sequence respells a near name. A finding can offer several fixes.
  • feat Packages checked like libraries. Analyzing a .sty or .cls calls each command it defines on unknown arguments in the document body and reports an error certain for every argument (package-call-error).
  • feat misspelled-magic-comment. % !rex program = tex or % !TeX progam is reported early, with a fix to !TeX or program.
  • feat low-contrast-color. Text below WCAG's 4.5:1 contrast (3:1 for large text) against its background is reported. The fix adjusts your \definecolor (lints.low-contrast-color).
  • feat indistinct-colors. Colors side by side that look alike under protanopia, deuteranopia or tritanopia are reported. The fix suggests an Okabe-Ito color (lints.indistinct-colors).
  • feat Package rules. package-load-order finds a later package that redefines an earlier one's command, the fix moves its \usepackage up. redundant-package-load deletes a load the class or an earlier package made already. unknown-package-name suggests an installed package a letter or two away (graphix gives graphicx).
  • feat PDF tagging lints and accessibility manager. With \DocumentMetadata{tagging=on}: tagging-incompatible-package, graphic-without-alt, pdfua-without-title, tagging-without-language, metadata-after-class, tagging-unsupported-engine, tagged-math-without-mathml. satex query tagging lists the setup. "Accessibility…" edits tagging, PDF standard, language, title, alternative texts and table headers (type_plugins.tagging).
  • feat Early findings. Text-only rules report on a sketch before the run: comment-marker, user-pattern, clones, two latexmkrc rules, duplicate-package, unresolved-file, missing-graphic. satex lint prints them at once as provisional, the run confirms or retracts each (lints.early).
  • feat Overfull preflight. overfull-line, overfull-box and wider-than-line report pdflatex's Overfull \hbox by the same amount. A too wide \includegraphics gets the fix width=\linewidth.
  • feat Rule metadata. satex lint --explain, --rules, satex query --list, the editor and the wiki show since. Summaries are short, rule numbers never change once released.
  • feat Package augmentations. Per-package lint knowledge is switchable in satex.yaml. siunitx comes first: inconsistent-precision reads its rounding of S columns.
  • feat Spacing and punctuation fixes. primitive-tex-command rewrites \vskip to \vspace and \hskip to \hspace. command-terminated-space covers \TeX file in TikZ nodes and \fbox. scripts/spacing-sweep.py checks every spacing fix on real documents. math-punctuation handles $use?$ edge.
  • fix A \ref inside an argument counts, and every cleveref form. \ref in \footnote, \emph, \textbf or \caption, and \cref, \Cref, \crefrange, \labelcref and lists a,b with or without hyperref, mark their labels as used: no false unused-label, whose fix would delete them.
  • fix Prose rules skip math, code, keys and URLs. 37 false positives in 20 rules fixed. A trigger, or the word it is judged by, in $…$, \verb, \texttt, \url or a listing is no prose: ? before $x$ starts no sentence. scripts/lint-sweep.py sets every prose rule's trigger in 23 contexts.
  • fix No findings from a run stopped before the body. Such a run shows only why it stopped.

Playground

  • feat-fix Tables: nested tables, starred row ends, steady pages. A tabular inside a cell no longer ends the outer table, so Tab and Enter stay in the right one. \\* row ends are read as LaTeX reads them. A column change no longer dims the page after a second build of the same text. A fast width drag stops at the edge instead of keeping an old width.
  • feat Typeset view: TeX's lines. The Show switch TeX's lines breaks each paragraph where the run's own line breaker broke it (the fonts' widths, kerns, ligatures and the document's hyphenation), where all of it is known. satex query typeset lists them as linebreaks.
  • feat Missing packages in the playground. The site ships the names every installed package defines (satex query exports, a line per file with its names) beside the bundle, so \toprule gets the fix \usepackage{booktabs} in the browser too.
  • feat Smart wrap. With playground.smart_wrap a line typed past conventions.lines.length (0: the document's own wrapped lines, else 80) breaks at its best space: a sentence's end, then after an argument's closing brace, then after a comma, else the last space. Never inside math, an option list, \verb, a comment or a verbatim environment. Typing in the editor and Type mode's writes in the PDF and Typeset view wrap alike.
  • feat PDF layers: math, macros, origin kinds, themed legend. Glue labels read short (3.33+1.67−1.11pt, the full spec on hover) and move off other labels and text, else they hide. A math layer tints inline math where SyncTeX records it. A macros layer outlines the text a macro set, its name on hover. The origins layer filters your macros, class, package and kernel macros, generated text (page numbers, dates), arguments and text from elsewhere, in the PDF and the Typeset view alike. The run now names who wrote each library character and marks generated text and math mode in its rows (satex query typeset). The Typeset view gets a math layer too, and the PDF's math layer covers display math. Every layer's swatch uses its overlay's colour in light and dark. The l...
Read more

v0.2.4

Choose a tag to compare

@github-actions github-actions released this 15 Nov 13:34
f5127e3

Four new lints for references and sentences, faster analysis

Lints

  • feat Four new lints for references and sentences. bare-reference (S059) flags a \ref with no name before it. reference-name-mismatch (C054) flags a name that belongs to another kind than the label, such as "Figure" before a table. doubled-punctuation (S060) flags two punctuation marks in a row. sentence-capital (S061) flags a sentence that starts with a lowercase letter. #44

Site and docs

  • feat Links to showcase entries. Each entry on the front page has an anchor, such as #shot-table, and its title links to it. Opening the link scrolls to the entry and turns the card ring to it. #44

Build and infrastructure

  • perf Benchmark results for 0.2.3. The benchmark page shows the 0.2.3 release. bcf2cf4

Analysis

  • perf Faster analysis. Fewer copies and lookups in hot paths: deferred writes, recent-write lookups, token counting, definition comparison, font lookup and widening. #44
All commits
  • bcf2cf4 perf(bench): results for 0.2.3
  • 0b7ff5c Performance Optimizations for Linting (#44)
  • 599e143 docs(changelog): link the squashed changes to #44

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 13 Nov 11:38
v0.2.3
e19407f

Starts in devcontainers, says why when it cannot

Playground

  • feat The text set so far, at every trace step. A step of the trace shows the paragraph as set up to it, so after an \else you read what that arm typeset (Hello, abab); satex trace gives it as set_so_far. b92d718
  • fix The definition history shows again. A later edit had dropped its view, so the dialog for a command's history opened empty in the playground and in VS Code. 0ddb302

VS Code

  • fix The server starts in devcontainers. Where no systemd user bus runs (containers, WSL) the extension still started the server in a user scope, which failed with "Failed to connect to user scope bus" and left only write EPIPE. It now tries the scope first and caps memory with ulimit -d where that fails, else runs on the server's own budget. 786e1e0, 3f34cf0
  • fix Every failed start says why and how to fix it. A broken satex.path or bundled binary (wrong C library, musl, not executable) falls back to the next one, a server that dies before it answers or crashes later is reported with its reason, and a server that stays off says so, each with buttons to download satex, set the path, show the output or restart. 786e1e0, 3f34cf0
  • fix Windows packages of the extension again. Packaging on Windows stopped at the webview scripts (it ran esbuild as a program, a .cmd there), so neither 0.2.1 nor 0.2.2 published the extension. 802cbdf

Site and docs

  • docs Fair benchmark comparisons. The charts and deltas count only documents every compared release read to the end, so reading further never counts against a release, and a new table sums each engine against the release before. 899a58b
All commits
  • 802cbdf fix(vscode): build the webview scripts on Windows
  • 5dc307a ci(vscode): build on main and site changes, publish on tags
  • 668ed8b docs(changelog): windows extension packages
  • fd14bf5 ci(vscode): compile on Windows for every change
  • ab06f95 docs(site): bigger front card, never cut, no scroll snap
  • 0ddb302 fix(site): restore the definition history view
  • 6b65c71 test(site): history view, case buttons
  • a2872b9 docs(changelog): definition history view
  • b92d718 feat(trace): the paragraph set so far at each step
  • c577e65 docs(changelog): set so far in traces
  • 253b8e6 test(draw): a cross drawn lopsided, a known miss
  • 899a58b docs(bench): per engine, compared where both releases read to the end
  • 5e6b305 docs(changelog): fair benchmarks
  • a5f9c9d perf(bench): results for 0.2.1
  • 786e1e0 fix(vscode): start the server where no user bus runs, say why it cannot
  • 4b3698c docs(changelog): server starts in devcontainers
  • 3f34cf0 fix(vscode): server starts reuse the client error handler, never block

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 12 Nov 17:51
v0.2.2
57a3195

Windows runs, no restart loop in VS Code

VS Code

  • fix No restart loop when memory runs out. The server's cgroup capped memory at exactly its own budget, so the kernel killed it before the budget could end the run cleanly, and the extension started it again every minute, each time with a "memory shortage" notice. The cgroup now leaves half again as much headroom, and a server that keeps dying is revived at most three times, with longer pauses. 28cfe0d

Build and infrastructure

  • fix No stack overflow on Windows. The Windows binary had 1 MiB of main stack, too little for building the LaTeX kernel cache; it now has 8 MiB, as on Linux. 9029e53
  • fix The site names the new release. A release starts the site build on main, where the Pages deployment is allowed; a build from the tag was refused. e6b2357

Site and docs

  • docs Plainer claims on the home page. The rotating lines read as sentences, the option card no longer looks like a menu, and the build runs come in one by one. d8cb335
All commits
  • 9029e53 fix(build): 8 MiB main stack on Windows
  • e6b2357 ci(pages): refresh the site from main after a release
  • ca33596 docs(changelog): windows stack fix in 0.2.1
  • 85c596d docs(changelog): windows stack fix is unreleased
  • 28cfe0d fix(vscode): no restart loop when memory runs out
  • a7714f4 docs(changelog): vscode restart loop
  • d8cb335 docs(site): plainer claims, slower run cards, no menu look
  • 7d2f1aa docs(changelog): curate 0.2.2
  • f337715 build(intellij): ignore IDE output

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 12 Nov 15:59
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...
Read more

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 07 Nov 22:39
v0.2.0
b27201e

SaTeX 0.2.0

Sound and usable on real documents: joins, loops and caches that keep the analysis precise and ending, the playground and satex gui, editor widgets and managers, VS Code and IntelliJ plugins, latexmk builds.

Playground

  • fix Maybe text reads clearly. One case picker per undecided conditional, glue specs over the glue, numbers and parameters colored alike. 1403031
  • fix A waiting widget says so until it opens. 55f7986
  • fix Showcase shots line up. One height, centered on small screens, the live window at full width, the stepper holding still. 45ba047 1c31cb6 b95ee96 d190837 6867c3d
  • feat Landing page. A title page on the first screen, the showcase on a 3D ring that turns with the page, the page layout widget in it. 22939fd b711b33 e553530 884dcba 0de0584 e6a0098 9128f0d
  • fix satex gui keeps serving when its terminal closes or its output is piped to head. bf8c194
  • fix satex gui analyzes the open file first and nothing unasked, and no longer freezes after a big compile. ff00464
  • fix Never stuck. Dead workers, busy caches and bad stored state no longer stall the start. Stuck runs recover. 5a702f4 82d7c20 c0ff841 5e722f1
  • fix Everything reruns after a package download. Widgets wait for the analysis. 6ee8c88 d1aa312
  • fix The trace stepper keeps its place. Phone toolbar, claims and table buttons fit. 0a45669 11edabd f832d13 88f8f79
  • feat satex gui serves the playground on your own files, no upload. See satex gui. 73f101b
  • feat Landing page. Try it first, a live window before the engine loads, a carousel of the widgets. d2d6c19 d820715 ad58d41 c149ca2
  • feat Trace stepper. Step through what a macro expands to, with input, calls, forks and domains. 50058c3 cdc1835 30955ff
  • feat Draw page. Find a symbol by sketching it. cbbaf15 85fb7ec 618019b
  • feat Library and first download with the most used packages, glossaries and the index. dbfec82 ae5e2f0 67750d8
  • feat Settings, outline, cache dialog, timing popup and a typeset view. ef94a13 e65d145 2ae687e
  • perf First download 6 MiB instead of 120. 6528842 d38a268
  • perf Runs use every core the memory allows. Kernel caches survive builds. f587917 29042c5

Editor plugins and widgets

  • fix Hovers name the real owner and fall back through its manual, an alias's target, any loaded manual, the kernel and the source comment, and say what was tried. eeeb418
  • fix TikZ arrows draw only their tips, so a dashed or short arrow keeps its look. 3fad770
  • fix TikZ arrows touch their nodes in the drawing widget. 10431bc
  • fix Paper sizes known without geometry, so letter is no longer custom. 06e4a47
  • fix Requests never wait for a run, and exit stops a running analysis. fc5dda3 30b2124 40ae0c9
  • fix Dialogs never drop an edit, ask before discarding and undo in one step. 91b5239 c6a80ef
  • fix Colors complete only in color arguments, with swatches on the right line. 5e6ecba 59e9afa d05aa00
  • fix Lenses and widget marks refresh after the run and survive stale positions. 7518997 4431378 c48fea9 ff01740
  • fix Hovers lead with the signature. 4c2984d 9aa8577
  • feat Drawing canvas: every node shape pgf knows, libraries not loaded too, each drawn from a TeX sample, and arrows take clicks. e1b165a
  • feat Bibliography as a reference manager. A list with search, type badges and filters beside a checked editor, @string constants, import from DOI, arXiv, RIS, CSL-JSON and Zotero, a dblp check, duplicate and missing-field lints. eb65d13
  • feat Definition history. Every redefinition and augment of a command, newest first, with \let copies followed and definitions on other paths. Bodies on hover are pretty-printed, a toggle shows them raw. b29128f
  • feat Drag the margins in the page layout graphic. Under KOMA-Script the drag sets DIV. 3fad770
  • feat Table, image, placement, tree, color and TikZ widgets write only what changed. Packages they need come from the installation, not a list. d3c4880 c5be515 decf572
  • feat Page layout per class. KOMA-Script keeps DIV and BCOR, memoir and the standard classes get geometry suggested. Edits keep every untouched byte. See type plugins. cf4243a
  • feat Index and bibliography managers open from \printindex, \cite and their kin. Every length field takes any unit, like 2cm or 0.5\linewidth, the TikZ grid size too. See type plugins. 06e4a47
  • feat Managers add, edit and search glossaries, index terms, bibliographies (also thebibliography, with a convert to .bib) and theorems. See type plugins. [e22a899](e22a89...
Read more

0.1.0: SaTeX is born

Choose a tag to compare

@EagleoutIce EagleoutIce released this 24 Sep 22:37
5570f80

Initial Release :)

See the Readme for an initial feature overview!

Full Changelog: https://github.com/EagleoutIce/satex-analyzer/commits/v0.1.0