daisy / pipeline-mod-braille

!! NOTE: This project is now part of the pipeline-modules project !! | Braille Production Modules for the DAISY Pipeline 2
1 stars 4 forks source link

Support for widows in louis:format #13

Closed bertfrees closed 6 years ago

bertfrees commented 10 years ago

louis:format implements orphans using the orphanControl feature of Liblouisutdml, but until now there was no widowControl yet. WidowControl will be in the next release so use that.

Note: the feature was implemented by moving the whole paragraph to the next page when it would otherwise break and leave less then X lines on the second page. This is suboptimal because a paragraph will never be broken somewhat higher so that some empty lines are left on the first page and X lines on the second page. Less valuable space would be wasted this way.

bertfrees commented 8 years ago

dotify-formatter now supports this.

bertfrees commented 6 years ago

Closing because I'm not planning to further develop liblouis-formatter.