bug-lilypond
[Top][All Lists]
Advanced

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

It works.....


From: Peter Teeson
Subject: It works.....
Date: Fri, 2 May 2003 22:18:03 -0400

OK the answer is so simple with the 20/20 vision of hindsight and your and Mat's feedback.
Mac files use different line endings than Unix or Windows.
Mac file uses 0x0D
0000: 5C 73 63 6F 72 65 20 7B 0D 09 5C 6E 6F 74 65 73   \score {..\notes
0010: 20 7B 20 63 27 34 20 65 27 20 67 27 20 7D 0D 7D    { c'4 e' g' }.}
0020: 0D
Unix file uses 0x0A
0000: 5C 73 63 6F 72 65 20 7B 0A 09 5C 6E 6F 74 65 73   \score {..\notes
0010: 20 7B 20 63 27 34 20 65 27 20 67 27 20 7D 0A 7D   { c'4 e' g' }.}
0020: 0A
Windows uses 0x0D0A
0000: 5C 73 63 6F 72 65 20 7B 0D 0A 09 5C 6E 6F 74 65  \score {...\note
0010: 73 20 7B 20 63 27 34 20 65 27 20 67 27 20 7D 0D s { c'4 e' g' }.
0020: 0A 7D 0D 0A

When I saved the file with Unix line endings it worked.
Similarly when saving it as DOS/Windows.

Last login: Fri May  2 15:16:06 on console
Welcome to Darwin!
[Gandalf:~] pteeson% ly2dvi -P test.ly
Running LilyPond...
GNU LilyPond 1.6.6
Now processing: `test.ly'
Parsing...
Interpreting music...[1]
Preprocessing elements...
Calculating column positions... [2]
paper output to `test.tex'...

Analyzing test.tex...
Running LaTeX...
Running dvips...
DVI output to `test.dvi'...
PS output to `test.ps'...
[Gandalf:~] pteeson%


So you probably have already fixed it for Mac line endings in the current unstable version?

Anyway thanks for your help on this.

respect....

Peter





reply via email to

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