wxyhgk/retain-pdf
在保留版面、公式与结构的前提下进行 PDF 翻译,适用于科研与技术文档
What it solves
RetainPDF addresses the difficulty of translating image-based or scanned PDFs while maintaining their original layout. It specifically solves the common issues of broken context caused by frame-by-frame translation, the loss of mathematical formulas, and the disruption of complex multi-column document structures.
How it works
The system uses a custom-built font and layout algorithm that first restores the complete semantic units of a document—handling cross-column, cross-page, and paragraph breaks—before performing the translation. This ensures that the translated output preserves the original formatting, including inline formulas, code blocks, and document structure.
Who it’s for
It is designed for researchers, students, and professionals who need to read and translate complex documents like SCI papers, textbooks, and scanned archival materials while keeping the original visual layout and mathematical integrity intact.
Highlights
- Specialized handling for complex inline formulas, ensuring they remain stable and correctly positioned after translation.
- Integrated "Library" and "Studio" features for managing documents, side-by-side reading, and AI-assisted note-taking.
- Supports custom translation strategies and provides an open API for automation and secondary development.
- Capable of handling code blocks without mistranslation and includes PDF structure optimization.
- Open-source with support for self-deployment via Docker or desktop application installation.
Related
- Project
- Project
- Project
- Project
- Project