On Mon, Jan 26, 2009 at 6:44 PM, Veronica Brandt <[email protected]> wrote: > Hi, > > lilypond looked good for mixing with gregorio as lilypond-book works on > latex files to replace lilypond code with eps files so avoids clobbering > definitions. BUT lilypond -book is set up to use latex rather than > lamed or lualatex. Has anyone tried this before? lilypond-book is a > python script so looks like its possible.
Hello, Combining gregorio and lilypond wasn't something I'd tried before, but looking at lilypond-book.py -- There's a command line option --latex-program that changes which TeX compiler is invoked. With this, a file containing both gregorio (using \includescore) and lilypond (using \lilypondfile) scores compiled for me with lamed or lualatex. An example workflow: $ lilypond-book --latex-program=lamed --output=out myscorefile.tex $ cd out $ lamed myscorefile.tex $ dvips myscorefile $ ps2pdf myscorefile.ps pdflualatex also worked, after calling lilypond-book with the extra command-line option --pdf. Sometimes extra care was needed to make sure the lilypond scores fit inside the TeX document's page margins, but everything else looked okay (I haven't done extensive tests though). Does such a process work for you? One could also just invoke lilypond to create a graphics file (eps or pdf, depending on which you need), and include that in a main LaTeX file which contains gregorio scores -- here's the relevant documentation: http://lilypond.org/doc/v2.12/Documentation/user/lilypond-program/Alternate-methods-of-mixing-text-and-music#Alternate-methods-of-mixing-text-and-music Hope that helps, -- Tracy _______________________________________________ Gregorio-users mailing list [email protected] https://mail.gna.org/listinfo/gregorio-users

