A quoted string is needed in \markup if you wish to print one of the following characters in your score:

% \ { } #

Hardly useful. If this were the sum total of the need then I would be with Graham.

However, quotes are very useful as a shorthand, eg

\markup {\column {
 "that was a cute little rhyme,"
 "sing us another one, do."
}}

is a shorthand for

\markup {\column {
 \line {that was a cute little rhyme,}
 \line {sing us another one, do.}
}}

This seems a worthwhile win in clarity and ease in typing for people writing verses below the score, and so I would prefer to see an explanation of quoted strings with this as an example in the text.

Trevor


----- Original Message ----- From: "Graham Percival" <[EMAIL PROTECTED]>
To: "lily-devel" <[email protected]>
Sent: Saturday, May 03, 2008 10:47 PM
Subject: removing \markup "foo" from the NR


Should we discuss
 \markup " foo "
?

IMO, this only leads to confusion:
- markup \commands inside "" are interpreted literally.
- you cannot nest expressions inside "".
- lilypond already uses a lot of {} expressions, so limiting
 newbies to only \markup {} isn't such a bad thing.

I propose that we only mention
 \markup "foo"
as well as
 \markup foo
in the @knownissues.  This strikes me as something similar to the
"\relative {" issue.

Cheers,
- Graham


_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel




_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to