lilypond-user
[Top][All Lists]
Advanced

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

Re: Error compiling markup fret diagram example from manual


From: David Kastrup
Subject: Re: Error compiling markup fret diagram example from manual
Date: Wed, 16 Jan 2019 19:49:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Carl Sorensen <address@hidden> writes:

> I'm on Mac OSX Sierra.  Using Frescobaldi and LilyPond 2.19.80
>
> I'm trying to compile the exampler from Fret diagram markups, NR 2.4.1:
>
> <<
>   \new ChordNames {
>     \chordmode {
>       c1 d:m
>     }
>   }
>   \new Staff {
>     \clef "treble_8"
>     <c e g c' e'>1^\markup {
>       \fret-diagram "6-x;5-3;4-2;3-o;2-1;1-o;"
>     }
>     <d a d' f'>1^\markup {
>       \fret-diagram "6-x;5-x;4-o;3-2;2-3;1-1;"
>     }
>   }
>>>
>
> Obviously, it compiled properly for the documentation.

Which is not 2.19.80 but 2.19.82.  And 2.19.81 contains

commit 6d588f7a85113cc9a6b6efcc1d254558e0a85998
Author: David Kastrup <address@hidden>
Date:   Thu Oct 5 11:28:18 2017 +0200

    Issue 5212/1: Allow quoted strings as Scheme arguments to markup commands
    
    After issue 5113, quoted strings and non-quoted strings are
    distinguished in the lexer.  This makes it feasible for Scheme-type
    arguments of markup commands to accept quoted strings.  Unquoted
    strings (token SYMBOL in the lexer) remain out of consideration since
    it would be hard to explain why 0.0 is acceptable as a string?
    argument but not as number? : in markup mode, most character sequences
    end up as "SYMBOL" by default in order to allow typesetting of text
    blocks.

-- 
David Kastrup



reply via email to

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