bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 1595 in lilypond: lilypond-book papersize gives margin warning


From: lilypond
Subject: Re: Issue 1595 in lilypond: lilypond-book papersize gives margin warnings
Date: Sat, 03 Sep 2011 10:21:21 +0000


Comment #4 on issue 1595 by address@hidden: lilypond-book papersize gives margin warnings
http://code.google.com/p/lilypond/issues/detail?id=1595

Using paper size does not solve the problem, AFAICS. We are currently obtaining the correct line width from latex/texinfo, and lilypond-book sets this width accordingly and passes it to lilypond. There are just a few problems: 1) If you give lilypond a line-width of, say, 154mm, the created image WILL be larger (the line-width is 154mm, but there is a bar line on the right, which can't be cut in the middle, so the image is cropped after the barline, adding some space). 2) The other problem is how lilypond handles line-width, paper-size and the margins. There is no way to increase the left/right margin for quote by a given amount. Rather, one has to give the new margins or line-width in absolute values. Now, the problem is that in lilypond-book, we only have the auto-detected line-width and nothing else. if paper-size is given, we don't really have the paper-width, the margins or the line-width (short of hardcoding most paper-sizes and margins in lilypond-book, too). Now, with quote we need to increase the left margin by 0.4in... The #(set-paper-size...) clears the line-width variable, so we cannot adjust an existing line-width, but if we are using auto-detected variables, we only have line-width available to adjust. In other words, the handling of the quote options needs to be different, depending on whether papersize was given or not. Lilypond-book's structure, on the other hand, is designed so that each option can more or less be handled independently from the others...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]