jperon / lyluatex

Alternative à lilypond-book pour lualatex
MIT License
58 stars 12 forks source link

Lily pond spacing with fullpagealign=staffline #56

Closed uliska closed 6 years ago

uliska commented 6 years ago

It seems the paper layout techniques used with the fullpagealign=staffline option disturb LilyPond's spacing algorithms: it can happen that Lily tries to squeeze more systems in the page than would be good.

I'll have to investigate this further.

uliska commented 6 years ago

See also the last comments to #54

uliska commented 6 years ago

http://lists.gnu.org/archive/html/lilypond-user/2018-02/msg00369.html

uliska commented 6 years ago

As far as I can see the problem is that my approach forces some stretchability values in the flexible vertical paper spacing alists to 0. It seems this badly affects how these properties behave with general layout calculations.

For the time being I think we'll have to accept that we can't really solve the issue, although I think there may be ways to make LilyPond produce good results nevertheless.

I would like to keep the option but make it optional (reverse defaults) and document it as experimental.

uliska commented 6 years ago

Handled in https://github.com/jperon/lyluatex/commit/946eddec85f027fc86d5bf3767e7c7e4d73c0d50