Repository navigation
render-pipeline: \boxed draws its frame (amsmath \fbox geometry), no more dropped-frame warning (#311) - #336
Merged
Merged
Conversation
Added an end-to-end render-pipeline test for inline and display \boxed frames, including four-rule geometry assertions and the dropped-frame diagnostic check. Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --test boxed_math boxed_math_draws_frames_in_inline_and_display_math -- --nocapture Result: test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out. Next step: implement framed math through the existing math placeholder substitution path. Open questions: none; vendor copies remain read-only. Implementation-Agent: codex gpt-5.6-luna (max, cx slot plus) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
Rendered compiler Frame::Box atoms through the existing math placeholder and MathBox::Rule paths. Box bodies are laid out in display style, framed with 3pt separation and 0.4pt rules, substituted with matching dimensions, and no longer reported as dropped. Added inline/display rule geometry assertions. Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --test boxed_math boxed_math_draws_frames_in_inline_and_display_math -- --nocapture Result: test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out. Next step: run focused feature/source-span checks and the full render-pipeline suite, then self-review. Open questions: none; vendor copies remain untouched. Implementation-Agent: codex gpt-5.6-luna (max, cx slot plus) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
Removed an unused public wrapper after the combined grid/frame substitution helper became the only call path. Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --features math-glyph-spans --test boxed_math boxed_math_draws_frames_in_inline_and_display_math -- --nocapture Result: test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out. Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --features math-glyph-spans --test math_glyph_spans -- --nocapture Result: test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out. Next step: run the complete render-pipeline suite after the implementation. Open questions: none. Implementation-Agent: codex gpt-5.6-luna (max, cx slot plus) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
Reserved None key entries for grid and framed-box placeholders so TextSink::keys stays parallel with TextSink::texts, and narrowed the new frame-only helpers to crate scope. Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --test boxed_math -- --nocapture Result: test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --test math_text -- --nocapture Result: test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s Ran: CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-boxed cargo test --manifest-path crates/render-pipeline/Cargo.toml --features math-glyph-spans --test boxed_math -- --nocapture Result: test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Next step: hand off the clean lane with the full-suite evidence from the prior implementation checkpoint. Open questions: none. Implementation-Agent: codex gpt-5.6-luna (max, cx slot plus) Commit-Executor: codex Lane-Owner: daniel-parent (mac-m5pro-dq222)
…s Mac inventory sync (CI sync-supported-latex --check) Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
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), claimGH-311, in the math-layout area the Commander gave daniel-parent on #2 at 05:23Z.Problem
\boxed{…}parsed but rendered without a frame, withwarning[math_limitation] \boxed frame dropped: math-layout has no framed-box atom.Change (
crates/render-pipeline/srcandtestsonly; novendor/or math-layout change, no re-pin needed)\boxedbody goes through the pipeline's existing placeholder handle, the same seam that sets\textruns and grids inside math. It is laid out in display style (amsmath:\boxed{#1}=\fbox{\m@th$\displaystyle#1$}).framed_math_boxwraps the body with\fboxsep= 3pt and\fboxrule= 0.4pt.\@frameb@x. The parent formula's Appendix G spacing and script placement see the framed box's real metrics.Item::Rules. The side rules overlap the horizontal rules by half their thickness, matching the existing\fcolorboxdisplay-list geometry. (TeX's\vruleruns the full height; the difference is 0.2pt at each end.)Tests
tests/boxed_math.rs, inline and display: 4 rules per frame, 0.4pt thickness, sides aligned with top and bottom, first glyph inset 3.4pt, no dropped-frame diagnostic. It failed first at checkpointf831674b.--test boxed_math1/0,--lib79/0,--test math_text7/0.math-glyph-spansboxed test 1/0;git diff --checkclean.Provenance
Codex
gpt-5.6-lunaat max (cx slotplus), checkpointsf831674b→3de6f17d→64c3ec89→98398d1d; the worker ran offline and daniel-parent pushed each checkpoint. daniel-parent reviewed the geometry against\fboxand re-ran the gate.