[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Formatting problems with lilypond-book
From: |
Werner Arnhold |
Subject: |
Formatting problems with lilypond-book |
Date: |
Mon, 17 Jul 2017 10:00:49 +0200 |
Hi,
I try to make a little songbook for my choir with lilypond-book. There
are two questions from me:
1. I use a main file "bkc_lieder.lytex" with lines like
\lilypondfile[line-width=17.0\cm]{mit_frohsinn_und_gesang.ily}
but I would prefer something like
\def\opt{line-width=17.0\cm} % in the LaTeX preamble and then
\lilypondfile[\opt]{mit_frohsinn_und_gesang.ily}
to have a single place where to define everything that is the same for
all files. When compiling the second way I get complaints about unknown
option "\opt". What is the right way to do the job?
2. When compiling for example "mit_frohsinn_und_gesang.ly" as a single
file I get a fine output, where the first system is indented to have
place for the voice names "Sopran", "Alt" ... The next systems use the
full line width. As part of the lilypond-book procedure the first system
looks fine but the following ones also use the more narrow space as if
the voice name had to precede every system. Even when setting line-with
by hand this behavior is not changed.
I use version 2.18.2 and pdflatex. I use the following command in a
bash shell scipt:
BUCHTITEL="bkc_lieder"
BUCHDAT=$BUCHTITEL.lytex
IDIR="incl"
IDIR2="../incl"
AUSDIR1=.ly
AUSDIR2=.ly2
lilypond-book --format=latex --output=$AUSDIR1 \
--lily-output-dir=$AUSDIR2 \
-I$IDIR -I$IDIR2 $BUCHDAT
Anybody out there with a good hint or maybe a working example? Thank
you!
Werner
--
Werner Arnhold
address@hidden
Rettet den Binde Strich!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Formatting problems with lilypond-book,
Werner Arnhold <=