[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
user defined markups: implementation
From: |
Han-Wen Nienhuys |
Subject: |
user defined markups: implementation |
Date: |
Sun, 25 Jan 2004 15:29:41 +0100 |
address@hidden writes:
> Hi,
>
> You will find attached a patch for new-markups.scm (reference is 1.62,
> checked out today, 2004-01-24)
>
> It introduces a def-markup-command utility, that can be used by users
> in a regular .ly file. For instance, in the following snippet, an `upcase'
> markup command is defined:
Thanks, I've integrated your patch.
>
> Changes:
> new def-markup-command macro, which takes care of defining the
> COMMAND-markup and make-COMMAND-markup procedures, setting
> markup-signature and keyword-signature object properties, and pushing
> the markup command in markup-function-list. All markup commands are
^^
Hmm. This will leak user definitions between .ly files, won't it?
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen