원클릭으로
youtube-render-pdf
// Use when the user provides a YouTube URL and wants LaTeX course notes rendered as PDF. Triggers: YouTube link, '这个视频', '整理这节课', 'YouTube 笔记'.
// Use when the user provides a YouTube URL and wants LaTeX course notes rendered as PDF. Triggers: YouTube link, '这个视频', '整理这节课', 'YouTube 笔记'.
Use when the user provides a Bilibili URL (BV number) and wants LaTeX course notes rendered as PDF. Triggers: Bilibili link, BV号, 'B站视频笔记', '整理B站课'. Falls back to Whisper when no CC subtitles.
Use when the user provides a URL to a web article, blog post, or X Article and wants LaTeX notes rendered as PDF. Triggers: article/blog URL, '整理这篇文章', '文章笔记'. Handles translation detection (traces back to original).
| name | youtube-render-pdf |
| description | 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)tools/scripts/youtube_auth_check.sh "<URL>"
This validates cookies, browser impersonation, bgutil PO-token support, and EJS challenge solving..tex fileai-course-notes/CLAUDE.md conventions for LaTeX structure, boxes, and figuresxelatex two passes) to resolve references../video-render-common/writing-and-figures.md; do not mark the note complete until rendered pages have been inspected and layout/rendering issues fixedyoutube-transcript-apitools/scripts/transcribe_faster_whisper.py with CUDA as described in the shared rules[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