Repository navigation
Releases
Releases · EagleoutIce/satex-analyzer
v0.2.7
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.fix**Editors: a name built around unknown digits is the same name after an ...
v0.2.5
Sound guesses, skipped unchanged builds, steadier CI
Compile
perfsatex 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 falseExtra \fi.compile.clocksays how often the clock counts (minute, or day when only\todayreads it). One line on stderr says how many passes ran.featsatex compilepicks the build system.% arara:runs arara, aTectonic.tomlTectonic, else latexmk or the engine.--systemorcompile.systemnames one (latexmk, arara, tectonic, make, l3build, engine).--viewopens the PDF incompile.viewer.feat-fixCLI: settings found from any directory.satex lint -f x.texreads everysatex.yamlabove the current directory, not only its own.--no-configreads none, also for the project root and l3build settings. A--filteron a field no record has errs and names the fields. The texlog format shows the source line atl.⟨line⟩, split where the finding is.perfPlayground PDF: a warm engine per build.satex guibuilds 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_restbuilds without waiting for the analysis.perfPlayground 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.perfsatex 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 onsatex gui.
Caches
featCache reports and background setup.satex lint,queryandexplainsay in one line how many package caches they reused and built (-vlists them).satex cache showlists a package's cache files, sizes and variants. On first use satex asks to analyze kernels and packages in the background withinlimits.cache_size.satex cacheshows its state,satex cache stopstops it (cache.background,SATEX_NO_SETUP).perfSmaller, faster package caches. datatool-base 55 → 24 MB (−56%), scrbook 40 → 25 MB (−38%), warm glossary replay 20% faster.satex cache showbreaks bytes down by section.
Lints
feat-fixTable precision with TeX Live 2025. TheS-column rule reads siunitx's round mode under its 2025 name too, so rounding columns stay quiet there.feat-fixNo 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.featQuick fixes for package, reference and citation errors.unresolved-filedeletes the load of a package no installed name is near.undefined-referenceandundefined-citationrespell a key one typo off a label or entry.duplicate-labelrenames the later label (unsafe: its references then resolve to the first). The newmissing-bibliographynames the.bibfiles beside the document when citations have no bibliography. A command without its package loads the package most files use that defines it itself (graphicsfor\includegraphics, waschickenize).featQuick fixes for TeX errors.raised-errorrepairs 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\rightor\endand a double superscript, which satex now raises like TeX.undefined-control-sequencerespells a near name. A finding can offer several fixes.featPackages checked like libraries. Analyzing a.styor.clscalls each command it defines on unknown arguments in the document body and reports an error certain for every argument (package-call-error).featmisspelled-magic-comment.% !rex program = texor% !TeX progamis reported early, with a fix to!TeXorprogram.featlow-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).featindistinct-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).featPackage rules.package-load-orderfinds a later package that redefines an earlier one's command, the fix moves its\usepackageup.redundant-package-loaddeletes a load the class or an earlier package made already.unknown-package-namesuggests an installed package a letter or two away (graphixgivesgraphicx).featPDF 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 tagginglists the setup. "Accessibility…" edits tagging, PDF standard, language, title, alternative texts and table headers (type_plugins.tagging).featEarly 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 lintprints them at once as provisional, the run confirms or retracts each (lints.early).featOverfull preflight.overfull-line,overfull-boxandwider-than-linereport pdflatex'sOverfull \hboxby the same amount. A too wide\includegraphicsgets the fixwidth=\linewidth.featRule metadata.satex lint --explain,--rules,satex query --list, the editor and the wiki showsince. Summaries are short, rule numbers never change once released.featPackage augmentations. Per-package lint knowledge is switchable insatex.yaml. siunitx comes first:inconsistent-precisionreads its rounding ofScolumns.featSpacing and punctuation fixes.primitive-tex-commandrewrites\vskipto\vspaceand\hskipto\hspace.command-terminated-spacecovers\TeX filein TikZ nodes and\fbox.scripts/spacing-sweep.pychecks every spacing fix on real documents.math-punctuationhandles$use?$ edge.fixA\refinside an argument counts, and every cleveref form.\refin\footnote,\emph,\textbfor\caption, and\cref,\Cref,\crefrange,\labelcrefand listsa,bwith or without hyperref, mark their labels as used: no falseunused-label, whose fix would delete them.fixProse 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,\urlor a listing is no prose:?before$x$starts no sentence.scripts/lint-sweep.pysets every prose rule's trigger in 23 contexts.fixNo findings from a run stopped before the body. Such a run shows only why it stopped.
Playground
feat-fixTables: 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.featTypeset 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 typesetlists them aslinebreaks.featMissing 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\toprulegets the fix\usepackage{booktabs}in the browser too.featSmart wrap. Withplayground.smart_wrapa line typed pastconventions.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.featPDF 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...
v0.2.4
Four new lints for references and sentences, faster analysis
Lints
featFour new lints for references and sentences.bare-reference(S059) flags a\refwith 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
featLinks 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
perfBenchmark results for 0.2.3. The benchmark page shows the 0.2.3 release.bcf2cf4
Analysis
perfFaster analysis. Fewer copies and lookups in hot paths: deferred writes, recent-write lookups, token counting, definition comparison, font lookup and widening. #44
v0.2.3
Starts in devcontainers, says why when it cannot
Playground
featThe text set so far, at every trace step. A step of the trace shows the paragraph as set up to it, so after an\elseyou read what that arm typeset (Hello, abab);satex tracegives it asset_so_far.b92d718fixThe 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
fixThe 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 onlywrite EPIPE. It now tries the scope first and caps memory withulimit -dwhere that fails, else runs on the server's own budget.786e1e0,3f34cf0fixEvery failed start says why and how to fix it. A brokensatex.pathor 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,3f34cf0fixWindows packages of the extension again. Packaging on Windows stopped at the webview scripts (it ranesbuildas a program, a.cmdthere), so neither 0.2.1 nor 0.2.2 published the extension.802cbdf
Site and docs
docsFair 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
Windows runs, no restart loop in VS Code
VS Code
fixNo 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
fixNo 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.9029e53fixThe site names the new release. A release starts the site build onmain, where the Pages deployment is allowed; a build from the tag was refused.e6b2357
Site and docs
docsPlainer 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
Fewer false errors, faster joins, unread parts reported
Analysis
fixDrawing 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.fixNo 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}.fixBig diagrams are no longer cut.limits.line_stepsis 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.fixCold 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.fixAn unknown number equals itself.\int_case:nnends 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:nand their kin on unknown values. A test whose two sides read the same register or number now decides by the constants added to it.fixPreamble 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.fixNo false runaway in everylongtable. 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@selon 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.perfJoins 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.fixExponentials and powers of l3fp.exp,lnand^in\fp_eval:ngive 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.fixNo 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}.fixRaised boxes in math.\raiseand\lowerin 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.featUnread parts are errors. The new lintunread-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 insatex lint.perfWritten lines and fonts. A line read back from the.auxfile 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.perfCall 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.fixRounded corners at unknown points. A loop summary no longer gives a waiting path the code of another program point:\pgfprocessroundraises no false errors.fixJoins 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.\letto text that is one of several takes the meanings of its first tokens. pgfmath on random counts is exact again and cheaper.fixPaired lists. An\edefof names a join kept paired (a float on the top list or deferred) holds their one text where every arm agrees.fixCuts inside a chapter. A line cut inside\includedrops the loop it stands in, even when its lists hold the document's text: the later chapters are read, with no extra\fiand no garbage file names.fixA stuck path inside a command. It ends that path only: the paths waiting outside go on (\pgfmathparse{\the\wd2}reached no end).fixColors 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\wno longer swallows the rest of the document.\meaningof text that is one of several prints each, so\colorletin a loop keeps the color exact.fixCalls 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\leton a path and turn the rest of the document into data.fixLong exact loops. A loop over known values is no longer cut as spinning. Its cut made names look undefined later on.fixLuaTeX's PDF commands.\pdfvariablereads as a quantity,\pdfextensionreads its operands, and\pdffeedbackis a query.fixBox sizes.\in math keeps a box's width, and\unhboxkeeps whether the last node is a ligature.perfLong bibliographies. A walk over a key list of unknown text ends afterlimits.rest_splitssplits, and a path save no longer copies the list of wildcard names.fixA lost formula ends. A$that finds no formula to close leaves math mode, so the\parbehind it no longer loops.fixNote columns clear. A call summary no longer stands for a call that reads another value than its first runs did, so\clearnotecolumnsends instead of setting hundreds of pages. A package loaded inside a paragraph stays out of the package cache.featLong 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 aspage-one-arm), so a thesis no longer runs the output routine once per float arm.fixA cut no longer forgets a chapter. A nesting cut inside\includewidened all the chapter defined, and macros with arguments stayed known through a widening.fixThe 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 afterlimits.line_overrunscuts.perfMuch 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.fixUndecided mode stays one mode. Arms of a mode split meet again in one mode, and token list sets survive widening, so a joined\fino longer starts false loops.0da79ed71c673dfixTyped numbers stay typed through pgfmath. Digits, signs and printed dimensions keep their type, and copies of one number compare equal.4536f7fcde8a604084ec7fixFloat lists keep their names, and value scans over unknown text no longer cut paths early.29bd2bb93e82429336d57601f0a7fixA build that falls back to an earlier run says so in its report.57a6b6bfixA 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, namedcall-learned-effect(analysis.assume_call_learned_effect,limits.call_learn_after,limits.call_learn_forks).\\pgfmathparseneeds no rule or stub. Rounded nodes and arrows of unknown size end clean.fixA penalty in a formula keeps the formula's size. siunitx 3.6 sets\nobreakinside math, so every\qtyhad an unknown width, and pictures around one raised false pgfmath errors.da70671fixNo crash when every arm of a choice is refuted. The run counted its fork off twice.bf50fd5
CLI
fixThe 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.fixThe right root document. Only the project's top-level build files (latexmkrc,Makefile,build.lua, …) hint at the root: a vendored bundle'sbuild.luano longer makes its example the root.project.rootinsatex.yamlnames the root over every guess.fixProgress that moves. The bar redraws every 2048 steps, not on their exact multiples, which a jump over skipped; counts read1.2B; a package stored in parts is reported cached once.
Lints
featQuiet arguments.lints.quiet-arguments.commandsnames commands whose arguments the typographic rules skip, as they skip verbatim text. Defaults:\todo,\missingfigure,\href,\lstinputlisting,\lstinline,\inputminted,\mintinline.fix**Precision...
v0.2.0
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
fixMaybe text reads clearly. One case picker per undecided conditional, glue specs over the glue, numbers and parameters colored alike.1403031fixA waiting widget says so until it opens.55f7986fixShowcase shots line up. One height, centered on small screens, the live window at full width, the stepper holding still.45ba0471c31cb6b95ee96d1908376867c3dfeatLanding 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.22939fdb711b33e553530884dcba0de0584e6a00989128f0dfixsatex guikeeps serving when its terminal closes or its output is piped tohead.bf8c194fixsatex guianalyzes the open file first and nothing unasked, and no longer freezes after a big compile.ff00464fixNever stuck. Dead workers, busy caches and bad stored state no longer stall the start. Stuck runs recover.5a702f482d7c20c0ff8415e722f1fixEverything reruns after a package download. Widgets wait for the analysis.6ee8c88d1aa312fixThe trace stepper keeps its place. Phone toolbar, claims and table buttons fit.0a4566911edabdf832d1388f8f79featsatex guiserves the playground on your own files, no upload. Seesatex gui.73f101bfeatLanding page. Try it first, a live window before the engine loads, a carousel of the widgets.d2d6c19d820715ad58d41c149ca2featTrace stepper. Step through what a macro expands to, with input, calls, forks and domains.50058c3cdc183530955fffeatDraw page. Find a symbol by sketching it.cbbaf1585fb7ec618019bfeatLibrary and first download with the most used packages, glossaries and the index.dbfec82ae5e2f067750d8featSettings, outline, cache dialog, timing popup and a typeset view.ef94a13e65d1452ae687eperfFirst download 6 MiB instead of 120.6528842d38a268perfRuns use every core the memory allows. Kernel caches survive builds.f58791729042c5
Editor plugins and widgets
fixHovers 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.eeeb418fixTikZ arrows draw only their tips, so a dashed or short arrow keeps its look.3fad770fixTikZ arrows touch their nodes in the drawing widget.10431bcfixPaper sizes known without geometry, so letter is no longer custom.06e4a47fixRequests never wait for a run, and exit stops a running analysis.fc5dda330b212440ae0c9fixDialogs never drop an edit, ask before discarding and undo in one step.91b5239c6a80effixColors complete only in color arguments, with swatches on the right line.5e6ecba59e9afad05aa00fixLenses and widget marks refresh after the run and survive stale positions.75189974431378c48fea9ff01740fixHovers lead with the signature.4c2984d9aa8577featDrawing canvas: every node shape pgf knows, libraries not loaded too, each drawn from a TeX sample, and arrows take clicks.e1b165afeatBibliography as a reference manager. A list with search, type badges and filters beside a checked editor,@stringconstants, import from DOI, arXiv, RIS, CSL-JSON and Zotero, a dblp check, duplicate and missing-field lints.eb65d13featDefinition history. Every redefinition and augment of a command, newest first, with\letcopies followed and definitions on other paths. Bodies on hover are pretty-printed, a toggle shows them raw.b29128ffeatDrag the margins in the page layout graphic. Under KOMA-Script the drag setsDIV.3fad770featTable, image, placement, tree, color and TikZ widgets write only what changed. Packages they need come from the installation, not a list.d3c4880c5be515decf572featPage layout per class. KOMA-Script keepsDIVandBCOR, memoir and the standard classes get geometry suggested. Edits keep every untouched byte. See type plugins.cf4243afeatIndex and bibliography managers open from\printindex,\citeand their kin. Every length field takes any unit, like2cmor0.5\linewidth, the TikZ grid size too. See type plugins.06e4a47featManagers add, edit and search glossaries, index terms, bibliographies (alsothebibliography, with a convert to.bib) and theorems. See type plugins. [e22a899](e22a89...
0.1.0: SaTeX is born
Initial Release :)
See the Readme for an initial feature overview!
Full Changelog: https://github.com/EagleoutIce/satex-analyzer/commits/v0.1.0