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

Duplicate output if final word of paragraph is hyphenated across to next page #443

Open
1 task done
JohnBee opened this issue Feb 10, 2025 · 1 comment
Open
1 task done
Labels
bad output rinohtype's output is not correct bug

Comments

@JohnBee
Copy link

JohnBee commented Feb 10, 2025

Is there an existing issue for this?

  • I have searched the existing issues

PDF produced by rinohtype

Hi,

There is a bug in Rinohtype 0.5.5 (and master/0.5.6 in development) which causes an entire paragraph to be repeated.
This occurs in the scenario with the following conditions.

  • The last word of a paragraph is hyphenated
  • The word is hyphenated across to the next page

Result:

  • The entire paragraph is outputted again following the hyphenation.
  • See: ninetyoneninetytwo hyphenated across the page boundary in the example causing the paragraph to repeat afterwards.

Generated PDF:
manual.pdf

Image Example:
Image

Source files

pdf generated with command: sphinx-build -b rinoh .\source\ ./build
source.zip

Versions

rinohtype 0.5.6 (in development)
Sphinx 8.1.3
Python 3.12.5 (tags/v3.12.5:ff3bc82, Aug  6 2024, 20:45:27) [MSC v.1940 64 bit (AMD64)]
Windows-11-10.0.22631-SP0
@JohnBee JohnBee added bad output rinohtype's output is not correct bug labels Feb 10, 2025
@brechtm
Copy link
Owner

brechtm commented Feb 16, 2025

Thanks for the detailed bug report and minimal example! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bad output rinohtype's output is not correct bug
Projects
None yet
Development

No branches or pull requests

2 participants