Auto-sync: 2026-04-22 20:55
This commit is contained in:
44
wiki/sources/latex-paper-writing.md
Normal file
44
wiki/sources/latex-paper-writing.md
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
title: "LaTeX Paper Writing"
|
||||
type: source
|
||||
tags: []
|
||||
date: 2026-04-22
|
||||
---
|
||||
|
||||
## Source File
|
||||
- [[Agent/usecases/latex-paper-writing.md]]
|
||||
|
||||
## Summary(用中文描述)
|
||||
- 核心主题:基于 AI Agent 的 LaTeX 论文写作助手,通过云端 TeX 环境实现无需本地安装的即时编译
|
||||
- 问题域:本地 LaTeX 环境配置繁琐(TeX Live 体积巨大)、编译错误调试繁琐、在编辑器和 PDF 阅读器之间切换打断写作流
|
||||
- 方法/机制:Prismer Docker 容器提供云端 LaTeX 编译服务 + latex-compiler skill(4 个工具) + AI 对话生成 LaTeX 代码 + 内联 PDF 预览
|
||||
- 结论/价值:通过云端即时编译消除本地安装,实现对话式论文写作,AI 负责生成 LaTeX 源码并自动修复编译错误
|
||||
|
||||
## Key Claims(用中文描述)
|
||||
- AI Agent 可以作为 LaTeX 写作助手,用户描述内容需求,Agent 生成对应的 LaTeX 源码
|
||||
- 通过 Docker 容器在云端运行完整 TeX Live(端口 8080),无需在本地安装任何 TeX 发行版
|
||||
- 支持三种编译器自动选择:pdflatex(默认)、xelatex(支持中文/CJK)、lualatex(Unicode 支持)
|
||||
- 内联 PDF 预览无需切换到其他应用程序
|
||||
- 提供四种启动模板:article、IEEE、beamer(演示文稿)、Chinese article(中文论文)
|
||||
- 支持 BibTeX/BibLaTeX 参考文献管理,直接粘贴 .bib 内容即可
|
||||
- 交叉引用需运行 2 次编译 pass
|
||||
|
||||
## Key Quotes
|
||||
> "Setting up a local LaTeX environment is painful — installing TeX Live takes gigabytes, debugging compilation errors is tedious, and switching between your editor and PDF viewer breaks flow." — 痛点描述
|
||||
> "Use xelatex if I need Chinese/CJK support, otherwise default to pdflatex. Always run 2 passes for cross-references." — 编译器使用规范
|
||||
|
||||
## Key Concepts
|
||||
- [[latex-compiler]]:Prismer 内置 skill,提供 4 个工具:`latex_compile`、`latex_preview`、`latex_templates`、`latex_get_template`
|
||||
- [[Prismer]]:开源 AI Agent workspace 项目,通过 Docker 提供完整 TeX Live 云端环境,LaTeX server 监听端口 8080
|
||||
- [[Docker]]:容器化部署底座,Prismer 通过 `docker compose -f docker/docker-compose.dev.yml up` 启动
|
||||
- [[BibTeX]]:LaTeX 参考文献格式工具,支持 .bib 文献库管理,BibLaTeX 是其现代替代方案
|
||||
|
||||
## Key Entities
|
||||
- [[Prismer]]:GitHub 开源项目(Prismer-AI/Prismer),提供云端 TeX Live 和 latex-compiler skill,Agent 无需额外安装
|
||||
|
||||
## Connections
|
||||
- [[latex-paper-writing]] ← depends_on ← [[Prismer]]
|
||||
- [[Prismer]] ← runs_on ← [[Docker]]
|
||||
|
||||
## Contradictions
|
||||
- (无已知冲突)
|
||||
Reference in New Issue
Block a user