Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-13-2009, 12:32 PM   #1
Registered: Jan 2006
Location: Suedpfalz
Distribution: kubuntu
Posts: 114

Rep: Reputation: 15
lilypond "unexpected STRING"


I'm new to lilypond (I use it with emacs on ubuntu) and so I started by following the tutorial carefully. unfortunately, I always receive something like this:

sheet-music/lilypond/ error: syntax error, unexpected STRING
h' d h'
sheet-music/lilypond/ error: syntax error, unexpected STRING

h' h' h' h'

and this is what my composition looks like:

\version "2.10.33"
\header {
title = "Hasenbraten" }
melody = \relative c' {
d h' d h'
8h h a g 4a a
d a' d a'
a' 8g' f' 4g' g'
h' h' h' h'
8d' d'

I have tried without header, without the "melody =" bit (found that in some sample) and my version is definitely correct.
whatever might be the problem?

thanks in advance
Old 01-14-2009, 05:11 AM   #2
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
It's the "h'" thing! In English, the "h'" is called "b'", and that's the only thing lilypond understands. In German, you'd be right...

Old 01-14-2009, 08:50 AM   #3
Registered: Jan 2006
Location: Suedpfalz
Distribution: kubuntu
Posts: 114

Original Poster
Rep: Reputation: 15
yeah, silly me...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
if [ "$VAR"="string" ] always testing TRUE JohnE1 Programming 2 08-05-2008 08:35 PM
"Permission denied" and "recursive directory loop" when searching for string in files mack1e Linux - Newbie 5 06-12-2008 07:38 AM
How to convert "string" type to "char * " in c++ pranavojha Programming 18 06-05-2008 03:10 PM
output the path for files whose names include string "string" (case insensitive) sean_zhang Linux - Newbie 1 03-04-2008 11:59 PM
Slackware 11 - Lilypond 2.10.25 - "undefined symbol: FT_Sfnt_Table_Info" ErV Linux - Software 1 06-04-2007 07:42 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration