Sebastian Menge wrote:

It's not especially clever, but I wouldn't dream of using
lilypond-book without a Makefile to run the commands.  So just set the

yes, i thought of that too, but then i would loose so many features of
vim-latexsuite like:

   * recompiling if necessary (aux-file change etc)
   * quickfix (directly jump to the line where an error occured, based
on output of compilation)
   * forward and reverse search (from vim to xdvi and back again, very
cool)

Essentially I would like to simply run latex on a file containing
lilypond markup.
It shouldn't be hard to write a script in your favourite scripting language,
that performs the necessary steps in a single command. Then you can replace
the call to latex by a call to your script in vim. If you make sure
that the printouts from latex are echoed on standard output, then the "quickfix"
should work.
Perhaps since most of the work I do is on the text rather than on the
music, i could imagine to only run lilypond when i changed something
with the music. how would one do that?
That's already taken care of in lilypond-book, which only runs lilypond if
any of the music has changed, otherwise it just goes through the LaTeX
code and makes sure that the lilypond code is replaced by the suitable
\includegraphics commands.

   /Mats


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to