lilypond-user
[Top][All Lists]
Advanced

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

Re: \unset in paper block


From: Simon Albrecht
Subject: Re: \unset in paper block
Date: Mon, 5 Aug 2019 23:21:37 +0200

On 05.08.19 23:10, Werner LEMBERG wrote:
To ask differently: In file `paper.scm' I can see

     (module-remove! m 'line-width)

to remove `line-width'; I now wonder what value for `m' I have to
use...
\paper {
   #(module-remove! (current-module) 'line-width)
}

should work for doing this via Scheme.
This works, thanks!  Shall this be mentioned somewhere in the
documentation?


I think what we currently cover in the Extending Manual is limited to an essential number of examples to cover the foundation of Scheme usage in common cases. This seems like a useful snippet, but in a more rare situation, so I wouldn’t think the manual is the right place…

By the way, I happened to see that section 1.3.4 of the Extending Manual sets off on the fact that it’s not possible to attach articulations to variables (“We know that `{ \music -. -> }' will not work in LilyPond”). So when that changes in future versions, this will need to be rewritten.

Best, Simon




reply via email to

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