Repository navigation
Conversation
\mbox, \makebox, \fbox, \framebox, \parbox, minipage, \raisebox, \phantom/\hphantom/\vphantom, \smash, \llap/\rlap, \strut, \hss, \newsavebox/\sbox/\savebox/lrbox/\usebox and \newlength with \settowidth/\settoheight/\settodepth parse into Inline::Box, Inline::SetLength and Inline::LengthGlue (src/boxes.rs). Dimensions keep their decimal digits and unit so the typesetter converts them exactly (crates/tex-boxes); \parbox/minipage keep paragraphs and alignment. The Core 14 layout places box content inline. Supported inventory regenerated. Implementation-Agent: Claude Opus 5 (subagent kabir-claude box commands, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]>
Implementation-Agent: Claude Opus 5 (subagent kabir-claude box commands, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]>
Implementation-Agent: Claude Opus 5 (subagent kabir-claude box commands, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]> # Conflicts: # crates/compiler/src/parser.rs # docs/user/compiler.md
This was referenced Sep 13, 2026
Merged
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
Conflicts: lib.rs modules (boxes + color/color_names), parser.rs modules (hyperlinks/boxes/lists + colors) and Inline enum (#137's Box/SetLength/LengthGlue + #150's ColorBox variant, then main's ReferenceForm and #150's ColorBox struct), incremental.rs span shifting (both). Integration fixes: #150's parser/colors.rs box_inlines renamed color_box_inlines (clashed with #137's); #149's theorems.rs ITALIC const gains color: None; set_length records \fboxsep/\fboxrule before #137's set_box_length claims the assignment, so \colorbox sees it (xcolor_parse fboxsep 3.0 vs 5.0). Implementation-Agent: Claude Opus 5 (subagent kabir-claude integration, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
…ession handoff) Stage 1 partly done: #131, #137, #153 (incl. #142), #144, #147, #149, #150, #155, #159, #163, #164 merged with conflicts and post-expansion fixes recorded in docs/evidence/integration-2026-09-13b/merge-log.md. Remaining: #166, #169, #148, #161, then the inventory regeneration and stages 2-4. The helper scripts under tools/ hard-code the original worktree path. Implementation-Agent: Claude Opus 5 (subagent kabir-claude integration, mac-m5pro-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
…merges Every stage 1 merge took main's side of the generated inventory and deferred the regeneration to the end of the stage. Running crates/compiler/scripts/render_supported_latex.sh picks up #131, #137, #144, #147, #149, #150, #153, #155, #159, #163, #164, #166 and #169, so supported_latex::generated_artifacts_are_current passes again. The TeX Live-derived canonical denominator is deliberately untouched: this machine has TeX Live 2025, not the MacTeX the committed file was pinned from. Implementation-Agent: Claude Opus 5 (subagent kabir-claude integration, nixos-pc-kabir) Commit-Executor: Claude Code direct Git Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
This was referenced Sep 15, 2026
Closed
Contributor
Author
|
Closing as abandoned (per backlog triage). Conflicting, based on 2026-09-13 main, no activity or dependents since. The structured box-command model here never landed (main treats \mbox via supported.rs passthrough, no Inline box nodes), and the \settowidth territory now has a newer open draft, #492 (BoxMeasurer). A restart should rebuild on current main; the branch agent/kabir-claude/box-commands is preserved for reference. |
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.
What
LaTeX box commands parse into structured inline nodes instead of
unsupportederrors:\mbox,\makebox[w][l|c|r|s],\fbox,\framebox[w][pos],\parbox[pos][height][inner]{w},minipage(same options),\raisebox{lift}[h][d],\phantom/\hphantom/\vphantom,\smash,\llap/\rlap,\strut,\hss,\newsavebox/\sbox/\savebox/lrbox/\usebox,\newlength+\settowidth/\settoheight/\settodepth,\setlengthof a\newlength, and\hspace{\len}/\hspace{.5\textwidth}.src/boxes.rs:Inline::Box(TextBox),Inline::SetLength(LengthAssignment),Inline::LengthGlue.Dimensions keep their decimal digits and unit (
BoxDimen) so the typesetter converts them to sp exactly asscan_dimendoes(physical units,
em/ex,\width/\height/\depth/\totalheight,\textwidth-style and declared lengths).src/parser/boxes.rs: every content argument goes through the ordinary paragraph parser as its own group, so spans are exact andmath, nested boxes and style commands work inside.
\parbox/minipagekeep paragraphs and their alignment declaration(
\centeringetc.); outer list/alignment state is hidden as\@parboxrestoredoes.[2cm][r]written as one word is split correctly.(kernel commands 104 -> 119 of 410, environments 15 -> 16 of 30, total 194 -> 210 of 1003).
Not in this PR (other lanes):
\rule,\TeX/\LaTeX,\,and friends (text builtins PR #128).minipageis implementedgenerally in running text; the float-bodies lane's side-by-side subfigures inside floats should reuse
Inline::Boxrather thanadd a second minipage path. Minipage footnotes (
\@mpfootins) are not implemented: the note is set inline, as elsewhere.Depends / follow-up
The render-pipeline half is a separate PR against main (not stacked, per the 11:14Z rule): branch
agent/kabir-claude/box-commands-pipeline. It needsvendor/compilerre-pinned to this PR's merge.Evidence
cargo test(crates/compiler, after merging main 85ec30c): 374 passed, 1 failed. The failure,supported_latex::canonical_names_outside_the_inventory_are_diagnosed, fails identically on origin/main (verified in a cleancheckout:
\andreachesunsupported()'sdebug_assert); not touched here.tests/box_commands.rs(6 tests): arguments, kinds, paragraphs/alignment, saved-box reuse, length assignments, diagnosticsfor undeclared registers, nested content.
HW1/HW2 PDFs and display lists are byte-identical to main.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu