rinohtype icon indicating copy to clipboard operation
rinohtype copied to clipboard

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

Open JohnBee opened this issue 11 months ago • 1 comments

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: 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 avatar Feb 10 '25 16:02 JohnBee

Thanks for the detailed bug report and minimal example! 🙏

brechtm avatar Feb 16 '25 20:02 brechtm