Lucas Cavalcanti:
> Hello! I'm starting a task that requires LaTeX, so I've decided to use the
> lilypond-book.
...

 I did:
https://aspodata.se/choir/osthammar/motett/mozart/requiem.pdf
https://aspodata.se/choir/osthammar/motett/mozart/cover.pdf
 code in:
https://aspodata.se/git/musik/WAMozart/requiem/

 with lilypond and latex but without lilypond-book.
 I use emacs, and handle lilypond and latex files separately with
 no need for lilypond-book handling in the editor.

 The reason I did it without lilypond-book was that I couldn't
 create a Makefile rule for lilypond-book, at least 10 years ago,
 it might have changed since then.

 Doing it "my" way means you have to match pagewidth/linewidth
 between the latex and lilypond sides yourself.

 If you simply set a slightly shorter line-width on the lilypond side
 and a slightly larger \textwidth on the latex side you're good, e.g.
  line-width = 153 \mm
  \setlength{\textwidth}{165mm}
 worked well for me for a choirbook-sized format (190x270mm).

 By using \include "lilypond-book-preamble.ly", and running
lilypond --eps -dno-gs-load-fonts -dinclude-eps-fonts file.ly
 I get each line of music as an eps file, which I can simply
 include with \includegraphics, or rather use
 \input{file-systems.tex} to include them all.
 And yes, my workflow is PostScript centric since I have had
 less problems printing that way.

 Feel free to ask more.

Regards,
/Karl Hammar



Reply via email to