Repository navigation
integration: compiler queue (#554, #555, #558, #559, #562) - #645
Merged
Merged
Conversation
\thepage parses to a new Inline::ThePage resolved at layout time to the physical page being set, formatted in the \pagenumbering style in force there (previously: unknown_command). \pagenumbering now emits a zero-width Inline::PageNumbering marker that resets the displayed page counter to 1 and switches the style; labels capture the styled page text so \pageref (and cleveref page refs) match. Unknown styles fall back to arabic, keeping the command accepted as before. Implementation-Agent: muse-spark-1.3-contributor Commit-Executor: muse-spark-1.3-contributor
caption.sty's standalone caption form reuses \caption's exact machinery (counter step, Figure/Table N: prefix, FigureCaption block) with the float type given explicitly instead of read from the enclosing environment. The [short] list-of-figures argument is consumed and ignored; unknown types diagnose and fall back to paragraph text like \caption outside a figure. Inventory entry plus regenerated supported-LaTeX artifacts. Implementation-Agent: muse-spark-1.3-contributor
\marginpar[<left>]{<right>} now parses to a new Inline::Marginpar
carrying the one-sided {<right>} note (a present [<left>] is consumed
with a warning); the unsupported_feature diagnostic is gone in the real
compiler, incremental span-shifting/block signatures and the Core 14
layout (skips the note, no mark) updated. Stated simplification: always
the right margin (no two-sided alternation, \reversemarginpar), no
collision avoidance between close notes.
Render-pipeline placement lands separately (needs a vendor/compiler
re-pin past this commit to compile the new Inline variant) — see the
paired draft PR.
Implementation-Agent: muse-spark-1.3-contributor
Commit-Executor: daniel-muse-lead-2 (Claude Sonnet Muse supervisor; split
compiler-only files from muse/marginpar 3473c632/9c819976 for the
compiler-PR-first/pipeline-draft-second pattern)
Co-authored-by: d-q222 <[email protected]>
What changed: - add project-relative biblatex resource loading, numeric citations, notes, sorting, and bibliography rendering - route biblatex commands through a dedicated compiler module What was run: - CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-biblatex cargo test --manifest-path crates/compiler/Cargo.toml --test biblatex -- --nocapture: 7 passed Next step: - commit focused coverage and regenerated support inventories Lane-Owner: daniel-parent (mac-m5pro-dq222) Implementation-Agent: codex gpt-5.6-luna (max) Commit-Executor: codex (this session); trailers added by daniel-parent Lane-Owner: daniel-parent (mac-m5pro-dq222)
What changed: - add coverage for citations, notes, textcite, nocite, sorting, undefined keys, and headings - regenerate compiler and macOS supported-LaTeX inventories and user docs What was run: - CARGO_TARGET_DIR=/Users/dqi26/flashtex/target-biblatex cargo test --manifest-path crates/compiler/Cargo.toml --test biblatex -- --nocapture: test result: ok. 7 passed; 0 failed - sh crates/compiler/scripts/render_supported_latex.sh: completed Next step: - run the final full compiler test suite Lane-Owner: daniel-parent (mac-m5pro-dq222) Implementation-Agent: codex gpt-5.6-luna (max) Commit-Executor: codex (this session); trailers added by daniel-parent Lane-Owner: daniel-parent (mac-m5pro-dq222)
eqnarray/eqnarray* now parse via multirow_environment (rows on \\, 3 cells on &), numbered against the shared equation counter (* unnumbers all, \nonumber/\notag unnumbers one row); N rows consume N+1 numbers per ltmath.dtx. Both envs moved from the unimplemented to the implemented inventory. Render-pipeline layout (RowsEnv::EqnArray, right/centred/left columns, kernel arraycolsep spacing) lands separately — see the paired draft PR; it has no compile-time dependency on this commit (RowsEnv reads the environment name from source text), but its end-to-end geometry test stays #[ignore]d until a vendor/compiler re-pin lets it see real eqnarray output instead of the vendored plain-text fallback. Implementation-Agent: muse-spark-1.3-contributor Commit-Executor: daniel-muse-lead-2 (Claude Sonnet Muse supervisor; split compiler-only files from muse/eqnarray for the compiler-PR-first/ pipeline-draft-second pattern) Co-authored-by: d-q222 <[email protected]>
What changed: - `\addbibresource` and `\printbibliography` move out of `P::command` into `#[inline(never)]` helpers (`add_bib_resource`, `print_bibliography`); `biblatex_cite` is `#[inline(never)]` too. - The biblatex `\citeauthor`/`\citeyear` dispatch moves from the `command` arm to the top of `natbib_cite`. - Why: `P::command` is on the stack once per nested sub-parse. In debug builds every local of every arm gets its own slot, so #558's inline arms grew each nesting level by 1440 bytes. Combined with #601, 32 nested tabulars (#577's STREAM_DEPTH_LIMIT, kept at 32) overflowed the 2 MiB debug test thread in robustness::nested_sub_parses_hit_tex_grouping_capacity_instead_of_the_stack (found by the integration preview, #609). What was run: - Stack per nesting level (debug), measured with a scratch probe that prints the stack address in `parse_stream` at each depth (not committed): | construct | #601 | #601+#558 before | #601+#558 after | | tabular | 57232 | 58672 | 57360 | | footnote | 31424 | 32864 | 31552 | | colorbox | 30928 | 32368 | 31056 | | rotatebox | 32048 | 33488 | 32176 | | uline | 30336 | 31776 | 30464 | - #601 + #558 (merge), debug, CARGO_BUILD_JOBS=4: cargo test --test robustness --test biblatex biblatex: test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s robustness: test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 41.06s - This branch, debug: biblatex: test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s robustness: test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 40.81s natbib: test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s --lib cite: test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 331 filtered out; finished in 0.00s Next step: merge into the integration preview (#609) and rerun there. Implementation-Agent: claude-opus-5 subagent of daniel-parent Commit-Executor: daniel-parent subagent Claude-Session: https://claude.ai/code/session_012c9XLkHjePPGBuarrmE2mz
vocabulary.rs KNOWN_UNIMPLEMENTED_COMMANDS: keep this branch's removal of captionof (now implemented) and main's addition of lstlistoflistings. docs/user/compiler.md and the supported-latex inventory regenerated via crates/compiler/scripts/render_supported_latex.sh; mac bundled copy synced. Implementation-Agent: fable-rebase-b Commit-Executor: fable-rebase-b (direct; Cursor usage limit)
Append-shaped conflicts: keep main's fnsymbol entries alongside this branch's marginpar in parser.rs dispatch/vocabulary and supported.rs. docs/user/compiler.md and the supported-latex inventory regenerated via crates/compiler/scripts/render_supported_latex.sh; mac bundled copy synced. Implementation-Agent: fable-rebase-b Commit-Executor: fable-rebase-b (direct; Cursor usage limit)
tests/supported_latex.rs: append-shaped probe-list conflict, kept both sides (main's ifthenelse probe + the branch's captionof probe). docs/user/compiler.md is generated; regenerated at the end of the queue. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
…tion-cmp parser.rs: kept main's rewritten \linebreak/\nolinebreak penalty implementation and added the new \marginpar dispatch arm. Generated artifacts taken from ours; regenerated at the end of the queue. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
lib.rs: kept both new module lines (biblatex + char_table), alphabetical. vocabulary.rs command_package: kept main's newer listings/minted hints and took the branch's citeyear/natbib and biblatex cite-family hints. Generated artifacts taken from ours; regenerated at the end of the queue. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
…ion-cmp parser.rs: kept main's take_row_shove (multline \shoveleft/\shoveright) alongside the branch's eqnarray doc comment; both sides' new tests added at the same insertion point were reconstructed in full (eqnarray pair + main's Aboxed test). vocabulary.rs: eqnarray/eqnarray* moved into IMPLEMENTED_ENVIRONMENTS next to main's new size environments; KNOWN_UNIMPLEMENTED_ENVIRONMENTS resolved as the union of removals (main's dcases/rcases/samepage/sloppypar/small/footnotesize and this branch's eqnarray/eqnarray* all stay removed). Generated artifacts taken from ours; regenerated at the end of the queue. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
layout.rs: main turned the LayoutCursor constructor's cleveref field into a passed-in parameter; kept that and added the branch's new page_style/page_value fields. Generated artifacts taken from ours; regenerated next. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
crates/compiler/scripts/render_supported_latex.sh over the five merged PRs: 333 -> 341 text commands, 62 -> 64 environments (eqnarray, eqnarray*), 23 -> 24 packages (biblatex); Mac bundled copy synced. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
…gration-cmp Code files auto-merged; KNOWN_UNIMPLEMENTED_ENVIRONMENTS verified as the union of removals (main's tabbing + this branch's eqnarray/eqnarray*). Generated artifacts regenerated on the merged tree, never hand-merged. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
…shtex-bibliography PR #558 added flashtex-bibliography to flashtex-compiler's dependencies but only updated crates/compiler/Cargo.lock. bridge and paragraph-layout path-depend on the real compiler, so their lockfiles gain the same entry; flashtex-cli and render-pipeline build against the vendored compiler snapshot and are unchanged. Verified CI-style with cargo build --release --locked for all five crates. Implementation-Agent: fable-integration-cmp Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
GoKubar
added a commit
that referenced
this pull request
Sep 15, 2026
KNOWN_UNIMPLEMENTED_ENVIRONMENTS resolved as the union of removals: main removed tabbing (#642) and eqnarray/eqnarray* (#645), this branch removed frame (#544); none re-added. Generated supported-latex artefacts regenerated via render_supported_latex.sh, never hand-merged. Implementation-Agent: fable-integration-2 Commit-Executor: fable-integration-2 (direct; Cursor usage limit)
GoKubar
added a commit
that referenced
this pull request
Sep 15, 2026
Implementation-Agent: fable-integration-rp Commit-Executor: fable-integration-rp (direct; Cursor usage limit)
This was referenced Sep 15, 2026
Closed
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.
One integration branch carrying five compiler PRs that all append to the same hub files (
parser.rs,vocabulary.rs,supported.rs, the generated inventories), so they land as a unit instead of knocking each other into conflict. Each PR's head is merged with--no-ff, preserving its commits and authorship. Merging this PR lands and supersedes:\captionof{figure/table}[short]{text}outside floats (branchagent/daniel-muse-lead/captionof)\marginparparses toInline::Marginpar, right-margin note (branchagent/daniel-muse-lead-2/marginpar-compiler)\addbibresource,\printbibliography,\cite/\parencite/\textcite/\autocite/\citeauthor/\citeyear/\nocite(branchagent/daniel-parent/biblatex-basic)eqnarray/eqnarray*via multirow displays on the equation counter (branchagent/daniel-muse-lead-2/eqnarray-compiler; its render-pipeline half render-pipeline: lay out eqnarray as centred rcl block (#520, needs vendor re-pin) #561 stays a separate draft)\thepage+\pagenumbering{style}on the\pagereflate-binding path (branchagent/daniel-muse-lead-2/thepage)Non-trivial resolutions
\linebreak/\nolinebreakpenalty implementation; kept main's version and added only the new"marginpar"dispatch arm.aboxed_rows_keep_the_relation_at_the_shared_alignment_point). Kept main'stake_row_shovehelper next to the branch's updated rows doc comment.KNOWN_UNIMPLEMENTED_ENVIRONMENTSresolved as the union of removals — main's dcases/rcases/samepage/sloppypar/small/footnotesize removals and the branch's eqnarray/eqnarray* removal all stay removed; eqnarray/eqnarray* joinIMPLEMENTED_ENVIRONMENTSbeside main's new size-environment entries.command_packagehints, took the branch'sciteyear→natbib and cite-family→biblatex hints.LayoutCursorconstructor'sclevereffield into a parameter; kept that and added the branch'spage_style/page_valuefields.docs/user/compiler.md,supported/coverage.md, bothsupported-latex.jsons) were never hand-merged: regenerated once on the combined head viacrates/compiler/scripts/render_supported_latex.sh(333 → 341 text commands, 62 → 64 environments, 23 → 24 packages).Verification on the combined head
cargo test --release --manifest-path crates/compiler/Cargo.toml --no-run— compiles clean, checked first and separately. Only warnings are 4 pre-existingunreachable patternduplicates incrates/math-layout/src/cm.rs, present identically onorigin/main(this branch does not touch math-layout).apps/mac/scripts/sync-supported-latex.sh --check— bundled copy byte-identical (38f96557394e).Nothing under
crates/render-pipeline/vendor/**is touched.Implementation-Agent: fable-integration-cmp
Commit-Executor: fable-integration-cmp (direct; Cursor usage limit)
🤖 Generated with Claude Code
https://claude.ai/code/session_01Xd5Hmwh5GHNTiAmHUJ1MZu