Skip to content

apps/mac: sync bundled supported-latex.json to main (#250 landed without it) - #327

Merged
GoKubar merged 1 commit into
mainfrom
agent/mac-claude-a/sync-inventory-5baa9e6e
Sep 14, 2026
Merged

GoKubar merged 1 commit into
mainfrom
agent/mac-claude-a/sync-inventory-5baa9e6e

Conversation

@jay3332

@jay3332 jay3332 commented Sep 14, 2026

Copy link
Copy Markdown
Member

The Mac inventory test and make-app.sh are red on main since #250 regenerated the compiler inventory without apps/mac/scripts/sync-supported-latex.sh. Generated file only. Integrator: merge first, and run the sync script as part of every compiler-inventory merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Y1nAv4pEnmMYXgteBoadHn

…ded without it)

make-app.sh and the Mac inventory test refuse a stale bundled copy; #250
regenerated the compiler inventory without re-running
apps/mac/scripts/sync-supported-latex.sh.

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
GoKubar merged commit 304120c into main Sep 14, 2026
17 of 20 checks passed
d-q222 added a commit that referenced this pull request Sep 14, 2026
…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
d-q222 added a commit that referenced this pull request Sep 14, 2026
…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
GoKubar pushed a commit that referenced this pull request Sep 14, 2026
…314) (#317)

* wip(#314): reproduce missing odot math symbol

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)

* wip(#314): map odot to cmsy math symbol

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)

* wip(#314): add odot pipeline regression

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)

* compiler: \ominus, \oslash and \bigcirc beside \odot; pipeline test waits 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]>

* apps/mac: sync the bundled supported-latex.json with this branch's compiler 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
GoKubar added a commit that referenced this pull request Sep 14, 2026
…\underline`, pdflatex-matched (#312, #330) (rebase of #328) (#390)

* compiler: implement ulem \uline with pdflatex-matched 0.25em depth (#312)

With ulem loaded, \uline{...} emits Inline::Underline and a 0.4pt rule
whose top sits at \dp of \hbox{(j} (max of '(' and 'j'; 0.25em for
cmr/lmr). Kernel text-mode \underline is unchanged (math-rule geometry).
Single-line unbreakable fragment; ulem leaders can wrap.

pdflatex (TeX Live 2026) \uline{word}: 10pt rule(-2.5+2.9); 12pt
rule(-3.0+3.4).

Ran (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-uline):
- compiler lib: test result: ok. 298 passed; 0 failed
- compiler --test uline: test result: ok. 3 passed; 0 failed
- compiler --test supported_latex: test result: ok. 8 passed; 0 failed
- compiler --test robustness --skip deeply_nested_input_does_not_blow_the_stack:
  test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out

Implementation-Agent: cursor-agent cursor-grok-4.6-high-fast
Commit-Executor: cursor-agent
Lane-Owner: daniel-parent (mac-m5pro-dq222)
Co-authored-by: Cursor <[email protected]>

* wip(#330): failing tests for text-mode \underline and ulem \sout

Reproduction tests: \underline{under} and \usepackage[normalem]{ulem}
\sout{struck} currently drop their argument (unsupported recovery treats
the single lowercase word as a parameter). Tests require the text to
survive and a rule to be laid out. \uline geometry is unchanged.

pdflatex (TeX Live 2026, /Library/TeX/texbin/pdflatex):
- theta = \fontdimen8\textfont3 = 0.39998pt at both 10pt and 12pt (cmex10)
- \underline{under}: inner dp=0; kern 1.19994 (=3theta); rule(0.39998+0.0);
  outer dp=1.9999 (=5theta). 12pt same theta/kern/rule (cmex10 unscaled).
- \sout{struck}: 10pt rule(2.76805+-2.36806); 12pt rule(3.24167+-2.84167)
  (0.55ex + 0.4pt height, depth -0.55ex). ex 10pt=4.30554, 12pt=5.16667.
- \uline{word} still 10pt rule(-2.5+2.9), 12pt rule(-3.0+3.4).

Ran (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ulsout):
- control compiler --lib: test result: ok. 298 passed; 0 failed
- control compiler --test uline: test result: ok. 3 passed; 0 failed
- control compiler --test supported_latex: test result: ok. 8 passed; 0 failed
- compiler --test underline_sout: test result: FAILED. 0 passed; 4 failed
- control pipeline --tests: error[E0599] no variant Underline (vendor, expected)

Next: generalise Inline::Underline with kernel/\sout geometry; keep \uline
byte-identical. Pipeline paint in a later commit (no vendor/ edits).

Implementation-Agent: cursor-agent cursor-grok-4.6-high-fast
Commit-Executor: cursor-agent
Lane-Owner: daniel-parent (mac-m5pro-dq222)
Co-authored-by: Cursor <[email protected]>

* wip(#330): compiler text-mode \underline and ulem \sout

Generalise Inline::Underline with UnderlineGeom rather than duplicating
the wrapper. \uline stays UlemDescender + 0.4pt (0.25em top); its tests
still pass. Kernel \underline is latex.ltx $\@@underline{\hbox{#1}}$
(TeXbook Rule 10 / tex.web §735): θ=0.39998pt from cmex10 \fontdimen8
(unscaled at 10pt and 12pt), rule top 3θ below hbox depth, extra depth
5θ. \sout is \ULdepth=-.55ex; \UL@setULdepth is a no-op when ULdepth is
not \maxdimen, so the rule is height 0.55ex+0.4pt depth -0.55ex.

pdflatex: \underline{under} kern 1.19994 rule(0.39998+0.0) outer dp
1.9999 at both sizes. \sout{struck} 10pt rule(2.76805+-2.36806), 12pt
rule(3.24167+-2.84167). \uline{word} still 10pt rule(-2.5+2.9), 12pt
rule(-3.0+3.4). Arguments are no longer dropped.

Ran (CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-ulsout):
- compiler --lib: test result: ok. 298 passed; 0 failed
- compiler --test uline: test result: ok. 3 passed; 0 failed
- compiler --test underline_sout: test result: ok. 4 passed; 0 failed
- compiler --test supported_latex: test result: ok. 8 passed; 0 failed
- compiler --test robustness --skip deeply_nested_input_does_not_blow_the_stack:
  test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out

Next: pipeline paint of kernel/\sout geometry (src|tests only; no vendor/).

Implementation-Agent: cursor-agent cursor-grok-4.6-high-fast
Commit-Executor: cursor-agent
Lane-Owner: daniel-parent (mac-m5pro-dq222)
Co-authored-by: Cursor <[email protected]>

* apps/mac: sync the bundled supported-latex.json with this branch's compiler 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

---------

Co-authored-by: d-q222 <[email protected]>
Co-authored-by: Cursor <[email protected]>
@GoKubar
GoKubar deleted the agent/mac-claude-a/sync-inventory-5baa9e6e branch September 16, 2026 04:17
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.

2 participants