Le 19 août 09 à 06:57, Mark Polesky a écrit :

Can I change the \table-of-contents markup-command defintion
(ly/toc-init.ly, line 34)
fromdefine-markup-list-command
to   define-builtin-markup-list-command ?

No.
`define-builtin-markup*-command' is for markup command definition
in the (lily) scheme module (to which belongs the code in
scm/define-markup-commands.scm) whereas `define-markup*-command'
are for definition placed in a .ly file (different scheme module).

It has been placed in the toc-init.ly file, together with the
variable definitions that it uses. These variables have
to be defined afresh at each new main file compilation (which they
would no be in the (lily) module), hence the .ly file.

Out of 127 markup-command definitions in the /ly folder, it's
the only one that's not "builtin".

AFAICS, there are no markup-command definition in the ly/ folder.
They are in the scm/ folder.

The fact that the \table-of-contents markup list command does not
appear in the markup command documentation is not a big deal, as
it is a very special purpose command, and it is documented at the
place dealing with table of contents (isn't it?)

nicolas



_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to