Skip to content

目录的翻译效果较差 #242

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

Open
3 tasks done
wakuyaku opened this issue Apr 15, 2025 · 3 comments
Open
3 tasks done

目录的翻译效果较差 #242

wakuyaku opened this issue Apr 15, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@wakuyaku
Copy link

Before you submit

  • I have searched existing issues
  • I spent at least 5 minutes investigating and preparing this report
  • I confirmed this is not caused by a network issue

Environment

- OS: macos 15(macbook pro 2021,M1 pro)
- Python: 3.12
- BabelDOC: latest

Describe the bug

Image

现在对目录的排版比较差,翻译出来直接全乱了,希望优化

Steps to Reproduce

  1. Go to '...'
  2. Click on '...'
  3. See error

Expected Behavior

No response

Relevant Log Output or Screenshots


Original PDF File

No response

Additional Context

No response

@wakuyaku wakuyaku added the bug Something isn't working label Apr 15, 2025
@wakuyaku
Copy link
Author

2401.03568-123.pdf

可以用这个测试

@WangBen137
Copy link

2501.12948v1.pdf
这篇也可以试试

@MaybeGoodDay
Copy link

MaybeGoodDay commented Apr 30, 2025

这是因为源码的目录匹配是按照正则来的 你的目录文本里面带了空格

Image

你可以先把源码里面的正则改一下 然后效果会好一点, 但是对于那种不带 . 的目录还是有点问题

Image

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

3 participants