Hello,

I hope someone will be able to put me straight as I seem to be missing 
something absolutely fundamental and probably just need someone to put me 
straight.

For anyone who has already helped me, I have switched to my Windows 11 machine 
and am running "2.24.3" and using Frescobaldi 3.3.0

I am creating txt files to use as .ly files and then wrapping them in Lilypond 
code. I know this means my code does not conform to the convention but my 
pre-processing benefits from everything being on one line and my reading of the 
manual and previous results lead me to believe this should not cause a problems.

As a beginner, I tend to make something work and then reuse it but I don't seem 
able to get things to behave consistently, so I think I have overlooked 
something basic and no amount of cutting and pasting and research is fixing it.

Here is an example:

\version "2.24.3"

{ \mark "ON079-1a-_01" \key c\major \time 9/8 a''8 b''8 a''8 g''4 e''8 d''4 
d''8 }
{ \mark "ON079-1a-_02" \key c\major \time 9/8 a'8 a'8 a'8 d''4 d''8 e''8 f''8 
g''8 }
{ \mark "ON079-1a-_03" \key c\major \time 9/8 a''8 b''8 a''8 g''4 e''8 d''4 
f''8 }
{ \mark "ON079-1a-_04" \key c\major \time 9/8 e''4 d''8 c''4 d''8 e''8 f''8 
g''8 }
{ \mark "ON079-1-b_01" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''8 c'''8 
c'''8 }
{ \mark "ON079-1-b_02" \key c\major \time 9/8 a''4 d'''8 d'''4 d''8 e''8 f''8 
g''8 }
{ \mark "ON079-1-b_03" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''4 a''8 }
{ \mark "ON079-1-b_04" \key c\major \time 9/8 g''4 e''8 c''8 c''8 c''8 e''8 
f''8 g''8 }
{ \mark "ON079-1-b_05" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''4 g''8 }
{ \mark "ON079-1-b_06" \key c\major \time 9/8 a''4 d'''8 d'''8 d'''8 d'''8 e''8 
f''8 g''8 }
{ \mark "ON079-1-b_07" \key c\major \time 9/8 a''8 b''8 c'''8 b''8 c'''8 d'''8 
c'''8 b''8 a''8 }

and another six lines

Following the tutorial, I've left everything out but the basics and I get 
exactly what I expected on 2.24.3 (and also on Windows 8.1 with 2.22.2), namely 
11 single bar expressions, each on their own line, with time signature and a 
marker with no error messages and th elovely green message "Completed 
successfully"

But I want more ......

So I copy from 3.6.3 and wrap \score \layout and \midi round my opus .....


\score {

… music …

  \layout { }
  \midi { }
}


\version "2.24.3"

\score {


{ \mark "ON079-1a-_01" \key c\major \time 9/8 a''8 b''8 a''8 g''4 e''8 d''4 
d''8 }
{ \mark "ON079-1a-_02" \key c\major \time 9/8 a'8 a'8 a'8 d''4 d''8 e''8 f''8 
g''8 }
{ \mark "ON079-1a-_03" \key c\major \time 9/8 a''8 b''8 a''8 g''4 e''8 d''4 
f''8 }
{ \mark "ON079-1a-_04" \key c\major \time 9/8 e''4 d''8 c''4 d''8 e''8 f''8 
g''8 }
{ \mark "ON079-1-b_01" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''8 c'''8 
c'''8 }
{ \mark "ON079-1-b_02" \key c\major \time 9/8 a''4 d'''8 d'''4 d''8 e''8 f''8 
g''8 }
{ \mark "ON079-1-b_03" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''4 a''8 }
{ \mark "ON079-1-b_04" \key c\major \time 9/8 g''4 e''8 c''8 c''8 c''8 e''8 
f''8 g''8 }
{ \mark "ON079-1-b_05" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''4 g''8 }
{ \mark "ON079-1-b_06" \key c\major \time 9/8 a''4 d'''8 d'''8 d'''8 d'''8 e''8 
f''8 g''8 }
{ \mark "ON079-1-b_07" \key c\major \time 9/8 a''8 b''8 c'''8 b''8 c'''8 d'''8 
c'''8 b''8 a''8 }


\layout { }
\midi { }

}

Starting lilypond-windows.exe 2.22.2 [Untitled]... [and also when using the 
same file on 2.24.3]
Processing 
`c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly'
Parsing...
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:10:1<0>:
 error: Spurious expression in \score
{ \mark "ON079-1a-_02" \key c\major \time 9/8 a'8 a'8 a'8 d''4 d''8 e''8 f''8 
g''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:11:1<1>:
 error: Spurious expression in \score
{ \mark "ON079-1a-_03" \key c\major \time 9/8 a''8 b''8 a''8 g''4 e''8 d''4 
f''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:12:1<2>:
 error: Spurious expression in \score
{ \mark "ON079-1a-_04" \key c\major \time 9/8 e''4 d''8 c''4 d''8 e''8 f''8 
g''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:13:1<3>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_01" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''8 c'''8 
c'''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:14:1<4>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_02" \key c\major \time 9/8 a''4 d'''8 d'''4 d''8 e''8 f''8 
g''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:15:1<5>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_03" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''4 a''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:16:1<6>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_04" \key c\major \time 9/8 g''4 e''8 c''8 c''8 c''8 e''8 
f''8 g''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:17:1<7>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_05" \key c\major \time 9/8 a''4 d'''8 d'''4 b''8 c'''4 g''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:18:1<8>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_06" \key c\major \time 9/8 a''4 d'''8 d'''8 d'''8 d'''8 e''8 
f''8 g''8 }
c:/users/acer/appdata/local/temp/frescobaldi-cahb3r/tmpdto4tu/document.ly:19:1<9>:
 error: Spurious expression in \score
{ \mark "ON079-1-b_07" \key c\major \time 9/8 a''8 b''8 c'''8 b''8 c'''8 d'''8 
c'''8 b''8 a''8 }
Interpreting music...
Preprocessing graphical objects...
Interpreting music...
MIDI output to `document.mid'...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `document.pdf'...
fatal error: failed files: 
"c:\\users\\acer\\appdata\\local\\temp\\frescobaldi-cahb3r\\tmpdto4tu\\document.ly"
Exited with return code 1.

Now I get one solitary line on my page and no green message.

I tried removing all the curly braces from around my lines, but that doesn't 
help .....

Please, someone help me while I still have a little hair left to pull out on a 
later occasion :-}



Reply via email to