[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 15:30:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
>> I wonder whether it is possible to use \unset in the paper block.
>> The use-case is lyluatex, which sets `left-margin'; I want to unset
>> this value so that lilypond only takes the line width into account
>> to automatically center it.
>>
>> In other words, I would like to have
>>
>> % from lyluatex
>> \paper {
>> left-margin = 100\pt
>> line-width = 200\pt
>> }
>>
>> ...
>>
>> % user code
>> \paper {
>> \unset left-margin
>> }
>
> 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.
--
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 <=
- 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, 2019/08/05
- 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