Carl D. Sorensen writes: > So I wrote the following markup definition: > > #(def-markup-command (chord-diagram paper props chord-string) (string?) > "Syntax: \\chord-diagram diagram-string > eg: \\chord-diagram #\"x32010\" to achieve standard C chord" > (interpret-markup paper props (markup (dot 0 0 3))) > )
A good effort with an understandable mistake. You cannot use (dot ) directly, the interface functions in output-*.scm are output commands for `Stencil's with that name. So, you'll have to make a 'dot' stencil. How to do that? Use ly:make-stencil. See, eg, scm/stencil.scm: (define-public (make-filled-box-stencil xext yext) "Make a filled box." ..) Good luck, Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org _______________________________________________ Lilypond-devel mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-devel