Skip to content

compiler: 24 textcomp single-glyph text symbols (#837) - #902

Merged
d-q222 merged 3 commits into
mainfrom
muse/textcomp-symbols
Sep 18, 2026
Merged

d-q222 merged 3 commits into
mainfrom
muse/textcomp-symbols

Conversation

@d-q222

@d-q222 d-q222 commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds 24 textcomp (TS1) symbols to the existing TEXT_SYMBOLS mechanism, each a \DeclareTextSymbol in real ts1enc.def with a matching \DeclareUnicodeCharacter in ts1enc.dfu: \textdegree \textmu \textohm \textcelsius \texteuro \textyen \textwon \textcurrency \textestimated \textnumero \textrecipe \textservicemark \textbardbl \textbrokenbar \texttimes \textdiv \textonehalf \textonequarter \textthreequarters \textperthousand \textpertenthousand \textopenbullet \textlangle \textrangle.

\textminus/\textquotesingle are deliberately excluded: ts1enc.dfu declares no Unicode character for them, so this table's dfu-lookup mechanism can't spell them (font-engine work, out of scope). No package gating added — the existing text-symbol path never checks \usepackage, matching precedent exactly.

Test plan

  • 24 new regression tests (one per symbol), following the existing textbullet_typesets_a_bullet style
  • Oracle: real TeX Live 2026 pdflatex + pdftotext byte-confirmed 10 of the 24 codepoints directly; the other 14 confirmed against ts1enc.dfu's own \DeclareUnicodeCharacter lines
  • Full crates/compiler suite, independently re-run on the exact pushed tree: cargo test --locked and cargo test --release --locked, both 0 failures

Produced by a supervised Muse Contributor lane (textcomp-symbols), reviewed (full diff read, independently re-tested both debug and release) by me. The lane transparently flagged a file-scope overrun (touching the generated supported-latex.json/docs/user/compiler.md beyond its stated file list) because the full-suite-green acceptance gate required it — accepted, since those are derived artifacts, not logic. I ran the apps/mac bundled-copy sync step myself since lanes cannot touch apps/**.

🤖 Generated with Claude Code

Extend TEXT_SYMBOLS, the parser text-symbol dispatch arm, and
BUILT_INS with the TS1 textcomp commands that resolve to one fixed
Unicode codepoint through the existing dfu lookup. No package gating:
existing text symbols are ungated, and this slice matches that
precedent. \textminus/\textquotesingle are excluded: ts1enc.dfu
declares no Unicode character for them. One regression test per symbol
asserting the exact codepoint.

Implementation-Agent: muse-spark-1.3-contributor
Commit-Executor: muse-spark-1.3-contributor
Via flashtex-compiler --supported (json + docs section splice);
coverage.md regenerated byte-identical (no canonical-denominator
change). Mac-app sync step skipped: apps/ is frozen for this lane.

Implementation-Agent: muse-spark-1.3-contributor
Commit-Executor: muse-spark-1.3-contributor
apps/** is out of lane scope; running the sync step here as supervisor.

Implementation-Agent: daniel-muse-lead-2
Commit-Executor: daniel-muse-lead-2
@d-q222
d-q222 merged commit 5f3e490 into main Sep 18, 2026
22 checks passed
jay3332 added a commit that referenced this pull request Sep 18, 2026
…tries take the paragraph branch

Thirteen more compiler files landed on main since the last pin (etoolbox
toggles, #901/#902/#913/#915/#917/#929). The mirror follows main again;
the one new variant, tabular::Align::Flexible (tabularx's X column, a
paragraph entry whose share is fixed at layout time), is set flush left
like p entries when its content is placed.

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
jay3332 added a commit that referenced this pull request Sep 18, 2026
…tries take the paragraph branch

Thirteen more compiler files landed on main since the last pin (etoolbox
toggles, #901/#902/#913/#915/#917/#929). The mirror follows main again;
the one new variant, tabular::Align::Flexible (tabularx's X column, a
paragraph entry whose share is fixed at layout time), is set flush left
like p entries when its content is placed.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant