← 返回
未分类

latex-slide-builder 利用latex生成PPT

build academic slide decks from outlines, notes, or research paper pdfs by generating chinese-first latex beamer source, compiling it to pdf, and optionally exporting a pptx. use for requests involving beamer, latex ppt, academic presentations, thesis defenses, conference talks, paper reading reports, lecture slides, chinese slide decks, .tex slide source, pdf slide output, or pptx export from a latex-based workflow.
build academic slide decks from outlines, notes, or research paper pdfs by generating chinese-first latex beamer source, compiling it to pdf, and optionally exporting a pptx. use for requests involving beamer, latex ppt, academic presentations, thesis defenses, conference talks, paper reading reports, lecture slides, chinese slide decks, .tex slide source, pdf slide output, or pptx export from a latex-based workflow.
zed
未分类 community v1.0.1 2 版本 100000 Key: 无需
★ 1
Stars
📥 87
下载
💾 0
安装
2
版本
#latest

概述

Latex Slide Builder

Core idea

Use LaTeX Beamer as the canonical slide source. Generate and maintain a clean .tex file first, compile it with XeLaTeX or LuaLaTeX to produce a PDF deck, and export PPTX only when the user explicitly requests it or provides a PowerPoint template.

Prefer this skill when the user wants academic, research, thesis-defense, seminar, lecture, or paper-reading slides, especially when Chinese text is involved.

Workflow

  1. Clarify the input and output only when required:
    • Input may be a slide outline, notes, Markdown, or a research paper PDF.
    • Output defaults to .tex plus compiled PDF.
    • If PPTX is requested, also generate a PPTX using the companion Markdown/Pandoc route when possible.
  2. If a research paper PDF is provided, extract text with scripts/extract_paper_text.py, then summarize it into a slide plan before writing LaTeX.
  3. Write a slide plan before writing code:
    • Talk goal and audience
    • 8-15 slide outline unless the user requests another length
    • Core thesis, contributions, method, experiments/results, limitations, and discussion
  4. Generate a Beamer .tex deck based on assets/academic_beamer_template.tex.
  5. Compile with scripts/build_deck.py using XeLaTeX by default.
  6. Inspect compiler errors, fix the .tex, and recompile until the PDF is produced or the failure is clearly external, such as missing TeX tooling.
  7. If PPTX is requested, export from a companion Pandoc Markdown file or from the .tex source. Use the user's .pptx template as a Pandoc reference document when supplied.

Chinese-first LaTeX rules

  • Use ctexbeamer or Beamer plus ctex; prefer XeLaTeX.
  • Do not use pdfLaTeX for Chinese decks.
  • Keep source encoded as UTF-8.
  • Use 16:9 widescreen unless the user requests 4:3.
  • Avoid manual line breaks for Chinese paragraphs unless necessary; write concise slide bullets.
  • Keep each slide focused: one claim, one diagram/table, or one result.
  • Prefer bilingual terminology only when helpful: Chinese main explanation with English technical terms in parentheses.

Academic style defaults

Use a clean academic reporting style:

  • Title slide
  • Motivation and problem
  • Paper/context overview
  • Method or framework
  • Key theorem/model/algorithm if relevant
  • Experiments or evidence
  • Results interpretation
  • Limitations
  • Takeaways and Q&A

For paper PDFs, follow references/paper_to_slides.md. For visual and LaTeX style, follow references/style_guide.md. For PPTX export, follow references/pptx_export.md.

Required project layout for generated decks

Create an output folder like:

project-name/
├── deck.tex
├── deck.md              # create when pptx export is requested
├── figures/             # copied or recreated figures, if any
├── build/               # compiler output
├── deck.pdf
└── deck.pptx            # optional

Script usage

Extract paper text:

python scripts/extract_paper_text.py paper.pdf --out paper_text.md

Build PDF only:

python scripts/build_deck.py deck.tex --out-dir build

Build PDF and PPTX:

python scripts/build_deck.py deck.tex --out-dir build --pptx --pptx-source auto

Build with a PowerPoint template:

python scripts/build_deck.py deck.tex --out-dir build --pptx --template-pptx template.pptx

Check local tool availability:

python scripts/build_deck.py --check-tools

PPTX template handling

A default academic PowerPoint reference template is bundled at assets/reference_template.pptx, based on a Chinese academic report deck. Use it when the user asks for PPTX export and does not provide another template.

If the user provides a .pptx template:

  • Prefer the newly provided template over the bundled default.
  • Put it in assets/ or the working deck folder.
  • Use it as a Pandoc --reference-doc for PPTX export.
  • Explain that Beamer PDF remains the highest-fidelity output, while PPTX export is editable but may need visual cleanup.
  • If the template includes strict branding, ask for theme requirements only if not obvious from the template.

Quality checklist

Before final delivery:

  • PDF compiles successfully.
  • The .tex source is included.
  • Chinese text renders correctly.
  • Slide count matches the user request or stated default.
  • Figures, tables, citations, and math render correctly.
  • PPTX is generated when requested, or the reason it could not be generated is clearly stated.
  • Do not claim PPTX visual parity with the PDF unless it was manually inspected.

版本历史

共 2 个版本

  • v1.0.1 Initial release 当前
    2026-05-08 20:51 安全 安全
  • v1.0.0 Initial release
    2026-05-08 20:44 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 464 📥 155,592
office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 388 📥 147,901
office-efficiency

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 279 📥 116,954