lilypond-devel
[Top][All Lists]
Advanced

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

Re: Added new Pagesize definition to paper.scm (issue4368049)


From: pkx166h
Subject: Re: Added new Pagesize definition to paper.scm (issue4368049)
Date: Thu, 07 Apr 2011 11:56:40 +0000

Reviewers: Graham Percival,

Message:
On 2011/04/06 21:47:34, Graham Percival wrote:
I don't think we want to add papersize_test.tely to the repository.
...
Could you create a second version of the patch which does not include
paper-test.tely ?

Done.

Description:
Added new Pagesize definition to paper.scm

Added 'c9landscape' to allow a very small @lilypond to be defined for
examples that need to show footers, tagelines and the like, without
having to

1.define the paper size inside the @lilypond (and so make the example
more
complicated than it need be for users.

2. Avoid unnecessary white space between the content and said,
footers/taglines
because of using a sizes.

Chosen size is named c9landscape because the new papersize=X option
added
cannot use easily 'landscape mode nor do we want the output rotated 90
degrees. Keeping a standard ISO size (c9) means we don't have custom
sizes defined in the scm.

Please review this at http://codereview.appspot.com/4368049/

Affected files:
  M scm/paper.scm


Index: scm/paper.scm
diff --git a/scm/paper.scm b/scm/paper.scm
index bc6e2e19448189648db604614c3c3a11e54c598a..74892830ff3ef788a817ef1e4579f0804ae309a9 100644
--- a/scm/paper.scm
+++ b/scm/paper.scm
@@ -222,6 +222,9 @@
     ("pa10" . (cons (* 26 mm) (* 35 mm)))
     ;; F4 used in southeast Asia and Australia
     ("f4" . (cons (* 210 mm) (* 330 mm)))
+    ;; Used for very small @lilypond examples in the Documentation
+    ;; based on c9 envelope size but landscape not portrait
+    ("c9landscape" . (cons (* 57 mm) (* 40 mm)))
     ))

 ;; todo: take dimension arguments.





reply via email to

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