Skip to content

feat: add reusable LaTeX component library - #395

Merged
szmyty merged 1 commit into
mainfrom
feat/latex-component-library-381
Sep 11, 2026
Merged

feat: add reusable LaTeX component library#395
szmyty merged 1 commit into
mainfrom
feat/latex-component-library-381

Conversation

@szmyty

@szmyty szmyty commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • extract shared color, typography, layout, figure, table, code, callout, and metadata presentation primitives into a modular LaTeX component layer
  • refactor the research Pandoc template into a profile-level composition that consumes the shared layer and exposes semantic token/font overrides
  • inject absolute style and optional local-font roots through the existing PDF strategy without overriding profile configuration
  • add a redistribution-safe component showcase fixture and architecture/extension documentation

Verification

  • cargo check --workspace --locked
  • cargo clippy --workspace --lib --bins --all-features --locked -- -D warnings -A clippy::too_many_arguments
  • renderflow spec validate --config "tests/fixtures/latex-components/renderflow.yaml"
  • Pandoc expansion of the synthetic showcase through templates/research/research.tex
  • two-pass XeLaTeX artifact smoke: valid 2-page A4 PDF
  • missing local-font smoke: warning emitted and deterministic Latin Modern fallback compiled
  • git diff --check

Tectonic and MkDocs are not installed in the local environment. The full test suite was intentionally skipped for this sprint, per the current speed-run policy.

Closes #381

@szmyty
szmyty merged commit 8f027f2 into main Sep 11, 2026
15 of 18 checks passed
@szmyty
szmyty deleted the feat/latex-component-library-381 branch September 11, 2026 19:40
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.

🧩 Build a reusable LaTeX style and component library for publication profiles

1 participant