From 225aceeb168bd2ddab56bea874a6833f5c7346c9 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Tue, 24 Dec 2002 19:35:00 +0000 Subject: [PATCH] *** empty log message *** --- scm/new-markup.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scm/new-markup.scm b/scm/new-markup.scm index c9c4999751..b7f4ebc837 100644 --- a/scm/new-markup.scm +++ b/scm/new-markup.scm @@ -4,13 +4,18 @@ Internally markup is stored as lists, whose head is a function. (FUNCTION ARG1 ARG2 ... ) -When it is applied, then FUNCTION is called as follows +When the markup is formatted, then FUNCTION is called as follows (FUNCTION GROB PROPS ARG1 ARG2 ... ) +GROB is the current grob, PROPS is a list of alists, and ARG1.. are +the rest of the arguments. + The function should return a molecule (i.e. a formatted, ready to print object). + + To add a function, 1. It should be named COMMAND-markup @@ -21,6 +26,8 @@ arguments to expect: (set-object-property! COMMAND-markup scm0-markup1) +(insert in the list below). + 3. The command is now available in markup mode, e.g. -- 2.39.5