minor inconsistency in \paper-settings?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

minor inconsistency in \paper-settings?

Stefan Vollmar
Dear all,

if I am not mistaken, in order to have my scores in A5 format (I actually then print that on A4 paper for a specific recital with poor light conditions) this works fine:

\paper{
  #(set-paper-size "a5")
  page-count = 2
}

And the reference manual gives a wealth of other properties (e.g. "paper-width" or "evenHeaderMarkup") which can be set like "page-count". It strikes me as odd that, apparently, I should not write

\paper{
  paper-size = "a5"
  page-count = 2
}

and if I do, Lilypond does not complain about "paper-size" and uses the default ("a4") instead.

Warm regards,
 Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: [hidden email]   http://www.nf.mpg.de







_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: minor inconsistency in \paper-settings?

Carl Sorensen-3



On 10/3/10 9:57 AM, "Stefan Vollmar" <[hidden email]> wrote:

> Dear all,
>
> if I am not mistaken, in order to have my scores in A5 format (I actually then
> print that on A4 paper for a specific recital with poor light conditions) this
> works fine:
>
> \paper{
>   #(set-paper-size "a5")
>   page-count = 2
> }
>
> And the reference manual gives a wealth of other properties (e.g.
> "paper-width" or "evenHeaderMarkup") which can be set like "page-count". It
> strikes me as odd that, apparently, I should not write
>
> \paper{
>   paper-size = "a5"
>   page-count = 2
> }
>
> and if I do, Lilypond does not complain about "paper-size" and uses the
> default ("a4") instead.

paper-size is not a property.  #(set-paper-size "a5") is a procedure that
changes multiple settings.  See scm/paper.scm for more information.

While it may seem odd, it is well-documented.

It would seem desirable to have a warning message when a non-existent
property is set in a \paper{} block.

HTH,

Carl



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: minor inconsistency in \paper-settings?

James Wilkinson
In reply to this post by Stefan Vollmar
On 10/3/10 3:45 PM, Carl Sorensen wrote:

> It would seem desirable to have a warning message when a non-existent
> property is set in a \paper{} block.

Why not whenever a non-existent property is set anywhere?????

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Jimmy Wilkinson            | Professor Emeritus of Computer Science
[hidden email]          | The College of Charleston
(843) 953-8160             | Charleston      SC        29424
http://www.cs.cofc.edu/~jimmy

If there is one word to describe me, that word would have to be
"profectionist".
Any form of incompitence is an athema to me.
Metathesis??? Don't ax me.
Just between you and I, the grammar used by Americans are getting worse.
I can only help but wonder what the cause of this might be.
It just ceases to amaze me how it could be the case, but mostly I could
care less.
...... boat storage under house with wench ......
I won't get into specifics because that was between he and I

_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: minor inconsistency in \paper-settings?

Carl Sorensen-3



On 10/5/10 1:47 PM, "James Wilkinson" <[hidden email]> wrote:

> On 10/3/10 3:45 PM, Carl Sorensen wrote:
>
>> It would seem desirable to have a warning message when a non-existent
>> property is set in a \paper{} block.
>
> Why not whenever a non-existent property is set anywhere?????

We already do it when a non-existent property is set using \set.

Thanks,

Carl


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user