[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Weirdo code?
From: |
Wols Lists |
Subject: |
Re: Weirdo code? |
Date: |
Sun, 28 Jan 2018 22:35:40 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 |
On 28/01/18 20:09, David Kastrup wrote:
> Wol's lists <address@hidden> writes:
>
>> I've just tried to do a cut-n-paste into a piece of music, from
>> http://lilypond.org/doc/v2.19/Documentation/notation/bars
>>
>> At the very bottom you'll find
>>
>> \relative c' {
>> c1 \mark \markup { \musicglyph "scripts.segno" }
>> c1 \mark \markup { \musicglyph "scripts.coda" }
>> c1 \mark \markup { \musicglyph "scripts.ufermata" }
>> c1
>> }
>>
>> Okay, I was only copying the markup bit - I wanted it as markup in the
>> middle of the bar - but I had to add a # as follows:
>>
>> \markup { \musicglyph #"scripts.coda" }
>>
>> Looking at the code behind the web page, it looks like that is
>> correct, so this is really just a curious enquiry - why is the #
>> required if I want a markup, but it's not required if it's a markup
>> within a mark ???
>
> Different versions. It's just recently that you could write strings
> within a markup without # before them. The Documentation is likely
> newer than your version of LilyPond.
>
Thank you both ...
I'd like to run the latest version :-) but at the moment my main machine
is bit-rotting until I get the chance to build my new one...
Cheers,
Wol