Re: Tilde causes error message: "unrecognized string, not in text script or \lyricmode"
Eyolf Østrem writes: > If I try to run the following (either directly or as part of a score): > > \relative c' { > \key e \minor > \time 4/4 > > r4 r8 e8 e fis g4 fis fis8 fis fis e dis e ~ e4 r8 > e8 e fis g4 a a8 a a g a b~ b4 r8 > b b b b4 c c8 c c b a b~ b4 r8 > b8 b a g4 fis fis8 fis fis e dis e ~ e4 r8 > } > > I get the error message: "unrecognized string, not in text script or > \lyricmode" at the tildes in the first and last line. The "e"s after the > tildes do not get written out. The two "b~" work as expected, though, > even though everything but the pitches is the same as in the first line. > If I remove the tildes, everything works - except that I don't get the ties. I suspect that either you did not copy&paste this piece of source into your mail but rather retyped it, or that your mail reader "sanitizes" material. As written, this will work without problems. However, the symptoms sound like you might have entered a character like ̃, namely an actual accent character combining with a previous character. That theory gains weight by your mail posting actually showing blank characters in the lines you indicated. So I suspect you had a blank there with a following combining circumflex accent, but your mail software or your copy&paste buffer or whatever else "sanitized" this into a blank with a normal ASCII tilde afterwards. In the form it is not, it is valid LilyPond code. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tilde causes error message: "unrecognized string, not in text script or \lyricmode"
It also compiles without error for me, Windows. Perhaps it's not a space but a UTF-encoded character in the original code? -- Phil Holmes - Original Message - From: "Mark Stephen Mrotek" To: "'Eyolf Østrem'" ; Sent: Monday, October 13, 2014 1:02 AM Subject: RE: Tilde causes error message: "unrecognized string,not in text script or \lyricmode" Eyolf, Your snippet compiles without error message for me. I am using Lilypond under Windows. I notice that a space separates the two "e" from their "~." The space is not between the two "b" and theirs. Perhaps this is the source of the error message for you. Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Eyolf Østrem Sent: Sunday, October 12, 2014 4:57 PM To: lilypond-user@gnu.org Subject: Tilde causes error message: "unrecognized string, not in text script or \lyricmode" If I try to run the following (either directly or as part of a score): \relative c' { \key e \minor \time 4/4 r4 r8 e8 e fis g4 fis fis8 fis fis e dis e ~ e4 r8 e8 e fis g4 a a8 a a g a b~ b4 r8 b b b b4 c c8 c c b a b~ b4 r8 b8 b a g4 fis fis8 fis fis e dis e ~ e4 r8 } I get the error message: "unrecognized string, not in text script or \lyricmode" at the tildes in the first and last line. The "e"s after the tildes do not get written out. The two "b~" work as expected, though, even though everything but the pitches is the same as in the first line. If I remove the tildes, everything works - except that I don't get the ties. I'm running v. 2.18.2 under Arch Linux. Eyolf ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tilde causes error message: "unrecognized string, not in text script or \lyricmode"
Eyolf, Your snippet compiles perfectly for me on Ubuntu using LilyPond 2.18.2, so it probably is something with your installation? Sorry I can't help more than that. Regards, Abraham Sent from my iPhone > On Oct 12, 2014, at 6:23 PM, Eyolf Østrem wrote: > >> On 13-10-2014 02:02, Mark Stephen Mrotek wrote: >> Eyolf, >> >> Your snippet compiles without error message for me. I am using Lilypond >> under Windows. > Which version do you use? >> I notice that a space separates the two "e" from their "~." The space is not >> between the two "b" and theirs. > I forgot to add that: no, there is no difference whether there is a space > there or not. > > I also tested the snippet on lilybin.com, both with the latest stable (which > is the same as I am running) and the latest devel, with the same result. > > e > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Tilde causes error message: "unrecognized string, not in text script or \lyricmode"
On 13-10-2014 02:02, Mark Stephen Mrotek wrote: Eyolf, Your snippet compiles without error message for me. I am using Lilypond under Windows. Which version do you use? I notice that a space separates the two "e" from their "~." The space is not between the two "b" and theirs. I forgot to add that: no, there is no difference whether there is a space there or not. I also tested the snippet on lilybin.com, both with the latest stable (which is the same as I am running) and the latest devel, with the same result. e ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Tilde causes error message: "unrecognized string, not in text script or \lyricmode"
Eyolf, Your snippet compiles without error message for me. I am using Lilypond under Windows. I notice that a space separates the two "e" from their "~." The space is not between the two "b" and theirs. Perhaps this is the source of the error message for you. Mark -Original Message- From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Eyolf Østrem Sent: Sunday, October 12, 2014 4:57 PM To: lilypond-user@gnu.org Subject: Tilde causes error message: "unrecognized string, not in text script or \lyricmode" If I try to run the following (either directly or as part of a score): \relative c' { \key e \minor \time 4/4 r4 r8 e8 e fis g4 fis fis8 fis fis e dis e ~ e4 r8 e8 e fis g4 a a8 a a g a b~ b4 r8 b b b b4 c c8 c c b a b~ b4 r8 b8 b a g4 fis fis8 fis fis e dis e ~ e4 r8 } I get the error message: "unrecognized string, not in text script or \lyricmode" at the tildes in the first and last line. The "e"s after the tildes do not get written out. The two "b~" work as expected, though, even though everything but the pitches is the same as in the first line. If I remove the tildes, everything works - except that I don't get the ties. I'm running v. 2.18.2 under Arch Linux. Eyolf ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Tilde causes error message: "unrecognized string, not in text script or \lyricmode"
If I try to run the following (either directly or as part of a score): \relative c' { \key e \minor \time 4/4 r4 r8 e8 e fis g4 fis fis8 fis fis e dis e ~ e4 r8 e8 e fis g4 a a8 a a g a b~ b4 r8 b b b b4 c c8 c c b a b~ b4 r8 b8 b a g4 fis fis8 fis fis e dis e ~ e4 r8 } I get the error message: "unrecognized string, not in text script or \lyricmode" at the tildes in the first and last line. The "e"s after the tildes do not get written out. The two "b~" work as expected, though, even though everything but the pitches is the same as in the first line. If I remove the tildes, everything works - except that I don't get the ties. I'm running v. 2.18.2 under Arch Linux. Eyolf ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user