Extension:Score

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Extension:Score

Klaus Föhl-2
Hello,

Just snooping around and discovering that this markup:
<score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>
now [works on|has been enabled for] mediawiki i.e. en.wikipedia.org

Cheers
Klaus


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Extension:Score

janek.lilypond
Wow!  I thought that was abandoned.  Great news!
Now let's just fix 2658, release 2.18, tell mediawiki to upgrade and
we can begin replacing all ugly Sibelius-made examples with Lily!
Yippie!
Janek

2013/4/23 Klaus Föhl <[hidden email]>:

> Hello,
>
> Just snooping around and discovering that this markup:
> <score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>
> now [works on|has been enabled for] mediawiki i.e. en.wikipedia.org
>
> Cheers
> Klaus
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Extension:Score

Stemby
In reply to this post by Klaus Föhl-2
Il 23/04/2013 17:49, Klaus Föhl ha scritto:
> Hello,
>
> Just snooping around and discovering that this markup:
> <score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>
> now [works on|has been enabled for] mediawiki i.e. en.wikipedia.org

Commands like \time or \key seem not to work...

Regards,
Carlo

--
   .-.  | Registered Linux User #443882                        |  .''`.
   oo|  | http://linuxcounter.net/                             | : :'  :
  /`'\  |                           Registered Debian User #9  | `. `'`
(\_;/) |                 http://debiancounter.altervista.org/ |   `-


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Extension:Score

David Kastrup
In reply to this post by janek.lilypond
Janek Warchoł <[hidden email]> writes:

> Wow!  I thought that was abandoned.  Great news!
> Now let's just fix 2658, release 2.18, tell mediawiki to upgrade and
> we can begin replacing all ugly Sibelius-made examples with Lily!

2658 makes rather little difference for PNG generation.  They'll
probably love us more for fixing segfaults on unexpected EOF.

--
David Kastrup


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Extension:Score

Klaus Föhl-2
In reply to this post by Klaus Föhl-2
Carlo Stemberger schrieb:
> Il 23/04/2013 17:49, Klaus Föhl ha scritto:
>
>    Hello,
>
>    Just snooping around and discovering that this markup:
>    <score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>
>    now [works on|has been enabled for] mediawiki i.e. en.wikipedia.org
>
> Commands like \time or \key seem not to work...

You need to get the grouping right, using << >> or { } as appropriate.

<score> << { \time 3/4 \key c \minor { \relative c' { f d f a d f e d cis a
cis e a g f e } } } >> </score> does work...
...I agree, it may take some try-and-error...

Cheers
Klaus


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Extension:Score

Francisco Vila
2013/4/24 Klaus Föhl <[hidden email]>:

> Carlo Stemberger schrieb:
>> Il 23/04/2013 17:49, Klaus Föhl ha scritto:
>>
>>    Hello,
>>
>>    Just snooping around and discovering that this markup:
>>    <score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>
>>    now [works on|has been enabled for] mediawiki i.e. en.wikipedia.org
>>
>> Commands like \time or \key seem not to work...
>
> You need to get the grouping right, using << >> or { } as appropriate.
>
> <score> << { \time 3/4 \key c \minor { \relative c' { f d f a d f e d cis a
> cis e a g f e } } } >> </score> does work...
> ...I agree, it may take some try-and-error...

Or apply the lilypond logic instead. In this code, a '<<>>' and two
'{}' are unnecessary.

<score> << { \time 3/4 \key c \minor { \relative c' { f d f a d f e d
cis a cis e a g f e } } } >> </score>

is the same as

<score>\relative c' { \time 3/4 \key c \minor f d f a d f e d cis a
cis e a g f e }</score>

unless you really need to use several nested music expressions.

Although must confess I also use trial&error for constructs I think I
master but I don't.
--
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Extension:Score

Stemby
Il 24/04/2013 16:47, Francisco Vila ha scritto:
> <score>\relative c' { \time 3/4 \key c \minor f d f a d f e d cis a
> cis e a g f e }</score>

Ok, it works.

Thank you!

Carlo

--
   .-.  | Registered Linux User #443882                        |  .''`.
   oo|  | http://linuxcounter.net/                             | : :'  :
  /`'\  |                           Registered Debian User #9  | `. `'`
(\_;/) |                 http://debiancounter.altervista.org/ |   `-


_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user