rinohtype
rinohtype copied to clipboard
Duplicate output if final word of paragraph is hyphenated across to next page
Is there an existing issue for this?
- [x] 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:
ninetyoneninetytwohyphenated across the page boundary in the example causing the paragraph to repeat afterwards.
Generated PDF: manual.pdf
Image Example:
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
Thanks for the detailed bug report and minimal example! 🙏