Re: Setting page size from the command line

2006-04-19 Thread Han-Wen Nienhuys
2006/4/11, Geoff Horton <[EMAIL PROTECTED]>:> > I don't know if that information helps at all, but at least it provides some> sort of motivation for the behaviour. In any case, I would vote for changing> it too.But what if a person wants to refer to a Scheme variable (as in the point-and-click exam

Re: Setting page size from the command line

2006-04-11 Thread Joe Neeman
On Tue, 11 Apr 2006 22:31, Geoff Horton wrote: > > I don't know if that information helps at all, but at least it provides > > some sort of motivation for the behaviour. In any case, I would vote for > > changing it too. > > But what if a person wants to refer to a Scheme variable (as in the > poi

Re: Setting page size from the command line

2006-04-11 Thread Geoff Horton
> Probably the best thing would be to make real options for the > variables people actually want to set often. I can't argue with that in principle, but the more I read on this list, the more I realize that Lily is used for many different styles and to many different ends. Determining who the "peo

Re: Setting page size from the command line

2006-04-11 Thread David Feuer
On 4/11/06, Geoff Horton <[EMAIL PROTECTED]> wrote: > But what if a person wants to refer to a Scheme variable (as in the > point-and-click example)? I agree it's far from ideal, but I think > switching to auto-quoting arguments would break more than it solves. Probably the best thing would be to

Re: Setting page size from the command line

2006-04-11 Thread Geoff Horton
> Without having looked at the code, I'd say that the reason is that the > argument gets parsed as a scheme value. So if you say -dpaper-size=HELLO, > that is equivalent to having > #(set-default-paper-size HELLO) > in your file. But of course you want something like > #(set-default-paper-size "HEL

Re: Setting page size from the command line

2006-04-11 Thread Graham Percival
On 11-Apr-06, at 12:45 AM, Cameron Horsburgh wrote: Hmm. I've nailed down the syntax, but the -d flag seems to be able to take a whole range of parameters, and I'm not sure if we really need to list this as a specific instance. I already considered this. :) I think it's worth it. We alread

Re: Setting page size from the command line

2006-04-11 Thread Joe Neeman
On Tue, 11 Apr 2006 17:19, Cameron Horsburgh wrote: > Joe Neeman wrote: > >> ERROR: Unbound variable: a5 > > > > -dpaper-size=\"letter\" works for me. But it seems as though > > -dpaper-size=letter would be the better way. Is there a reason it doesn't > > work this way? > > Good question. Using the

Re: Setting page size from the command line

2006-04-11 Thread Cameron Horsburgh
Cameron Horsburgh wrote: > Hi folks, > > I'm in the process of writing up some of the previously undocumented > features in the NEWS files. I'm having a bit of trouble with this comment: > > ** > The default paper size may now be set from the command line using > -dpaper-size. > *

Re: Setting page size from the command line

2006-04-11 Thread Cameron Horsburgh
Joe Neeman wrote: >> ERROR: Unbound variable: a5 > -dpaper-size=\"letter\" works for me. But it seems as though > -dpaper-size=letter would be the better way. Is there a reason it doesn't > work this way? > Good question. Using the quotes isn't that obvious, and escaping them even less so. I'l

Re: Setting page size from the command line

2006-04-10 Thread Joe Neeman
On Tue, 11 Apr 2006 16:02, Cameron Horsburgh wrote: > After looking at the usage statement I tried > > lilypond -dpaper-size=a5 sample.ly > > but I get: > > ERROR: Unbound variable: a5 -dpaper-size=\"letter\" works for me. But it seems as though -dpaper-size=letter would be the better way. Is ther

Setting page size from the command line

2006-04-10 Thread Cameron Horsburgh
Hi folks, I'm in the process of writing up some of the previously undocumented features in the NEWS files. I'm having a bit of trouble with this comment: ** The default paper size may now be set from the command line using -dpaper-size. ** I'm having trouble passing paper sizes t