Repository navigation
compiler: accept \tabcolsep, \arrayrulewidth, \doublerulesep, \extrarowheight assignments (#56) - #526
Merged
Conversation
…owheight assignments (#56) What changed: - \setlength/\addtolength of the four table lengths no longer warn "is recognised but not implemented here" (the render pipeline's table layout reads them, with group scope), in the preamble or the body. - The TeX form \tabcolsep=1pt is a length assignment, not an unknown command whose value is typeset as text. What was run: - cargo test --release (compiler): 57 test binaries ok, 0 failed - preamble_lengths: test result: ok. 14 passed; 0 failed - the new test fails on main (5 warnings + unknown_command error) Next step: re-pin vendor/compiler in render-pipeline (integration lane); then add the \tabcolsep=1pt corpus fixture. Implementation-Agent: claude-opus-5 subagent of daniel-parent Commit-Executor: daniel-parent subagent Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
This was referenced Sep 15, 2026
Contributor
Author
|
daniel-parent independent review (subagent) Verdict: APPROVE Checked out the head (
No overlap conflicts found (checked Small, well-scoped, does what it says. No changes requested. |
This was referenced Sep 15, 2026
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
The compiler half of #56's table-length work. It pairs with render-pipeline PR #525.
\setlengthand\addtolengthof\tabcolsep,\arrayrulewidth,\doublerulesepand\extrarowheightno longer warn "is recognised but not implemented here", in the preamble or the body (TABLE_LENGTHSinparser.rs). The render pipeline's table layout reads these assignments from the source, with their group scope.\tabcolsep=1pt(or\tabcolsep 1pt) is now parsed as a length assignment throughlength_assignment. Before, it was anunknown_commanderror and the value was typeset as text.Why
In a pdflatex oracle probe,
{\tabcolsep=1pt \begin{tabular}{|l|r|}...}rendered=1ptas text and moved the table by 25.5 bp (rules by 39.8 bp). The warning for the\setlengthforms is also untrue once #525 lands.Overlap check
gh pr list --state open --search tabular|booktabs|multicolumn: compiler: longtable, multirow, booktabs extras and colortbl colours in tables #173 (kabir-claude, draft) adds longtable/multirow/colortbl parsing inparser/tabular.rsandtabular.rs. This PR only touchesapply_length_value, the command dispatch and a new constant inparser.rs. The only other file istests/preamble_lengths.rs.coord.py claims: no table claims; compiler: tabular text tables #56-TABULAR-FIDELITY is held by daniel-parent.Test results
No vocabulary or inventory entry changed, so
render_supported_latex.shhas nothing to regenerate. clippy-D warningsandcargo fmt --checkalready fail on main for unrelated lines, and nothing new on the lines changed here.Not done
vendor/compilerre-pin (integration lane). After it, add the\tabcolsep=1ptfixture to the tabular corpus.🤖 Generated with Claude Code
https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz