Builds Typst slide decks in the local lemonade theme from academic papers, preprints, and manuscript PDFs. Use when the user asks to draft, revise, or reorganize paper-reading, seminar, overview, or defense slides from paper content.
Turn a paper into a presentation argument instead of mirroring the PDF page by page.
figure_extractorKeep each paper's generated artifacts inside one paper workspace directory rather than scattering them across shared top-level folders.
Preferred layout:
out/<paper>/<paper>.typout/<paper>/notes/source.txtout/<paper>/notes/asset-manifest.mdout/<paper>/notes/brief.mdout/<paper>/notes/slide-map.mdout/<paper>/assets/...Rules:
out/.<paper> name, disambiguate the workspace directory with a short parent-folder prefix such as out/<parent>-<paper>/.references/deck-structures.md for the deck arc. For systems, architecture, storage, database, or serving papers, check whether the Systems Paper Reading / OSDI-SOSP Style arc fits before defaulting to a generic seminar arc.references/chinese-academic-style.mdreferences/english-academic-style.mdout/<paper>/notes/ and out/<paper>/assets/ before any extraction, briefing, or drafting work.Artifact Progress:
- [ ] Extract paper text to `notes/source.txt`
- [ ] Recover likely visuals and write `notes/asset-manifest.md`
- [ ] Write `notes/brief.md` from the paper text and manifest
- [ ] Write `notes/slide-map.md` with evidence and archetypes
notes/source.txt, notes/asset-manifest.md, notes/brief.md, then notes/slide-map.md.out/<paper>/notes/source.txt.pdftotext -layout when available.notes/source.txt as the audit trail for exact wording and numbers used in the brief and slides.figure_extractor.figure_extractor and expect bbox and primary_output back.figure_extractor as script-first infrastructure. If figure recovery behavior is wrong, fix the extraction skill or script instead of adding parent-side PDF extraction workarounds.inspect-page reveals several image candidates on one page, recover the likely reusable sub-assets as stable files during this pass instead of only capturing the whole figure group.out/<paper>/notes/asset-manifest.md.bbox, capture kind, primary_output, what claim or evidence the asset might support, and whether follow-up cleanup or additional sub-asset recovery is likely.references/archetypes.md.AGENTS.md.references/lemonade-theme.md before drafting or revising slides in this repo.lemonade.typ macros, layouts, and deck conventions instead of inventing a parallel system.typst compile --root ., prefer root-relative imports such as /lemonade.typ and /theme/....#imgs(...) from theme/images.typ as the default for single figures, comparison rows, and captioned figure blocks.#imgs(...) blocks. Only fall back to new crop prep when the existing asset inventory still cannot support the slide.figcell only after confirming that theme/images.typ cannot express the needed layout.scripts/prepare_figure.py <image> when a selected manifest asset carries paper chrome or inconsistent margins and the current asset inventory still lacks the needed shape.scripts/validate_deck.sh <deck.typ> to compile the deck to a validation PDF.references/visual-qa.md as a pass/fail rubric.Figure X shows ... or the figure above shows ....figure_extractor.Figure 3 shows, the figure above, or obvious restatements of the visual.