bug-lilypond
[Top][All Lists]
Advanced

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

Re: Regression for paper size setting?


From: Phil Holmes
Subject: Re: Regression for paper size setting?
Date: Sun, 5 May 2013 12:50:18 +0100

"David Kastrup" <address@hidden> wrote in message news:address@hidden
Keith OHara <address@hidden> writes:

David Kastrup <dak <at> gnu.org> writes:

I think that our current code balks at setting paper sizes like "A4"
rather than "a4".  Can someone check with older versions?


At least since 2.12, LilyPond has responded
  warning: Unknown paper size: A4
but continued to process the input.

Ah ok, I just saw that the file triggering the problem is much more
recent than I thought it would be:

commit b4fe233aec83383bd2e6b6170fca67a31a8c492d
Author: Phil Holmes <address@hidden>
Date:   Sat Mar 23 15:40:40 2013 +0000

   Script for running pixel-based regtest comparisons

diff --git a/scripts/auxiliar/NoTagline.ly b/scripts/auxiliar/NoTagline.ly
new file mode 100644
index 0000000..8439273
--- /dev/null
+++ b/scripts/auxiliar/NoTagline.ly
@@ -0,0 +1,4 @@
+\paper {
+  #(set-paper-size "A4")
+}
+\header { tagline = ##f }

I put the paper size in the NoTagline file because different runs were producing variable paper sizes. Perhaps having (set-paper-size "unknown") would have worked equally well as A4, simply by stating a consistent value?

--
Phil Holmes
Bug Squad




reply via email to

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