AGENT SKILL
book_chapter.fix_rendered_pdf
Make sure that the PDF rendered from a Typst file looks good
使用场景文档处理
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- model
- haiku
- description
- Make sure that the PDF rendered from a Typst file looks good
03 SKILL.md 正文
Goal
- Make sure that the book chapter from
<TYP_FILE>compiles and the PDF looks good
Inputs
<TYP_FILE>: Typst file- E.g.,
msml610/book/Lesson01.2-AI_and_Machine_Learning.typ
- E.g.,
Workflow
Generate the PDF
-
Create the PDF from the
<TYP_FILE>> run_typst.py -i <TYP_FILE> -
The generated file is in the same dir as
<TYP_FILE>- E.g.,
msml610/book/Lesson01.2-AI_and_Machine_Learning.pdf
- E.g.,
Check the Typst Source Code
- Make sure the Typst file follows the rules in
.claude/skills/typst.rules.mdand.claude/templates/typst.template.typ
Check the PDF
- Read the generated PDF
<PDF_FILE>and for each page make sure the layout looks good, e.g.,- The figures are readable and not too small
- There is no excessive space around the figure due to poorly wrapping text
- If there are visual problems, change the Typst file without changing the text and
regenerate the PDF (see
## Generate the PDF) until it looks good
Verification
- [ ] Confirm the Typst file follows
.claude/skills/typst.rules.mdand.claude/templates/typst.template.typ - [ ] Confirm every page's figures are readable and not too small
- [ ] Confirm there is no excessive space around a figure from poorly wrapped text
04 同仓库更多 Skills
tutorial_in_60_mins.propagate_docker_changes
Sync tutorial and class-project Docker files to match project_template
★ 0
tutorial_in_60_mins.merge_markdown
Merge the content of a markdown file into a Jupyter notebook
★ 0
tutorial_in_60_mins.format
Format a directory to follow the "Learn X in 60 Minutes" tutorial conventions
★ 0
tutorial_in_60_mins.create
Create a tutorial directory for the Learn X in 60 Minutes conventions
★ 0
todo.reorg_in_progress
Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage
★ 0
todo.reorg_headers
Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage
★ 0