Jim Sabatke wrote:
Is there a document that describes the layout of an ly file? I've looked for a couple days and haven't found one.

I ask this because I can't seem to integrate \score into my files and get expected output. I've followed example files that I've found via grep, and none of the layouts seem to work.

I was using this format:

\header { ... }
\paper { ... }
\notes {  ...
           { lots of notes }
}

and that worked almost well enough, except that page numbering and taglines didn't work.

Then I tried every variation of using \score that I could think of, or find by example. The closest I could get was:

\header { ... }

\score {
   \notes {
            { notes }
   }

    \paper {

     }
}

This ignored all header into, but did split the piece into two pages, which didn't happen by the previous method.

I'm completely lost.  Is there a reference for this?


More specific info:

lilypond version 2.3.1

A sample ly file that does not print properly. I am guessing at \header placement and info as I can't find a defintion for source file layout, and I've searched google and every piece of documentation I could think of. Note: I've run into very simple looking examples for \score that error out.

I am totally confused and stopped dead in my tracks.

The following does page layout properly, but does NOT printer header or tagline info. It DOES suppress page numbers. If I remove the first \header block, the output is the same.

%% Generated from BMW source
%% Conversion program by: Jim Sabatke
%% Written in Java, AWK and ANTLR
\include "bagpipe.ly"

\header {
    %% texidoc = "@cindex Bagpipe Music"
    title = "Dunrovin Farm"
    composer = "Michael Grey"
    source = "Jig"
    tagline = "Printed by Lilypond from BMW source"
    pagenumber = no
}

\score {

\notes {
    \time 6/8
    \tieUp
    \stemDown
    \slurUp
    \key d \major
    \relative c'
    \transpose c c' {
        #(add-grace-property 'Voice 'Stem 'length 6)
        #(add-grace-property 'Voice 'Beam 'thickness 0.22)
        #(add-grace-property 'Voice 'Beam 'damping 2)
        #(add-grace-property 'Voice 'Stem 'thickness 1.0)
        \override Script #'padding = #3

\partial 256*13 s 256*13
\bar "|:" %% START_REPEAT_BAR B
\partial 64*8
e'8 |
\noBreak %% END_BAR_A Line: 1 Bar: 1
\gg d'8[ \eg a8 \dg a8] \gg a8[ fis'8 a8] |
e'8[ \eg a8 \dg a8] \gg a8[ fis'8 a8] |
\noBreak %% END_BAR_A Line: 1 Bar: 2
\gg a8[ a'8 a8] \gg fis'8[ e'8 d'8] |
\noBreak %% END_BAR_A Line: 1 Bar: 3
\gg a8[ fis'8 \eg fis'8] \gg a8[ a'8 a8] |
\noBreak %% END_BAR_A Line: 1 Bar: 4
\gg fis'8[ e'8 d'8] \dbe e'4. \gg d'8[ \eg a8 \dg a8] \gg a8[ e'8 a8] |
\noBreak %% END_BAR_A Line: 1 Bar: 5
\gg a8[ g'8 a8] \gg e'8[ d'8 cis'8] |
\noBreak %% END_BAR_A Line: 1 Bar: 6
\gg a8[ e'8 \strla e'8] \gg a8[ g'8 \tg a8] |
\noBreak %% END_BAR_A Line: 1 Bar: 7
\partial 64*40
\gg fis'8[ d'8 \strlg d'8] \lgstd d'4 ^\dsegno \bar ":|"
\break %% END_REPEAT_I End Line: 1 Bar: 8


%% End of musicLine
    }
}  %% end notes


\header {

    piece = "Dunrovin Farm"
    composer = "Michael Grey"
    source = "Jig"
    tagline = "Printed by Lilypond from BMW source"
    pagenumber = no

}



\paper {
linewidth = 17.0 \cm
papersize = "letter"
indent = 0.0 \cm
\context {
\StaffContext
\override TimeSignature #'style = #'C
\override TimeSignature #'break-visibility = #begin-of-line-visible
}
}



} %% end score %% End of input

--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy and good with ketchup.


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to