lilypond-user
[Top][All Lists]
Advanced

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

Re: Triplets


From: J Martin Rushton
Subject: Re: Triplets
Date: Sat, 14 Jan 2017 21:30:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0


On 14/01/17 21:14, Noeck wrote:
> Hi Martin,
> 
> Am 14.01.2017 um 21:51 schrieb J Martin Rushton:
>> I'm guessing things aren't that simple, can I mix scheme and LP in the
>> same input file? 
> 
> Of course. You can put one after the other without problems and you can
> nest them using #{ …ly… #} and #( …scheme… ).
> 
>> I don't have access to the code, this is embedded
>> within a larger application. 
> 
> I don't understand this.
> 
>> At present all I have is a \relative { ...
>> } block, all the meody lies within that.
> 
> What is the error when you use my example (and just my example, no other
> code)? I can not imagine that it is the same as you posted here.
> 
> Cheers,
> Joram
> 

It's written as part of an uploaded web page, so rendering is done on
the remote server.  To switch into Lilypond there is a '<score
vorbis="1">' line at the start and a '</score>' at the end.

When previewed there is an error box headed "Unable to compile LilyPond
input file:" which contains:
---------------------%<------------------
Processing `.../file.ly'
Parsing...
.../file.ly:12:1: error: unrecognized string, not in text script or
\lyricmode

tupletBracketToSlur = {
.../file.ly:12:21: error: syntax error, unexpected '='
tupletBracketToSlur
                    = {
.../file.ly:68:11: error: unknown escaped string: `\tupletBracketToSlur'
\layout {
          \tupletBracketToSlur }
.../file.ly:68:32: error: syntax error, unexpected '}'
\layout { \tupletBracketToSlur
                               }
.../file.ly:80:25: error: syntax error, unexpected '}'

                        }
fatal error: failed files: ".../file.ly"

exited with status: 1
---------------------%<----------------

The snippet I originally posted was similarly bound by score tags and
compiled with no errors on preview.
HTH,
Martin

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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