lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-book and latex


From: Laura Conrad
Subject: Re: lilypond-book and latex
Date: Fri, 11 May 2007 18:07:15 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

>>>>> "Sebastian" == Sebastian Menge <address@hidden> writes:

    Sebastian> Does anyone have an idea how to manage that in a clever
    Sebastian> way?

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
Makefile up and run that from emacs. (Or presumably jedit, but I don't
use that.)

My Makefile says:

%.pdf:  %.lytex *.ly *.bib Makefile
         lilypond-book --output=out --psfonts $*.lytex
         cd out;eps-fix-bounding.sh $*.tex;latex $*.tex;bibtex $*.aux;dvips 
$(DVIPSOPTS) -h $*.psfonts -o ../$*.ps $*.dvi
#        cd out;latex $*.tex;bibtex $*.aux;dvips $(DVIPSOPTS) -h $*.psfonts -o 
../$*.ps $*.dvi
         ps2pdf $*.ps $*.pdf

You might not need to worry about the bibliography, and if you're
not printing double sided you might not have to do the workaround
(eps-fix-bounding.sh) for lilypond-book shifting everything to the
right of where it should be, but even without that, I wouldn't try to
do it without a Makefile.

If you don't need the eps-fix-bounding workaround, you may prefer to
use pdflatex rather than dvips and ps2pdf, but there's some reason I
couldn't get the workaround to work in that context.

-- 
Laura (mailto:address@hidden , http://www.laymusic.org/ )
(617) 661-8097  fax: (501) 641-5011
233 Broadway, Cambridge, MA 02139




reply via email to

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