Skip to content

class-geometry steps 4–5 (rebased on fe864d90) - #105

Merged
jay3332 merged 1 commit into
mainfrom
agent/kabir-claude/render-pipeline-class-geometry-2r
Sep 13, 2026
Merged

jay3332 merged 1 commit into
mainfrom
agent/kabir-claude/render-pipeline-class-geometry-2r

Conversation

@GoKubar

@GoKubar GoKubar commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

Supersedes #102: its single commit (twoside, twocolumn, page styles and marks) rebuilt on main fe864d9 now that #99 is merged.

Conflict: typeset.rs page breaking versus graphics-floats-r3.

  • Kept floatpage::paginate, and the two-column/twoside loop runs over its output.
  • Float image items and float labels are mapped from page-builder column to page, then shifted by that page's \evensidemargin/column offset.
  • display::shift_x now moves Item::Image, including the transform translation, which the new enum variant required.
  • vendor/* untouched.

Tests (cargo test --release): render-pipeline green, 109 passed (floats_oracle, tikz_pipeline, class_geometry_frame, page_frame).

  • page_frame: 22/22 fixtures, same tolerances.
  • HW1/HW2 PDFs and display-list JSON byte-identical to main fe864d9:
    • HW1 PDF cbca7ada…
    • HW2 PDF c500bf4c…

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu

…steps 4-5)

Per-page left edges (even pages at \evensidemargin) via Laid::line_dx;
two-column pages from pairs of \textheight columns with \columnseprule;
\flushbottom glue set for two-sided/two-column documents and \sloppy in
two columns; header/footer lines from class-geometry StyleMacros (plain,
empty, headings, myheadings; body \pagestyle and \thispagestyle) with
\slshape running heads (Role::Slanted, ec-lmro metrics) and
\sectionmark/\chaptermark/\markboth/\markright marks; report/book
\chapter openers (\thispagestyle{plain}, \@makechapterhead, chapter.section
numbers); \noindent read from the source. Body-only input keeps
\pagestyle{empty}.

Rebased on main fe864d9 (graphics-floats-r3): the column/page loop runs
over floatpage::paginate's columns; float image items and float labels
are remapped from column to page number and shifted by the page's
\evensidemargin/column offset (display::shift_x now moves Item::Image,
including the transform translation).

Oracle: tests/page_frame.rs, 22 pdflatex fixtures (positions read from
the PDF content streams by tools/page-frame-oracle/generate.py): chrome
83/83, rules 3/3, left edges 63/63, matched line starts 1970/1970 within
0.1pt. HW1/HW2 display lists and PDFs byte-identical to main.

Implementation-Agent: Claude Opus 5 (subagent kabir-claude rebases fe864d9, 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
@jay3332

jay3332 commented Sep 13, 2026

Copy link
Copy Markdown
Member

Merged to main via integration/2026-09-13f (Commander).

@GoKubar
GoKubar deleted the agent/kabir-claude/render-pipeline-class-geometry-2r branch September 13, 2026 18:12
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