lilypond-user
[Top][All Lists]
Advanced

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

Re: script for lilypond-book


From: John Mandereau
Subject: Re: script for lilypond-book
Date: Sun, 25 May 2008 15:02:57 +0200

On 2008/05/16, Stefan Thomas wrote:
> Dear Lilypond-users,
> maybee I'm boring, but I have written a little scirpt for lilypond
> book:
> lilybuch( ) {
> mkdir -p "$1"/
> lilypond-book --output="$1" --psfonts "$2".tex
> cd "$1"/
> latex "$2".tex
> dvips "$2".dvi
> ps2pdf "$2".ps
> kpdf "$2".pdf
> }
> "$1" is the name of the direction You want to create, "$2" is the name
> of the file You have written, without the "tex"-ending.
> After e.g. "lilybuch trial versuch" You will see the produced pdf-file
> in kpdf.

This script will not work with lilypond-book 2.11 (and thus 2.12), as
psfonts lilypond-book option has been removed.  And if the final output
format you want is PDF, using pdfLaTeX is generally  preferable over the
LaTeX -> dvips -> ps2pdf route (unless you use LaTeX packages
incompatible with pdfLaTeX).  For more details, see lilypond-book
documentation for version 2.11, issues related to LaTeX processing still
apply to 2.10.

HTH,
John





reply via email to

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