Menu

#2413 NR Warn users that \markup \bold \wordwrap-lines does not work as expected

Duplicate
nobody
None
Documentation
2013-03-24
2012-03-17
Anonymous
No

Originally created by: *anonymous

Originally created by: d8val...@gmail.com
Originally owned by: dak@gnu.org

Please see the thread:
http://old.nabble.com/Order-of-markup-commands-can-affect-result-td33485221.html
or

hello

On 12 March 2012 10:28, David Kastrup <dak@gnu.org> wrote:
> Francisco Vila <paconet.org@gmail.com> 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.

Do we need an @warning somewhere then?

if so (or if something else) let me know where (or create a doc tracker).

Discussion

  • Google Importer

    Google Importer - 2012-05-04

    Originally posted by: pkx1...@gmail.com

    Could someone for the 'not fully understanding' give me an example of the 'special situation' stated above -

    --snip--
    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.
    --snip--

    It seems this is one of semantics/definition at least for me.

    \markup I understand as the top level in this case, but 'intermediary' I'm not so sure. For instance it seems that there is a difference between \bold and \*line markup 'qualifiers'.

    I cannot think or workout how to differentiate between them

    \markup \bold \wordwrap-lines {} fails

    \markup \bold \centre-column {} is ok

    \markup \centre-column \bold {} is ok too.

    :/

    Summary: NR Warn users that \markup \bold \wordwrap-lines does not work as expected

     
  • Google Importer

    Google Importer - 2013-03-24

    Originally posted by: dak@gnu.org

    This problem is rendered moot by the patch for issue 3270.

    Mergedinto: 3270
    Owner: dak@gnu.org
    Status: Duplicate

     
MongoDB Logo MongoDB