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 ? Slur can be a string, a symbol, a symbol list, a music expression (in lyrics mode) depending on the predicate it is seen with. -- David Kastrup _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel