[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \unset in paper block
From: |
David Kastrup |
Subject: |
Re: \unset in paper block |
Date: |
Mon, 05 Aug 2019 23:30:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Simon Albrecht <address@hidden> writes:
> 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.
It only works in music sequences now, not in general. You'll still not
be able to state something like
var = \music -. ->
if I remember correctly.
--
David Kastrup
- \unset in paper block, Werner LEMBERG, 2019/08/02
- Re: \unset in paper block, Werner LEMBERG, 2019/08/05
- Re: \unset in paper block, David Kastrup, 2019/08/05
- Re: \unset in paper block, Werner LEMBERG, 2019/08/05
- Re: \unset in paper block, David Kastrup, 2019/08/05
- Re: \unset in paper block, Simon Albrecht, 2019/08/05
- Re: \unset in paper block,
David Kastrup <=
- Re: \unset in paper block, Aaron Hill, 2019/08/05
- Re: \unset in paper block, David Kastrup, 2019/08/06
Re: \unset in paper block, Simon Albrecht, 2019/08/05