On 28-Feb-06, at 2:38 AM, Han-Wen Nienhuys wrote:

Graham Percival wrote:
if ( (\paper-option)==(paper-size $1 $2) ) then
  #(set-default-paper-size $1 $2)

Hmmm; it would require a bit of rewiring. I guess that you do want to be able to do

  \paper {
    size = "a4"
    linewidth = 5.0\cm %% override default
  }


So the defaults would have to be moved out of paper-defaults.ly, and the scheme code needs to check that it doesn't overwrite anything.

What happens if we currently have
\paper{
  #(set-default-paper-size "a4"
  linewidth = 5.0\cm
}

Couldn't lily handle the size="a4" in exactly the same way as it handles #(set-...) ?

Cheers,
- Graham



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to