Skip to content

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

@JohnBee

Description

@JohnBee

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bad outputrinohtype's output is not correctbug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions