|
From: | Aaron Hill |
Subject: | Re: Need help with Scheme code |
Date: | Tue, 17 Dec 2019 20:14:15 -0800 |
User-agent: | Roundcube Webmail/1.3.8 |
On 2019-12-17 6:01 pm, Paolo Prete wrote:
And thanks again to the Scheme-master Aaron.
I appreciate the kind words, though I doubt my experience rises to the level of "master".
One last thing: how can I arrange that function so to obtain output-attributes = output-attributes + id ?For example: if output-attributes is (('a' . 'aa') ('i' . 'ii')) it mustbecome: (('a' . 'aa') ('i' . 'ii') ('id' . 'foobar_1'))
Where or how are the other output-attributes being set? It is my understanding that output-attributes is unset by default, so any \override or \tweak would not need to worry about existing definitions.
That said, consider this pattern: %%%% \version "2.19.83" { \tweak Accidental.output-attributes.id 123 bes'4 } %%%%Keep in mind this only *adds* a new key-value pair to the alist; it does not change an existing entry with the same key.
-- Aaron Hill
[Prev in Thread] | Current Thread | [Next in Thread] |