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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user