--- title: "LaTeX Paper Writing" type: source tags: [] date: 2026-04-17 --- ## Source File - [[raw/Agent/usecases/latex-paper-writing.md]] ## Summary - 核心主题:使用 AI Agent 作为 LaTeX 写作助手,实现无本地安装的即时编译环境 - 问题域:TeX Live 安装占用大量磁盘空间、编译错误调试繁琐、编辑器与 PDF 查看器切换破坏工作流 - 方法/机制:通过 Prismer Docker 容器提供完整 TeX Live 环境,latex-compiler skill 提供 4 个工具(latex_compile、latex_preview、latex_templates、latex_get_template) - 结论/价值:可通过自然语言描述需求生成 LaTeX 源码并即时编译预览,支持多种模板和文献格式 ## Key Claims - AI Agent 可作为 LaTeX 写作助手,根据描述生成对应的 LaTeX 源码 - 无需本地安装 TeX Live,通过 Docker 容器即可获得完整 LaTeX 编译环境 - 支持 pdflatex、xelatex、lualatex 三种编译引擎,xelatex 用于 CJK/中文支持 ## Key Quotes > "Write LaTeX collaboratively with the agent — describe what you want and it generates the source" — 核心工作方式 > "Compile to PDF instantly with pdflatex, xelatex, or lualatex (no local TeX installation needed)" — 零本地安装承诺 ## Key Concepts - [[LaTeX编译]]:通过 pdflatex/xelatex/lualatex 将 LaTeX 源码编译为 PDF - [[BibTeX/BibLaTeX]]:文献管理格式,可在 LaTeX 文档中引用 .bib 文件 - [[LaTeX模板]]:article、IEEE、beamer、中文article 等预置模板 ## Key Entities - [[Prismer]]:提供 Docker 容器化 LaTeX 编译环境的服务端项目 - [[latex-compiler]]:Claude Code Skill,提供 4 个 LaTeX 相关工具 ## Connections - [[latex-compiler]] ← provided_by ← [[Prismer]] - [[LaTeX模板]] ← used_in ← [[LaTeX编译]] ## Contradiction - (无)