Use when the user provides a YouTube URL and wants LaTeX course notes rendered as PDF. Triggers: YouTube link, '这个视频', '整理这节课', 'YouTube 笔记'.
Turn a YouTube video into a complete, compileable .tex note and a rendered PDF.
Produce a professional Chinese lecture note from a YouTube URL. The output must:
.tex document compiled successfully to PDFRead ../video-render-common/writing-and-figures.md for all writing rules, teaching content rules, figure handling, figure time provenance, and visualization guidelines. These rules are mandatory.
Before downloading the video, search for official slides, lecture notes, or other supplementary materials:
magick -density 200 slides.pdf slides-images/slide-%03d.jpg) — prefer these over video frames/export/pdf to the Google Slides URL to download as PDF (e.g., https://docs.google.com/presentation/d/XXXXX/export/pdf).tex fileai-course-notes/CLAUDE.md conventions for LaTeX structure, boxes, and figuresxelatex two passes) to resolve referencesyoutube-transcript-api[H] float placement for all figures\noteauthors to "基于公开课程资料整理" or "基于 [Speaker Name] 授课内容整理" — never "XX & Codex" or similar\notedate to the video's publish date or course semester — never \today\videourl with the URL the user provided\repourl{https://github.com/hqhq1025/ai-course-notes} unchanged from the template defaultassets/notes-template.tex: default LaTeX template to copy and fill