lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-book and latex


From: Mats Bengtsson
Subject: Re: lilypond-book and latex
Date: Mon, 14 May 2007 09:59:33 +0200
User-agent: Thunderbird 2.0.0.0 (X11/20070326)



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




reply via email to

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