Thank you Werner, the 3 commands you have given to me are working fine. From Lilypond to groff, there is no problem.
If you write the notes with Musescore first (which is a GUI-programm for writing music), and save it in .ly-format, you get much more code. I join a small example (c e g e) as attachement. I tried the 3 commands with the code of example.mscz.y and I coudn't get it working. I tried with an old version of lilypond I could find (2.12.0-1). I tried to short the part beginning with \score {...} There were no more error messages, but I got no notes in the output. Regards Grégoire Le mercredi 18 mars 2015 à 11:42 +0100, Werner LEMBERG a écrit : > > 2. copy this Musescore .ly-code into a groff input-text, > > between the 2 requests > > > > .lilypond start > > and > > .lilypond end > > OK. > > > 3. groff it using the 3 commands: > > > > glilypond foo > foo1 > > groff foo1 > foo1.ps > > This is OK in case you don't need macro packages. > > > ps2pdf foo1.ps > foo1.pdf > > OK. > > > I coudn't get this working. > > Well, you have to give more details, probably providing some minimum > input files – according to your e-mails from the beginning of > February, everything should work... > > > Werner