Am 7. Dezember 2016 19:20:26 MEZ, schrieb David Kastrup <d...@gnu.org>: >Jeffery Shivers <jefferyshiv...@gmail.com> writes: > >> Hi LP team, >> >> I am working on automating editorial commands with ScholarLY, and I >am >> having some trouble pulling a music function that is stored in a hash >> table. If I make a table and assign a key 'Slur to slurDashed, I can >use it >> successfully in the following example: >> >> #(define mytable (make-hash-table)) >> >> #(hash-set! mytable 'Slur slurDashed) >> >> >> \score { >> >> \new Staff { >> >> #(let ((func (hash-ref mytable 'Slur))) >> >> #{ >> >> #func f'( g') >> >> #}) >> >> } >> >> } >> >> >> In that context, "Slur" is of course an arbitrary name. However, when >a >> symbol is used to indicate what item is being annotated in scholarly, >e.g.: >> >> >> \criticalRemark \with { >> >> message = "my message" >> >> apply = addition >> >> } Slur f'( g') % <<<< "Slur" indicated here > >What are the argument predicates of criticalRemark ?
See https://github.com/openlilylib/scholarly/blob/master/annotate/module.ily > >Slur can be a string, a symbol, a symbol list, a music expression (in >lyrics mode) depending on the predicate it is seen with. In this case it's symbol-list-or-music? so a symbol. -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet. _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel