
PDFMathTranslate-next
CLIPDFMathTranslate 的 2.x 新版(命令 pdf2zh_next),基于 BabelDOC 翻译论文等 PDF,保留公式、图表、目录与批注,输出译文版和双语对照版;默认走免费的硅基流动翻译通道,也可换用 OpenAI、DeepSeek 等服务的 API Key。适合教师、研究者读外文文献。
PDF scientific paper translation and bilingual comparison. Based on BabelDOC. Additionally, this project is also the official reference implementation for calling BabelDOC to perform PDF translation.
- 📊 Preserve formulas, charts, table of contents, and annotations (preview).
- 🌐 Support multiple languages, and diverse translation services.
- 🤖 Provides commandline tool, interactive user interface, and Docker
[!WARNING]
This project is provided "as is" under the AGPL v3 license, and no guarantees are provided for the quality and performance of the program. The entire risk of the program's quality and performance is borne by you. If the program is found to be defective, you will be responsible for all necessary service, repair, or correction costs.
Due to the maintainers' limited energy, we do not provide any form of usage assistance or problem-solving. Related issues will be closed directly! (Pull requests to improve project documentation are welcome; bugs or friendly issues that follow the issue template are not affected by this)
For details on how to contribute, please consult the Contribution Guide.
Preview
Online Service 🌟
You can try our application out using either of the following services:
- Immersive Translate - BabelDOC Free usage quota is available; please refer to the FAQ section on the page for details.
Installation and Usage
Installation
- Windows EXE Recommand for Windows
- Docker Recommand for Linux
- uv (a Python package manager) Recommand for macOS
Usage
- Using WebUI
- Using Zotero Plugin (Third party program)
- Using Commandline
For different use cases, we provide distinct methods to use our program. Check out this page for more information.
Advanced Options
For detailed explanations, please refer to our document about Advanced Usage for a full list of each option.
Secondary Development (APIs)
- Python API, how to use the program in other Python programs
Language Code
If you don't know what code to use to translate to the language you need, check out this documentation
Acknowledgements
-
Immersive Translation sponsors monthly Pro membership redemption codes for active contributors to this project, see details at: CONTRIBUTOR_REWARD.md
-
SiliconFlow provides a free translation service for this project, powered by large language models (LLMs).
-
1.x version: Byaidu/PDFMathTranslate
-
backend: BabelDOC
-
PDF Library: PyMuPDF
-
PDF Parsing: Pdfminer.six
-
PDF Preview: Gradio PDF
-
Layout Parsing: DocLayout-YOLO
-
PDF Standards: PDF Explained, PDF Cheat Sheets
-
Multilingual Font: see BabelDOC-Assets
-
Documentation i18n using Weblate
Before submit your code
We welcome the active participation of contributors to make pdf2zh better. Before you are ready to submit your code, please refer to our Code of Conduct and Contribution Guide.
Contributors
Star History
相關資源

PDFMathTranslate
CLI保留公式、图表与排版的 PDF 论文全文翻译工具(命令 pdf2zh),输出单语与双语对照 PDF;默认使用谷歌翻译,可切换 DeepL、OpenAI 等服务,也能以 MCP 模式运行。
PDFMathTranslate/PDFMathTranslate37.6k
DocuTranslate
MCP基于大模型的本地文档翻译工具,可翻译 PDF、Word、Excel、EPUB、SRT 字幕等,Word 和 Excel 保留原格式并能自动生成术语表,agent 可通过 MCP 直接提交翻译任务。需安装 uv 并自备 OpenAI 兼容的大模型 API Key,PDF 译后会丢失原版式。
xunbu/docutranslate1.3k
BabelDOC
CLI面向科研论文的 PDF 翻译命令行,尽量保留公式与版式,输出双语对照或纯译文 PDF。需配置 OpenAI 兼容接口(也可接本地 Ollama),目前以英译中为主。
funstory-ai/BabelDOC9.7k
Typst
CLI新一代标记式排版系统,可替代 LaTeX 撰写论文、报告与简历;增量编译速度快,一条 typst compile 命令即可输出 PDF,watch 模式可自动重新编译。
typst/typst56.7k
Tectonic
CLI自包含的现代 TeX/LaTeX 引擎(基于 XeTeX 与 TeX Live),首次编译时自动下载并缓存所需支持文件,一条命令把 .tex 编译成 PDF,无需安装完整 TeX 发行版。
tectonic-typesetting/tectonic5.2k
ScholarAIO
CLI面向科研人员的学术工作台:把论文 PDF 建成可检索的文献库,让 Claude Code、Codex 帮你检索精读、写综述与论文、回复审稿意见并核对引用,可导入 Zotero、EndNote。需要 Python 3.10+,大模型 API Key 可选。
ZimoLiao/scholaraio576