在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用latex-compile
星标18
分支1
更新时间2026年3月15日 08:28
Compile LaTeX paper and auto-fix errors
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Compile LaTeX paper and auto-fix errors
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | latex-compile |
| description | Compile LaTeX paper and auto-fix errors |
| allowed-tools | Read Write Bash Grep |
When you need to compile a LaTeX file, use this skill.
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" main.texmain.log to locate errors| Error Pattern | Fix Strategy |
|---|---|
Undefined control sequence | Add the corresponding \usepackage{} or define the missing macro |
Missing $ inserted | Check and correct math environment boundaries |
File not found | Verify the file path; try common path variants |
Citation undefined | Run bibtex/biber or check the .bib file for the missing key |
Label multiply defined | Rename duplicate labels to be unique |
Missing \begin{document} | Ensure document preamble is well-formed |
Too many }'s | Trace and fix unbalanced braces |
Environment undefined | Add the package that provides the environment |
pdflatex (configurable to xelatex or lualatex)latexmk to handle multi-pass compilation automatically (resolves cross-references, bibliography).log file to extract structured error information including file, line number, error type, and surrounding contextpaper/main.pdf)paper/compile-log.md documenting the compilation process