Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline formula typesetting error #148

Open
3 tasks done
zhenyuliu-hunnu opened this issue Mar 12, 2025 · 4 comments
Open
3 tasks done

Inline formula typesetting error #148

zhenyuliu-hunnu opened this issue Mar 12, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@zhenyuliu-hunnu
Copy link

Before you asking

  • I have searched the existing issues
  • I spend at least 5 minutes for thinking and preparing
  • I have carefully checked the issue, and it is unrelated to the network environment.

Environment

- OS: macOS 15.3.1
- Python: 3.9.6
- BalbelDOC: 0.1.32

Describe the bug

Formula shifting after translation, and some formulas overlap with text.

Page 11-12
Image

Page15-16

Image

To Reproduce

Chapter5.pdf
Chapter5.zh-CN.dual.pdf

Expected behavior

No response

Relevant log output and screenshots


Origin PDF file

No response

Anything else?

No response

@zhenyuliu-hunnu zhenyuliu-hunnu added the bug Something isn't working label Mar 12, 2025
@awwaawwa
Copy link
Member

Please use the version 0.2.0 to test again and see if it's fixed.

0.2.0 fixed many formula mixed typesetting overlap issues (although not completely... I'll continue fixing later)

@awwaawwa
Copy link
Member

In addition, please note that this project only supports Python 3.10-3.12.

@zhenyuliu-hunnu
Copy link
Author

I reconfigured a Python 3.12 environment and updated to 0.2.0, but the typesetting issues when translating this document have not improved.

@awwaawwa
Copy link
Member

Please wait patiently, we will gradually fix it later.

@awwaawwa awwaawwa marked this as a duplicate of Byaidu/PDFMathTranslate#827 Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants