Byaidu / PDFMathTranslate

PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

Home Page:https://pdf2zh.com

Repository from Github https://github.comByaidu/PDFMathTranslateRepository from Github https://github.comByaidu/PDFMathTranslate

目录页,翻译后排版混乱

zhengshengh opened this issue · comments

Before you asking

  • I have tried the PDFMathTranslate-next and give feedback in PDFMathTranslate-next
  • I have searched the existing issues
  • I spend at least 5 minutes for thinking and preparing
  • I have thoroughly and completely read the wiki.
  • I have carefully checked the issue, and it is unrelated to the network environment.

Environment

Ubuntu 24 + Docker部署

How to install pdf2zh

docker

Describe the bug

各位好:

如下图所示,经过翻译后目录排版混乱,1.9和2.0版本都尝试过了,日志内容正常并无Error。
请问有什么处理办法?

原始文件:
Image

1.9版本:
Image

2.0版本:
Image

To Reproduce

No response

Expected behavior

No response

Relevant log output


Origin PDF file

No response

Anything else?

No response