I have TeXworks 5.4.1.
I read Martin Thoma's tutorial and Lilypond seemed like the easiest option with the best support. I copied and pasted his example file.
Surprise surprise, I'm getting the ! LaTeX Error: Environment lilypond undefined. error.
I don't see a usepackage command in his Lilypond example like I see with MusiXTeX and ABC. Is that all I'm missing?
MusiXTeX seems to have a lot to recommend it but it seems to involve a 3-pass compilation on the command line.
I would like something as straightforward as TikzPlot: I put in a usepackage{tikz} command and, aside from my occasional TikzPlot syntax mistake, I've had no problem with it.
The document I'm working on has a few dozen equations, two or three Tikz diagrams and a couple of music examples.
EDIT: Silly me, I forgot to include this link: http://martin-thoma.com/how-to-write-music-with-latex/ It says "Make sure that you have installed GNU LilyPond and LaTeX." I have TeXworks, so checkmark for the latter. I downloaded LilyPond yesterday and ran the test file, it went through okay.
lilypond-book --pdf yourfile.pdftexandpdflatex yourfile.tex? – Arash Esbati Jan 06 '16 at 09:14--pdfoption, judge yourself and see for example a source file and the result. – Arash Esbati Jan 08 '16 at 21:57