bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Order of markup commands can affect result


From: David Kastrup
Subject: Re: Order of markup commands can affect result
Date: Mon, 12 Mar 2012 11:28:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Francisco Vila <address@hidden> writes:

> Hello,
> Maybe \wordwrap-lines can not be wrapped by \bold, but I think we are
> not documenting it and error message is misleading.
>
>
> % works -- bold inside
> % \markup \wordwrap-lines \bold
>
> % does not work -- bold outside
> \markup \bold \wordwrap-lines
> {
>  words words words words words words words
> }

The top level \markup can accept a markup list (which it silently wraps
into \line), but intermediate markup functions can't take a markup list
as argument.  There is a somewhat special situation when they occur at
the _start_ of where a markup list is expected: in that case, they are
applied to _every_ element of the following markup list.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]