Repository navigation
compiler: \textsc/\scshape/\sc and \mathsf/\mathtt/\mathit/\mathfrak alphabets (companion of #134) - #136
Merged
Conversation
They were reported as unsupported commands although the text was set. The Core 14 layout has no small-caps faces, so they keep the current style (\sc resets like the other LaTeX 2.09 forms); the render pipeline selects the NFSS sc shape itself. Supported inventory regenerated. Implementation-Agent: Claude Opus 5 (subagent kabir-claude font families, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]>
…alphanumerics A plain argument of \mathsf/\mathtt/\mathit (and every \mathfrak argument) becomes one Symbol atom of Unicode mathematical sans-serif, monospace, italic or fraktur code points, like \mathbb; any other argument keeps the surrounding math letters. The render pipeline maps them to the fontmath.ltx/amsfonts.sty fonts (cmss, cmtt, cmti, eufm). \mathfrak leaves the unimplemented vocabulary; inventory regenerated. Implementation-Agent: Claude Opus 5 (subagent kabir-claude font families, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]>
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
…d \mathfrak The compiler's Unicode mathematical alphanumerics (companion PR #136) and \mathbf are set in the fonts fontmath.ltx/amsfonts.sty use: runs of a text alphabet through the math text sink in that NFSS shape (TFM kerns and ligatures, last italic correction as delta), a single character as a math character from its TFM (TeX 1186), fraktur from eufm5/7/10 boxes with Latin Modern Math's Euler outlines. eufm TFM directory added to discovery. Oracle fixtures 47-50: \mathbf passes on main's vendor (0.15 bp); the alphabet fixtures are PENDING on the #136 re-pin and match pdflatex within 0.39 bp in a scratch build with #136 vendored. HW1/HW2 byte-identical. Implementation-Agent: Claude Opus 5 (subagent kabir-claude font families, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]>
This was referenced Sep 13, 2026
Member
|
Merged to main via integration/2026-09-13k (Commander). |
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.
Based on main
85ec30c7. Compiler only. Companion of #134 (render-pipeline NFSS families, shapes and math alphabets), but neither PR needs the other to build or pass.What
1.
\textsc{...},\scshapeand the LaTeX 2.09 form\scare supported style commands.style_command/style_declaration/BUILT_INSand the supported inventory, and removed from the "real but unimplemented" vocabulary.\textsc is not supported by this compiler versionerror diagnostics, although the text was typeset.\textsc/\scshapekeep the current style, and\scresets to upright roman like the other 2.09 forms. The render pipeline selects the real NFSSscshape from the source (render-pipeline: NFSS font families, shapes and math alphabets (sans, typewriter, small caps, slanted, \mathsf/\mathfrak) #134).2. Math alphabets.
\mathsf,\mathttor\mathit, and every\mathfrakargument, becomes oneSymbolatom of Unicode mathematical alphanumerics, like\mathbb/\mathcal:his U+210E);\mathsf{x^2}, keeps today's behaviour: the surrounding math letters.\mathsf/\mathtt/\mathitwere set in the default math letters, and\mathfrakwas an error.\mathfrakleaves the unimplemented vocabulary.tests/diagnostic_codes.rsnow uses\mathscras its unsupported example.fontmath.ltx: OT1 cmss/cmtt/cmr-it, i.e.rm-lmss/rm-lmtt/rm-lmrimetrics;amsfonts.sty/ueuf.fd:eufm5/7/10.No change to any public type, so no pipeline match or literal breaks on a re-pin. Before #134, a re-pinned pipeline would draw these code points from Latin Modern Math with OpenType advances.
Verification
small_caps_commands_are_supported_and_scoped(parser) andmath_alphabets_map_plain_letters_to_unicode_alphanumerics(math). Existingunbraced_style_switches_match_their_braced_formstill passes.crates/compiler/scripts/render_supported_latex.shregenerateddocs/user/compiler.md,supported/supported-latex.jsonandsupported/coverage.md.cargo test --releaseincrates/compiler: all test binaries green, includingsupported_latex,unsupported_inventoryanddiagnostic_codes.Integrator notes
apps/mac's bundled copy ofsupported-latex.jsonis not touched here, becauseapps/is outside this lane.\mathbb/\mathcal.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu