Hello,

now that my final exams are finished I have again time to
do music and so I played a little with the recent version
of lilypond (debian package: 1.4.1). 

I realisedd that after removing all ; from the files the headers
are lacking the metre= field when invoking lydvi from within emacs.
Also the header is a little bit too close to the first line of text so
I tried to insert a line latexoptions="headsep=10mm" but nothing
changed. Is there something broken in ly2dvi or is it my fault because
some formats have changed since version approx: 1.3.130?

I attach an example file which I tried without success...

Thanks,

Olaf


\header{
        title = "All Of Me"
        metre = "Med. fast Swing"
        composer = "Simons \& Marks"
%       latexoptions = "headsep=10mm"
}

papersize="a4"
\include "paper20.ly"
\include "deutsch.ly"

akk = \chords {
        c1:7+ c:7+ e:7 e:7
        a:7 a:7 d:m7 d:m7 
        e:7 e:7 a:m7 a:m7
        d:7 d:7 d:m7 g:7
        c:7+ c:7+ e:7 e:7
        a:7 a:7 d:m7 d:m7
        f:6 b:7 c2:7+ e:m7 a1:7
        d:m7 g:7 c2:6 dis:m5-.7- d:m7 g:7
        }

Melodie = \notes \context Thread=one {
        \stemUp \tieUp  
        c''4 g'8 e' ~ e'2 ~ |
        e' \times 2/3 { c''4 d'' c'' } |
        h'4 gis'8 e' ~ e'2 ~ |
        e'1 \break
%5
        a'4. g'!8 e'2 ~ |
        e'4. dis'8 \times 2/3 {e'4 b' a'} |
        g'2 f' ~ |
        f'1 \break
%9
        e'4. es'8 d'!2 ~ |
        d'2 \times 2/3 {e'!4 gis' h'!} | 
        d''2 c''2 ~ |
        c''1 \break
%13
        h'4. b'8 a'2 ~ |
        a'2 \times 2/3 {a'4 d'' h'!} |
        a'2 ~ a'4. h'8 ~ |
        h'1 \break
%17
        c''4 g'8 e' ~ e'2 ~ |
        e'2 \times 2/3 {c''4 d'' c''} |
        h'4 gis'8 e' ~ e'2 ~ |
        e'1 \break
%21
        a'4. g'8 e'2 ~ |
        e'4 dis' \times 2/3 {e'4 b' a'} |
        g'2 f' ~ |
        f'1 \break
%25
        d''2 c''4 h'!8 d'' ~ |
        d''2. c''4 |
        h'2 e'4 g'8 h' ~ |
        h'2. a'4 \break
%29
        c''2 a'4 c''8 e'' ~ |
        \tieBoth
        e''2 e''4. <e'8 g' a' c''> ~ |
        <e'2 g' a' c''> <c'2 dis' fis' a'> |
        <c'2 d' f'! a'> <h2 d' f' g'> \bar"|."
}

Voicings = \notes \context Thread=two {
        \stemDown 
        s2 s4 <e4 h> |
        <e4 h> s4 s2 |
        s2 s4 <gis4 d'> |
        <gis4. d'> <gis8 d'> s2 |
%5
        s2 s4 <g!4 cis'> |
        <g4 cis'> s4 s2 |
        s2 s4 <f4 c'> |
        <f4. c'> <f8 c'> s2 |
%9
        s2 s4 <d4 gis> |
        <d4 gis> s2 s4 |
        s2 s4 <c'4 g'> |
        <c'4. g'> <c'8 g'> s2 |
%13
        s2 s4 <c'4 fis'> |
        <c'4 fis'> s2 s4 |
        r4 <c'4 f'!> r8 <c'4. f'> |
        r4 <h4 f'> r8 <h4. f'> |
%17
        s2 s4 <e4 h> |
        <e4 h> s2 s4 |
        s2 s4 <gis4 d'> |
        <gis4. d'> <gis8 d'> s2 |
%21
        s2 s4 <g4 cis'> |
        <g4 cis'> s2 s4 |
        s2 s4 <f4 c'!> |
        <f4. c'> <f8 c'> s2 |
%25
        r4 <d'4 a'> r2 |
        r4 <d'4 as'> <d'4 as'> r4 |
        r4 <h4 e'> r2 |
        r4 <cis'4 g'> <cis'4 g'> r4 |
%29
        r4 <c'!4 f'> r2 |
        r4 <f'4 h'> r8 <f'8 h'> r8 s8 |
        s1 |
        s1 |    
}

bassvoice = \notes \context Voice = bassvoice {
        \time 4/4
        c2 g|
        c2 g|
        e2 h,|
        e2 h, |
%5
        a,2 e |
        a,2 e |
        d2 a, |
        d2 a, |
%9
        e2 h, |
        e2 h, |
        a,2 e |
        a,2 e |
%13
        d2 a, |
        d2 a, |
        d2 a, |
        g,2 d |
%17 
        c2 g |
        c2 g |
        e2 h, |
        e2 h, | 
%21
        a,2 e |
        a,2 e |
        d2 a, |
        d2 a, |
%25
        f,2 c |
        b,2 f, |
        c2 e |
        a,2 e |
%29
        d2 a, |
        g,2 d |
        c2 dis |
        d2 g \bar"|."
}

\score {
        <
        \context ChordNames \akk
        \context PianoStaff \notes <
        \context Staff = up < \time 4/4 \clef treble
        \key c \major
        \Melodie
        \Voicings
        >
        \context Staff = down < \time 4/4 \clef bass 
        \key c \major
        \bassvoice
        >
        >
        >
        \paper { 
          indent = 0
          \translator{
            \ChordNamesContext
            ChordNames \override #'word-space = #1
            ChordNames \override #'style = #'jazz
            }
          \translator{
            \ChordNamesContext
            chordChanges = ##t
            }
          }
        \midi {
                \tempo 4 = 140
        }
}

Reply via email to