Repository navigation
Conversation
\footnote, \footnotemark and \footnotetext now go through TeX's insertion machinery instead of being set inline in the paragraph: - the mark is \@makefnmark: the number at \sf@size, raised by sup2 of the lmsy font at the current size, \scriptspace inside the box, with \nobreak before it and the space factor kept; - the note is set as \@footnotetext sets it: \footnotesize, the 1.8em \@makefntext mark box, \footnotesep strut, final strut depth, \interfootnotelinepenalty plus club/widow penalties, \columnwidth; - pagebuild::break_pages_inserts charges \skip\footins and each note against the page goal (TeX 1008-1010), splits a note that does not fit at vert_break, holds over what waits (\floatingpenalty after a split), and \@makecol sets \skip\footins, \footnoterule and the notes in the \vbox to\@ColhT (raggedbottom, flushbottom, \newpage and last page). Two-column documents get footnotes per column. Documents without footnotes keep the existing page builder: HW1, HW2 and the other seven real-world fixtures render byte-identical to main. Oracle: 24 fixtures vs pdflatex (MacTeX 2026), generator and expected data committed; 19 are gated and match every word within 0.5bp (worst 0.006bp) and every rule within 0.1bp. Reported, not gated: \thanks and report chapter reset (compiler), minipage footnotes (hook only), a blank line in a note (compiler), math inside a note (body size). Implementation-Agent: Claude Opus 5 (subagent kabir-claude footnotes render, 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
…math Floats: floatpage::paginate carries the page builder's InsertState (notes charged against \@colroom, \@pageht counts \footins, split and held notes, \@doclearpage notes page) and sets a note column as \@makecol: body, \skip\footins, \footnoterule and notes, then bottom floats (footnotes-floats-legacy). pagebuild::settle_inserts factors out section 1018-1021. \thanks: title marks are \rlap'ped and the notes follow the title's last line; \@fnsymbol marks take ts1-lmr TFM metrics. Mark clearance is depth + x-height/4 (rule 18c). A paragraph break in a note sets \par and the 1em \parindent box. Math in notes uses the \footnotesize math fonts (8/6/5, 10/7/5); 9pt keeps body metrics with a diagnostic. Oracle: 15 new pdflatex fixtures (floats t/b/p/h, split, deferred; \thanks; report/book chapters; note math; minipage). Fixtures needing the footnote-counters compiler are gated when vendor/compiler has it. Includes PR #140. Implementation-Agent: Claude Opus 5 (subagent kabir-claude footnotes 2, 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
This was referenced Sep 13, 2026
Closed
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
Both sides restructured the same column placement in floatpage.rs: #154's footnote-aware \@makecol branch, main's column glue setting and two-column offset. Took #154's structure and re-applied main's glue_adj/floatsep/off inside both branches, checked against the three merge stages. paginate now carries first_colht as well as text_blocks/ins; #154's warning about twocolumn+floats was dropped because main's first_colht is the fix for it. 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
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
Two feature overlaps with #154 resolved in favour of the more general side: #151's for_text_size/math_fonts_at supersede #154's at_text_size (removed, with its duplicate field and math_box arity restored to #151's wrapper plus math_box_sized). break_pages_inserts and break_pages_tops remain separate page builders; footnotes win and the combination now warns. layout_blocks gained has_floats and Flow gained chapter_tops, as #135's split requires. 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
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
Reconstructed, not textually merged: 38 conflicts across 11 files. Part 1 (display wire) follows the merge log: transforms joins main's display::Wire and the parallel *_caps family is dropped. Part 2 (float bodies, adapter/typeset arms) rebuilt from the three merge stages as #154 was, because #135 and #170 both rewrote that code. graphics_oracle 24/24 vs MacTeX; render-pipeline builds for the first time since stage 2. 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
GoKubar
added a commit
that referenced
this pull request
Sep 13, 2026
16 conflicts (adapter.rs 10, typeset.rs 5, incremental.rs 1). All but one were misalignments: git shared common tails between this branch's additions and #156's, so each side ended mid-construct and a plain "keep both" would not compile. Rebuilt as complete separate pieces, as the merge log records for #154 and #170. - `Item` / `BoxRec` / `AItem` / `Paragraph`: both sides add variants and fields (#156's Glue, Rigid, Penalty, EmptyBox, Qed, Rules, LocalRule, `theorem_head`). Kept from both, with the enclosing enum, struct and match arms closed explicitly where git had shared a brace. - **Incremental cache tags renumbered.** #156 numbered its five new `hash_items` arms 10-14, which this branch already uses for Footnote/TextBox/SetLength/LengthGlue/HSs. These tags key the incremental layout cache, so a collision serves one item's cached layout for another -- the same hazard #170 hit, fixed the same way. #156's are now 19-23, the first free run. The two pre-existing collisions (Logo/Table at 9, Footnote/Rule at 10) are left for #182, which replaces the hand-numbering with `mem::discriminant`. - `\qedhere` in a display: #156's block computes e/q before the display is placed, so it goes ahead of #157's fleqn/§1201 squeeze rather than the plain §1199 centring #156 carried with it. The symbol is built into a `NumberBox` (this branch's representation, which is where display_block reads the height and depth from) instead of #156's bare `(run, rec)` pair. - `\addvspace`: kept main's `\@xaddvskip` rule (a negative amount after a non-negative `\lastskip` is added to it) together with #156's flex, so the surviving skip keeps its own stretch and shrink. - `gap_has_list_end` came back. The origin/main merge had dropped it as having no caller; #156's theorem-skip code needs it. It is now written in terms of `LIST_ENVS` so it cannot drift from the other list predicates. The one real disagreement, found by measurement, not by reading #156 guards display continuation with `*prev_style == ParaStyle::Plain && prev_list.is_none()`. Merged as written, display-placement fell from 33/36 to 31/36: every new failure was a display inside a list or a quote, shifted 12 to 20 pt vertically (`20-enumerate-nested-display`, `29-quote-display`, and `19-itemize-display` got worse). Those two conjuncts are #156's older, coarser form of two conditions this branch already states more precisely two lines above -- `same_list` (which compares level and margins, not merely "no list") and `styled.unwrap_or_ default() == *prev_style`. Keeping them disabled display continuation inside every list. Only `&& !theorem_head`, the genuinely new theorem condition, is kept; display-placement is back to 33/36. Gates (NixOS PC, TeX Live 2025, bundled tree plus nix-store `ec`; no committed oracle data regenerated; zero font diagnostics on every run): - amsmath 59/59, tabular 59/59, display-placement 33/36 -- all unchanged. - theorem_oracle passes (#156's own corpus, MacTeX references). - real-world 10/10 recovered, every page count still equal to its committed reference. lecture-notes drops from 7 diagnostics to 6: a theorem construct that was recovered is now supported. - `cargo test --release` in render-pipeline: the same 11 known failures as before this merge, no more. Eight of them also fail on unmerged origin/main on this machine (the four NewCM controls, metrics_provenance, font_families_oracle, footnotes_oracle, page_frame); the other three (float_bodies, headings, list) have no baseline on a non-MacTeX host. 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
GoKubar
added a commit
that referenced
this pull request
Sep 14, 2026
…ColhT Extends draft #154 (`agent/kabir-claude/footnotes-2` @ 8217e98), which this branch is based on and does not replace. #154 already carries the insertion state through the float paginator; these are the two places its model and pdflatex disagree, both found by ten new fixtures and both measured against local pdflatex (TeX Live 2025). 1. **§1005's shrink allowance.** The box-overflow shortcut fired at `total > \pagegoal`, but TeX only calls a page hopeless once the excess passes what the glue can shrink. A body of `\parskip 0pt plus 1pt` has no shrink, so this never showed without insertions; `\skip\footins`'s `minus 2pt` (and an `h` float's `\intextsep`) supplies some, and the column lost the line TeX keeps. `06-float-page-note` was a body line short on page 1 with the `\footnoterule` 11.36 bp high. 2. **One `\vbox to\@colht`, not a body packed to `\@colroom`.** `\@makecol` attaches the notes to `\box\@cclv` first (the default `build/column/outputbox` plug is `footnotes-floats-legacy`) and only then `\@combinefloats` wraps the floats around that, so the column is top floats, \floatsep between them, \textfloatsep, the body, the \vfil \@outputbox@removebskip lifted off its end, \skip\footins, \footnoterule, the notes, \textfloatsep, the bottom floats, \vskip-\dp, \@textbottom `\@cflt` and `\@cflb` build plain `\vbox`es and only `\@make@normalcolbox` packs `\vbox to\@colht`, so a single glue set ratio covers the body's glue, `\skip\footins` (`plus 4pt minus 2pt`) and both `\textfloatsep`s (`plus 2pt minus 4pt`) together. Setting the body and notes to `\@colroom` on their own and then placing the bottom floats by a rule (flush at `\@colht` with a `\vfil` or `\flushbottom`, natural otherwise) gives `\skip\footins` no share of the slack: on `02-bottom-float-note` the rule, the notes and the bottom float sat 1.276 bp high, and on `08-twocolumn-float-note` the second column's body sat 1.137 bp high from its fourth line down. `pagebuild::make_column` now takes the column's float material (`ColumnFloats`) and returns where it put each float box (`FloatPlacement`), which replaces the `keep_depth` flag and the `text_off` shifting in `floatpage`. `break_pages_inserts` passes an empty `ColumnFloats` and is unchanged. `\@cflt`/`\@cflb`/`\@makecol`/`\@specialoutput` were read from latex.ltx as shipped by TeX Live 2025, and the column order was confirmed against a `\tracingoutput=1` dump of a page carrying a top float, a note and a bottom float. ## Fixtures Ten under `fixtures/float-notes/`, with `tools/float-notes-oracle/generate.py` and the `float_notes_oracle` test: top float + note, bottom float + note (notes above the float), a note that defers a float through `\@pageht`, three competing `[t]` floats with notes, a note split under a top float, a `[p]` float page with a note pending, an `h` float with notes, two-column, `\clearpage` with a note and deferred floats, and a page with a top float, a bottom float and three notes. **reference_engine: pdfTeX 3.141592653-2.6-1.40.27 (TeX Live 2025/nixos.org)** — generated on this Linux host, recorded in each expected file's header. Unlike the MacTeX 2026 data under `fixtures/footnotes/` and `fixtures/floats/`, none of which is regenerated here. Implementation-Agent: engine-engineer (kabir-claude float-notes lane) Commit-Executor: engine-engineer (direct git, Cursor usage limit fallback) 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 14, 2026
…math Floats: `floatpage::paginate` carries the page builder's `InsertState` (notes charged against `\@colroom`, `\@pageht` counts `\footins`, split and held notes, the `\@doclearpage` notes page) and sets a note column as `\@makecol`: body, `\skip\footins`, `\footnoterule` and notes, then bottom floats. `pagebuild::settle_inserts` factors out sections 1018-1021. `\thanks`: title marks are `\rlap`ped and the notes follow the title's last line; `\@fnsymbol` marks take ts1-lmr TFM metrics. Mark clearance is depth + x-height/4 (rule 18c). A paragraph break in a note sets `\par` and the 1em `\parindent` box. Math in notes uses the `\footnotesize` math fonts (8/6/5, 10/7/5); 9pt keeps body metrics with a diagnostic. Oracle: 15 new pdflatex fixtures (floats t/b/p/h, split, deferred; `\thanks`; report/book chapters; note math; minipage). Rebased from PR #154 onto main 190 commits later. Its first commit (`d7ddf641`, footnotes at the column foot) is already on main; only this one was outstanding. Four places where main had moved: - `Context` gained `multicol::State` on main while this branch gained `rlap_marks`/`math_fonts_sized`; all three are kept. - Inline math. This branch changed `math_box` to take the text size, so a formula in a note is laid out with that size's math fonts; main meanwhile split a formula into `math_pieces` for inline line breaking. The two are orthogonal: `math_box(list, span, false, size)` feeding `math_pieces(rec, size, span)`. The `\LaTeXe` logo's `\varepsilon` -- main's only other `math_box` caller -- passes the surrounding text size, so a logo inside a note follows the note. - `TexMathMetrics::new` gained a `cmex_designs` parameter on main (family 3 at amsfonts' designs rather than `omxcmex.fd`'s `sfixed` 10pt) and `fraktur`/`alphabets` fields. This branch refactored the same function into `at_text_size`, which is what makes 8pt note math possible at all. Merged: `at_text_size(text_pt, cmex_designs, otf, fonts) -> Option<Self>` keeps main's designs switch and both new fields, and `new` delegates to it. - `BoxRec::Rule` gained a `bottom` field on main; the `\parindent` box of a note's paragraph break sets it to 0 (the baseline), and main's `width <= 0 || height <= 0` guard already covers the zero-height rule this branch was skipping with an arm of its own. Footnotes oracle, `vendor/compiler` re-pinned locally to the reconstructed #153: `compiler_has_footnote_counters()` probes true, so the seven `NEEDS_COMPILER` fixtures -- `\thanks` symbol marks, report/book chapter resets and the `\long` note argument -- are gated rather than merely measured, and they pass. 39 fixtures: 34 gated and matching pdflatex, 5 in `REPORTED` for constructs that are still unimplemented. `cargo test --release` on crates/render-pipeline: 202 passed, 0 failed -- the same count as main, because the 15 new fixtures live inside the existing oracle test rather than adding test functions. Rebase-Agent: Claude Opus 5 (engine lane, linux-primary) Implementation-Agent: Claude Opus 5 (subagent kabir-claude footnotes 2, 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 14, 2026
…ColhT Extends draft #154 (`agent/kabir-claude/footnotes-2` @ 8217e98), which this branch is based on and does not replace. #154 already carries the insertion state through the float paginator; these are the two places its model and pdflatex disagree, both found by ten new fixtures and both measured against local pdflatex (TeX Live 2025). 1. **§1005's shrink allowance.** The box-overflow shortcut fired at `total > \pagegoal`, but TeX only calls a page hopeless once the excess passes what the glue can shrink. A body of `\parskip 0pt plus 1pt` has no shrink, so this never showed without insertions; `\skip\footins`'s `minus 2pt` (and an `h` float's `\intextsep`) supplies some, and the column lost the line TeX keeps. `06-float-page-note` was a body line short on page 1 with the `\footnoterule` 11.36 bp high. 2. **One `\vbox to\@colht`, not a body packed to `\@colroom`.** `\@makecol` attaches the notes to `\box\@cclv` first (the default `build/column/outputbox` plug is `footnotes-floats-legacy`) and only then `\@combinefloats` wraps the floats around that, so the column is top floats, \floatsep between them, \textfloatsep, the body, the \vfil \@outputbox@removebskip lifted off its end, \skip\footins, \footnoterule, the notes, \textfloatsep, the bottom floats, \vskip-\dp, \@textbottom `\@cflt` and `\@cflb` build plain `\vbox`es and only `\@make@normalcolbox` packs `\vbox to\@colht`, so a single glue set ratio covers the body's glue, `\skip\footins` (`plus 4pt minus 2pt`) and both `\textfloatsep`s (`plus 2pt minus 4pt`) together. Setting the body and notes to `\@colroom` on their own and then placing the bottom floats by a rule (flush at `\@colht` with a `\vfil` or `\flushbottom`, natural otherwise) gives `\skip\footins` no share of the slack: on `02-bottom-float-note` the rule, the notes and the bottom float sat 1.276 bp high, and on `08-twocolumn-float-note` the second column's body sat 1.137 bp high from its fourth line down. `pagebuild::make_column` now takes the column's float material (`ColumnFloats`) and returns where it put each float box (`FloatPlacement`), which replaces the `keep_depth` flag and the `text_off` shifting in `floatpage`. `break_pages_inserts` passes an empty `ColumnFloats` and is unchanged. `\@cflt`/`\@cflb`/`\@makecol`/`\@specialoutput` were read from latex.ltx as shipped by TeX Live 2025, and the column order was confirmed against a `\tracingoutput=1` dump of a page carrying a top float, a note and a bottom float. ## Fixtures Ten under `fixtures/float-notes/`, with `tools/float-notes-oracle/generate.py` and the `float_notes_oracle` test: top float + note, bottom float + note (notes above the float), a note that defers a float through `\@pageht`, three competing `[t]` floats with notes, a note split under a top float, a `[p]` float page with a note pending, an `h` float with notes, two-column, `\clearpage` with a note and deferred floats, and a page with a top float, a bottom float and three notes. **reference_engine: pdfTeX 3.141592653-2.6-1.40.27 (TeX Live 2025/nixos.org)** — generated on this Linux host, recorded in each expected file's header. Unlike the MacTeX 2026 data under `fixtures/footnotes/` and `fixtures/floats/`, none of which is regenerated here. Implementation-Agent: engine-engineer (kabir-claude float-notes lane) Commit-Executor: engine-engineer (direct git, Cursor usage limit fallback) Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu
Contributor
Author
|
Closing as superseded — the work is already on Replacement: 479d2c2 same title Closed by the integration lane while clearing a 219-PR backlog (112 of them drafts). If this is wrong, reopen it and tell me — I would rather be corrected than leave stale work buried. — orchestrator-astra (Commander) |
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.
Closes the footnote gaps left by #140. Includes #140 (
agent/kabir-claude/footnotes-render, merged into this branch); basemain. Uses the compiler change in compiler PR #153 (agent/kabir-claude/footnotes-2-compiler, which includes #142) for\thanks,\chapterresets and multi-paragraph notes. Nothing undervendor/is changed: those fixtures are gated only whenvendor/compilerhas the change (the test probes it), so this branch is green on its own pins. After the integrator re-pins the compiler they gate automatically.What changes
typeset/floatpage.rs,pagebuild.rs). The float page builder now carries the sameInsertStateasbreak_pages_inserts: notes are charged against\@colroom, and\@specialoutput's\@pagehtincludes\ht+\skip+\dp\footins. Notes split and hold over;\@doclearpagemakes a notes page before deferred floats are flushed. The column is set as\@makecoldoes: body,\skip\footins,\footnoteruleand notes, then bottom floats\textfloatsepbelow (thefootnotes-floats-legacyplug; pdflatex confirms the notes sit above[b]floats). Bottom floats follow the notes under\raggedbottom, or sit at\@colhtwith a\vfilor\flushbottom. The settle step (§1018–1021) is factored intopagebuild::settle_inserts.\thanks. Title marks are\rlapped (zero width) and the notes are anchored after the title's last line (\@thanksin vertical mode).\@fnsymbolmarks take their width/height/depth from the ts1-lmr TFMs, since the T1 metrics lack them; the height matters when a raised dagger triggers\lineskip.depth + ¼ x-height(Appendix G rule 18c), not ⅘. Digits were unaffected.\par, then the\parindent1em box. A zero-height rule record backs the box, and pdfTeX ships no rule with height plus depth ≤ 0.\footnotesizemath fonts: 8/6/5 pt in a 10pt class (cmr/cmmi/cmsy 8, 6, 5) and 10/7/5 in a 12pt class (TexMathMetrics::at_text_size). A 9pt note (11pt class) needs cmmi9/cmsy9, which math-layout does not embed, so it keeps the body metrics with amath_limitationdiagnostic.Oracle (MacTeX 2026 pdflatex; cargo never runs TeX)
15 new fixtures (25–39), 39 in total. Tolerances are #140's: words 0.5bp, rules 0.1bp.
[t]+ note, 26[b]+ note, 27[t]+[b]+ notes, 28[p]+ notes, 29[h]+ notes, 30 note split under a top float, 31 deferred floats + notes\thanks× 4 (title, two\andauthors, date), 33\thanks+ body notes (11pt)\chapter*), 35 book chapters\frac/\sqrt/\sumin a note\sumare painted from Latin Modern Math, whose origins are not lmsy8's/lmex10's (measured)MinipageNoteshook kept)Previously measured fixtures from #140:
10-report-chapter-reset,12-thanks,14-multipar-note: exact with the new compiler, gated when present.15-math-note: the 8pt math is now exact. The words after it are still up to 1.7bp off, because the formula is one rigid box in a justified line while TeX also stretches\thickmuskip(measured).13-minipage: measured.The oracle test now splits a glyph run where the baseline changes or a gap opens, and doesn't join runs of different fonts, as pdflatex's text positioning does.
Gates
cargo test --release(render-pipeline) is green on the branch as committed and with a scratch swap of the new compiler intovendor/compiler(uncommitted, reverted). Both runs cover footnotes_oracle, floats_oracle, page_frame, tabular_oracle, microtype, incremental, golden_v1 and latex_structure. float-tables/float-bodies are not on main.tools/real-world-corpus/run.py --no-oracle --no-pixels), main 85ec30c vs this branch with the compiler swap: all 9 fixtures give byte-identicalrender.v2.json, HW1 and HW2 included, with identical status, pages and diagnostics.🤖 Generated with Claude Code
https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu