render: worker toolchains and output profiles #24

Open
opened 2026-11-15 22:24:08 -05:00 by forgejo_admin · 2 comments
Owner

Each worker image carries its backend's toolchain and runs the compiler profile named in backend_formats.profile for the job's (backend, format). No tern at run time: a job compiles one snapshot once (docs/architecture.md).

  • texlive: latexmk-lualatex (synctex, no shell-escape, -interaction=nonstopmode)
  • typst: typst-pdf, typst-png, typst-svg (per-page images packed as tar.gz)
  • pandoc: pandoc-typst-pdf (PDF through Typst, no TeX in the image), pandoc-html-embedded, pandoc-html-site, pandoc-docx, pandoc-odt, pandoc-epub, pandoc-latex, pandoc-typst, pandoc-gfm
  • the pandoc image bakes in the Lua filters and HTML template of https://git.yhkze.net/tern/pandoc-template as plain files, so HTML exports match the docs theme
  • profile table in code mirrors backend_formats; a test fails when a row has no profile

Conventions — CLAUDE.md and PLAN.md at the repo root.

Each worker image carries its backend's toolchain and runs the compiler profile named in `backend_formats.profile` for the job's (backend, format). No tern at run time: a job compiles one snapshot once (docs/architecture.md). - [ ] texlive: `latexmk-lualatex` (synctex, no shell-escape, `-interaction=nonstopmode`) - [ ] typst: `typst-pdf`, `typst-png`, `typst-svg` (per-page images packed as tar.gz) - [ ] pandoc: `pandoc-typst-pdf` (PDF through Typst, no TeX in the image), `pandoc-html-embedded`, `pandoc-html-site`, `pandoc-docx`, `pandoc-odt`, `pandoc-epub`, `pandoc-latex`, `pandoc-typst`, `pandoc-gfm` - [ ] the pandoc image bakes in the Lua filters and HTML template of <https://git.yhkze.net/tern/pandoc-template> as plain files, so HTML exports match the docs theme - [ ] profile table in code mirrors `backend_formats`; a test fails when a row has no profile **Conventions** — CLAUDE.md and PLAN.md at the repo root.
forgejo_admin changed title from render: tern templates for TeX Live and Typst to render: worker toolchains and output profiles 2026-11-16 17:34:14 -05:00
Collaborator

@yuuhikaze this issue blocks #25 and has not been started (16 h).

— automation (scripts/watch.py)

@yuuhikaze this issue blocks #25 and has not been started (16 h). — automation (scripts/watch.py) <!-- watch:ready:2026-11-17T00:00:00+00:00:1 -->
Collaborator

@yuuhikaze this issue blocks #25 and has not been started (32 h). Escalated to #40.

— automation (scripts/watch.py)

@yuuhikaze this issue blocks #25 and has not been started (32 h). Escalated to #40. — automation (scripts/watch.py) <!-- watch:ready:2026-11-17T00:00:00+00:00:2 -->
Sign in to join this conversation.
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
#25 backend: render worker
k8s-services/dongba
Reference
k8s-services/dongba#24
No description provided.