Repository navigation
render-pipeline: packages the pipeline sets no longer come back as "not implemented" - #241
Merged
Merged
Conversation
…s "not implemented" `flashtex check HW1.tex` reported `packages amsmath, amssymb are recognised but not implemented` and `packages microtype are recognised but not implemented` on a document whose align displays, \mathbb and protrusion it had just typeset. The compiler emits those from `parser::package_matches_layout`, which only knows what the compiler's own layout does; the render pipeline sets amsmath/amssymb/amsfonts (mathtex, style::cmex_designs), lmodern, microtype (adapter::microtype_setup), geometry (flashtex_class_geometry through document_setup), graphicx (floats::ImageCache) and tikz (tikz) itself. New `packages` module: `supersede_message` strips those names from the compiler's message, keeping its exact phrasing (the Mac app's diagnostic categories key off it) and dropping the diagnostic when nothing is left; `preamble_command_superseded` drops `\pagestyle is not supported in the document preamble` for a document with a \documentclass, because DocumentSetup::from_preamble reads that command. Wired into `render` next to the existing TikZ and contents-list supersessions. Real-world corpus through the CLI, before -> after: HW1 6 -> 4 warnings, HW2 9 -> 7, cv 1 error -> 0 errors; page counts unchanged everywhere. render-pipeline `cargo test --release --no-fail-fast` with the bundled font dirs: every binary 0 failed (39 result lines), unchanged from main. docs/user/compiler.md notes the pipeline-level silence after the generated package table. Implementation-Agent: Claude Code (mac-claude-a) Commit-Executor: git via Claude Code Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn
GoKubar
pushed a commit
that referenced
this pull request
Sep 15, 2026
…ositions, new compiler lanes (#246) The board still said "main ad71b64" with FT-050..055 as the queue. It now carries the FT-060..067 outcomes, the two standing performance programs (FT-070 Kabir, FT-071 Mac), the dispositions agreed on issue #2 for the 53 open PRs (Kabir's 2026-09-14T00:10Z triage), the merge order #233 -> #241 -> #230 -> #231 -> #232, and the three unclaimed compiler lanes #242/#243/#244 that close the last real-world corpus errors. Historical rows are kept below. Implementation-Agent: Claude Code (mac-claude-a) Commit-Executor: git via Claude Code Claude-Session: https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
flashtex check HW1.texreportedpackages amsmath, amssymb are recognised but not implementedandpackages microtype are recognised but not implementedon a document whose align displays,\mathbband protrusion it had just typeset. The compiler emits those fromparser::package_matches_layout, which only knows the compiler's own layout; the render pipeline sets amsmath/amssymb/amsfonts, lmodern, microtype, geometry, graphicx and tikz itself.New
crates/render-pipeline/src/packages.rs:supersede_messagestrips those names from the compiler's message, keeping its exact phrasing (the Mac app's diagnostic categories key off it) and dropping the diagnostic when nothing is left.preamble_command_supersededdrops\pagestyle is not supported in the document preamblefor a document with a\documentclass, becauseDocumentSetup::from_preamblereads that command.Wired into
renderbeside the existing TikZ and contents-list supersessions. No compiler change (so no collision with #230/#231);flashtex-compileron its own still reports them, anddocs/user/compiler.mdsays so after the generated package table.Gates (fonts:
FLASHTEX_FONT_DIRS=apps/mac/Fonts,FLASHTEX_TFM_DIRS=lm:ec:amsfonts/symbols):cargo test --release --no-fail-fast\pagestyle{empty})Remaining corpus errors are compiler gaps, filed separately: letter class (
\signature/\address/\opening…),\c/\vtext accents,\maketitlewithout\author.🤖 Generated with Claude Code
https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn