Repository navigation
compiler: \odot, \ominus, \oslash and \bigcirc are binary operators (#314) - #317
Merged
Merged
Conversation
What changed: added a compiler spacing regression for a\\odot b. What was run: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-odot cargo test --manifest-path crates/compiler/Cargo.toml --lib math::spacing_tests::odot_is_a_binary_operator -- --exact; test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 294 filtered out. Next step: add the compiler glyph and Bin-class mappings, then regenerate the supported inventory. Open questions: render-pipeline uses a read-only vendored compiler mirror and will need a separate integration re-pin. Implementation-Agent: codex gpt-5.6-luna (max, cx slot xedu) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
What changed: added COMMAND_GLYPHS and Bin-class mappings for odot, bound U+2299 to the pinned Latin Modern Math advance table at 778 font units, and regenerated the supported compiler inventory. What was run: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-odot sh crates/compiler/scripts/render_supported_latex.sh; regenerated successfully. cargo test --manifest-path crates/compiler/Cargo.toml --lib math::spacing_tests::odot_is_a_binary_operator -- --exact; test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 294 filtered out. What was run: cargo test --manifest-path crates/compiler/Cargo.toml --lib export::tests::every_math_symbol_has_a_decided_export_outcome -- --exact; test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 294 filtered out. cargo test --manifest-path crates/compiler/Cargo.toml --test lm_math_binding; test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out. Next step: add the render-pipeline glyph-drawn regression and verify the pinned vendor limitation. Open questions: crates/render-pipeline/vendor/compiler remains read-only and needs a separate integration re-pin to consume this source fix. Implementation-Agent: codex gpt-5.6-luna (max, cx slot xedu) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
What changed: added a render-pipeline regression that requires U+2299 to appear as a drawn math glyph with no odot diagnostic. What was run: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-odot cargo test --manifest-path crates/render-pipeline/Cargo.toml --test math_symbols odot_is_painted_as_a_binary_math_glyph -- --exact; test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 10 filtered out. Observed failure: the read-only vendor/compiler mirror emitted a literal a\\odotb run and compiler:\\odot is not supported in math mode. Next step: integration must re-pin crates/render-pipeline/vendor/compiler (and its PIN) to this source change, then rerun the pipeline test. Open questions: no vendor files were edited per vendor/VENDORING.md; the existing pipeline warnings are unchanged. Implementation-Agent: codex gpt-5.6-luna (max, cx slot xedu) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
…aits for the re-pin The sibling cmsy circled operators had the same gap as \odot (#314): \ominus U+2296 ("09), \oslash U+2298 ("0B) and \bigcirc U+25EF ("0D), all \mathbin in fontmath.ltx, mapped by math-layout's cm.rs already. Added to COMMAND_GLYPHS, symbol_class (Bin), the vocabulary and the LM Math advances (778/778/1013 font units, measured with hb-shape from apps/mac/Fonts/latinmodern-math.otf); the spacing test covers all four; supported-latex inventory regenerated. odot_is_painted_as_a_binary_math_glyph is #[ignore]d: render-pipeline links the frozen vendor/compiler snapshot, so it can only pass after the integration lane re-pins vendor/compiler past this change. Tests (daniel-parent, own target dir): compiler lib 295/0, supported_latex 8/0. Worker-reported: lm_math_binding 6/0, export coverage 1/0, render-pipeline math_symbols 10/0/1 ignored. Implementation-Agent: codex gpt-5.6-luna (max, cx slot xedu) Commit-Executor: git, direct, by daniel-parent (worker sandbox could not write the git index on resume) Lane-Owner: daniel-parent (mac-m5pro-dq222) Co-authored-by: d-q222 <[email protected]>
This was referenced Sep 14, 2026
…section main (#343's re-pin batch) changed the generated counts in docs/user/compiler.md. Regenerated with crates/compiler/scripts/render_supported_latex.sh: 244 text, 546 math (542 on main + \odot \ominus \oslash \bigcirc), 48 environments, 14 packages. supported_latex 8/0; full crates/compiler suite has no failures. Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
…mpiler inventory The integration triage on #2 (5661305277) found this PR regenerates crates/compiler/supported/supported-latex.json without the Mac bundled copy, so CompletionTests.testBundledInventoryMatchesTheCompiler would fail once it lands. Merged current main (which carries #327's sync), regenerated with crates/compiler/scripts/render_supported_latex.sh, and copied the inventory byte-for-byte to apps/mac/Sources/FlashTeXMac/Resources/supported-latex.json. supported_latex 8/0. Commit-Executor: Claude Code (daniel-parent, mac-m5pro-dq222) Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
Contributor
Author
|
daniel-parent (per the integration triage on #2): Mac bundled |
This was referenced Sep 14, 2026
…the supported-LaTeX artefacts after #380 and sync the Mac copy Conflicts were generated files only; regenerated with render_supported_latex.sh and copied the Mac bundled inventory byte-for-byte. Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
…ted-LaTeX artefacts, sync Mac copy Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
This was referenced Sep 14, 2026
compiler: accept
hyperref and \hypersetup, and break URLs the way url.sty does (rebase of #385)
#388
Merged
This was referenced Sep 14, 2026
d-q222
added a commit
that referenced
this pull request
Sep 14, 2026
…atex.sh Fixes GH-SUPPORTED-SYNC-TOOL: four PRs today (#317, #328, #379, #380) regenerated crates/compiler/supported/supported-latex.json without also running apps/mac/scripts/sync-supported-latex.sh, so main's Mac CI inventory-sync check kept going red after merges. render_supported_latex.sh now invokes sync-supported-latex.sh (regenerate mode, no --check) after rewriting supported-latex.json, coverage.md, and docs/user/compiler.md, so a re-render can never leave the Mac bundled copy stale. Both script paths derive from $compiler (absolute, caller-cwd- independent), so this works from any current working directory. Explicit --root passed for visibility at the call site even though the sync script's own default already resolves correctly here. Fails loudly (exit 1, named path) if the sync script is missing or if it errors -- no silent continuation under set -eu. Header comments in both scripts now point at each other. No README/docs line described the two scripts as a separate manual two-step process, so none needed changing. Tests, all re-run independently by the reviewer after rebasing onto current main: - Ran the combined script from /tmp (a foreign cwd): exit 0, ends with "sync-supported-latex.sh: bundled copy is current". Verified crates/compiler/supported/supported-latex.json and the Mac bundled copy are byte-identical (sha256 e98c9845aad0...). - apps/mac/scripts/sync-supported-latex.sh --check: exit 0. - Implementer's own evidence (fake-change round trip, missing-script failure path, cargo test --test supported_latex 8/8) reproduced the same results on the rebased commit. Implementation-Agent: muse-spark-1.3-contributor (Muse Code, lane render-sync-tool, slice 1) Commit-Executor: daniel-muse-lead (Claude Sonnet) Reviewed-by: daniel-muse-lead (Claude Sonnet) Muse-Lane-Head: 6afb4ce7c69032e0f2835e2c1d4e90d7943effbf Co-authored-by: d-q222 <[email protected]>
d-q222
added a commit
that referenced
this pull request
Sep 14, 2026
…atex.sh Fixes GH-SUPPORTED-SYNC-TOOL: four PRs today (#317, #328, #379, #380) regenerated crates/compiler/supported/supported-latex.json without also running apps/mac/scripts/sync-supported-latex.sh, so main's Mac CI inventory-sync check kept going red after merges. render_supported_latex.sh now invokes sync-supported-latex.sh (regenerate mode, no --check) after rewriting supported-latex.json, coverage.md, and docs/user/compiler.md, so a re-render can never leave the Mac bundled copy stale. Both script paths derive from $compiler (absolute, caller-cwd- independent), so this works from any current working directory. Explicit --root passed for visibility at the call site even though the sync script's own default already resolves correctly here. Fails loudly (exit 1, named path) if the sync script is missing or if it errors -- no silent continuation under set -eu. Header comments in both scripts now point at each other. No README/docs line described the two scripts as a separate manual two-step process, so none needed changing. Tests, all re-run independently by the reviewer after rebasing onto current main: - Ran the combined script from /tmp (a foreign cwd): exit 0, ends with "sync-supported-latex.sh: bundled copy is current". Verified crates/compiler/supported/supported-latex.json and the Mac bundled copy are byte-identical (sha256 e98c9845aad0...). - apps/mac/scripts/sync-supported-latex.sh --check: exit 0. - Implementer's own evidence (fake-change round trip, missing-script failure path, cargo test --test supported_latex 8/8) reproduced the same results on the rebased commit. Implementation-Agent: muse-spark-1.3-contributor (Muse Code, lane render-sync-tool, slice 1) Commit-Executor: daniel-muse-lead (Claude Sonnet) Reviewed-by: daniel-muse-lead (Claude Sonnet) Muse-Lane-Head: 6afb4ce7c69032e0f2835e2c1d4e90d7943effbf Co-authored-by: d-q222 <[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.
Lane
daniel-parent(Max 20x, mac-m5pro-dq222; not daniel-vpclaude). The\odotpart was assigned by the Commander on #2 at 05:23Z; claimGH-314.Problem
$a \odot b$gaveerror[compiler] \odot is not supported in math modeand printed literally. math-layout already maps the glyph (cm.rs); the compiler's symbol table didn't.\ominus,\oslashand\bigcirchad the same gap.Change (
crates/compileronly;cm.rsandvendor/untouched)\ominus"09\oslash"0B\odot"0C\bigcirc"0Dfontmath.ltx, which declares all four\mathbin.hb-shapefromapps/mac/Fonts/latinmodern-math.otf.COMMAND_GLYPHS,symbol_class, the vocabulary and the generated supported-LaTeX inventory and docs are updated.Needs the vendor re-pin after merge
render-pipeline links the frozen
vendor/compilersnapshot, so the app and CLI render these only after the integration lane re-pins past this PR.odot_is_painted_as_a_binary_math_glyphincrates/render-pipeline/tests/math_symbols.rsis#[ignore]d until then; un-ignore it in the re-pin.Tests
--lib295/0,supported_latex8/0.lm_math_binding6/0, export coverage 1/0, render-pipelinemath_symbols10 passed with 1 ignored.robustness::deeply_nested_input_does_not_blow_the_stackoverflows its stack in a debug build on base9bd4b025too.Provenance
Implemented by Codex
gpt-5.6-lunaat max (cx slotxedu) as checkpointscdc94bc3→b1922e90→a41796e5, plus a follow-up requested in review. daniel-parent reviewed, re-ran the gate and committed54fbeb0c.