DescriptionFix 2732: Extract the full page geometry in lilypond-book
So far, lilypond-book tried to extract the line-width from the latex settings,
but not the full page geometry (height, width, margins). Instead, it simply used
the extracted line-with with the default paper size.
If the latex paper size is larger than the lilypond default paper size, then the
line-width will be larger than the page. Lilypond detects this and ignores the
wrong line-width.
The proper solution is to extract the full page geometry from the latex document
and use that for the lilypond snippet, too (unless an explicit papersize or
line-width was given, of course...)
As a side-effect, we now have some more snippet options:
-) paper-width
-) left-margin
-) paper-height
-) top-margin
-) bottom-margin
The latter options only have an effect on vertical stretching of multi-staff groups.
This patch also fixes a small mis-calculation of the text-width for multi-column
texts (the columnsep was subtracted only once rather than once per separation...)
Patch Set 1 #
Total comments: 4
MessagesTotal messages: 2
|