|
From: | Simon Albrecht |
Subject: | Re: Mutable pronouns in Lyrics |
Date: | Tue, 20 Dec 2016 21:00:36 +0100 |
On 20.12.2016 20:42, Br. Samuel Springuel wrote:
#(if (eqv? test 1) (error "more then one pronoun") (set! test 1))
Hello Samuel,you can just omit these tests and trust that the \keepWithTag mechanism will work properly :-) Because it does – the pronouns show up correctly. If you were to need such tests, it’s better to use one of ly:message, ly:warning, ly:error instead of plain guile ‘error’. And one more hint to the problem: even if a tagged section in your example is later omitted through \keepWithTag, the scheme code is still executed first.
HTH, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |