Org-mode is a pretty remarkable way to do this. You can embed LilyPond source code directly into the document's markup. Then, when you export to LaTeX, it can compile the LP snippets automatically and insert them into the result.
~~~~ begin sample org file #+PROPERTY: header-args:lilypond :prologue \header{tagline=##f} #+TITLE: Org-mode, LaTeX, LilyPond #+DATE: <2015-04-05 Sun> #+AUTHOR: James Harkins #+LATEX_CLASS: article #+DATE: \today If you're into What You See Is What You Mean, org-mode supports LilyPond code blocks: #+BEGIN_SRC lilypond :file demo.eps :exports results \relative c' { c4 e g e f d b g } #+END_SRC And even automatically trims the result! ~~~~ end sample org file The main drawback is that it's ideal for people who already use Emacs, but if you don't use Emacs, then you would have to learn Emacs. hjh _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user