I am trying to create an orchestral score. I have used some code and modified 
it from the "Tips and Tricks" page. The .ly file is attached. What I have 
done is exported my composition through rosegarden. This exported file 
compiles fine, but I now want to put the notes of the parts into an 
orchestral score. I started by grabbing the notes from the violin first, and 
putting them into a new ly file with an orchestral score setup, but I seem to 
get weird errors, here is my output::

lilypond orchestral1.ly
lilypond (GNU LilyPond) 2.2.6
Running lilypond-bin...
Now processing `orchestral1.ly'
Parsing...

input renamed to: `coriolan-margin.ly'
Interpreting music... [8][16][24][32][40][48][56][64][72][80][88][96]
Preprocessing graphical objects...
Calculating line breaks... [3][6][9][12][15][18][21][24][27][30][33][36][39]
[42][45][48][51][54][57][60][63][66][69][72][75][78][81][84][87][90][93]

paper output to `orchestral1.tex'...
writing header field `title' to `orchestral1.title'...
writing header field `piece' to `orchestral1.piece'...
writing header field `opus' to `orchestral1.opus'...
writing header field `subtitle' to `orchestral1.subtitle'...
writing header field `subsubtitle' to `orchestral1.subsubtitle'...
writing header field `composer' to `orchestral1.composer'...
programming error: Improbable system height.
Continuing; crossing fingers
programming error: Improbable system height.
Continuing; crossing fingers
programming error: Improbable system height.
Continuing; crossing fingers
programming error: Improbable system height.
Continuing; crossing fingers


Analyzing orchestral1.tex...
Running ...
lilypond: error: LaTeX failed on the output file.
lilypond: error: The error log is as follows:

! TeX capacity exceeded, sorry [main memory size=2000001].
<argument> 000.3287 001.6
                         434 000.1075 000.1075 000.2150 draw_round_box
l.35118 }
         %
If you really absolute
LATEX output to `orchestral1.latex'...
TEX output to `orchestral1.tex'...








I hope you can help me, or this might be a bug...

Thankyou

Matthew Carey
% Generated by lilypond-book
% Options: [printfilename,texidoc,linewidth]

\paper {
    linewidth = 160 \mm
}
\renameinput "coriolan-margin.ly"

\version "2.2.6"


% Ugh, we need to override some LaTeX titling stuff
\header {
  title =       "Ouvertüre\\vrule width0pt height 0pt depth 1ex"
  subtitle =    "\\normalsize Zu Heinrich Joseph v. Collins Trauerspiel\\vrule 
width0pt height 0pt depth 1ex"
  subsubtitle = "\\Large\\bf Coriolan"
  opus = "Op. 62"
  piece = "\\hspace*{30mm}\\normalfont\\large Allegro con brio"
  composer =     "Ludwig van Beethoven (1770-1827)"

texidoc = "@cindex Orchestra Score
@cindex Coriolan Score
In an orchestral score (Beethoven's Coriolan overture), there are
different instrument groups, and some of the instruments may be
transposed. Instruments are indicated either with a long or short name.
" }

#(set-global-staff-size 16)

raisedFlat = \markup { \raise #0.4 \smaller \smaller \flat  }



flauti = \notes \relative c' {
  \set Staff.instrument = #"2 Flauti"
  \set Staff.instr = #"Fl."
}

oboi = \notes \relative c' {
  \set Staff.instrument = #"2 Oboi"
  \set Staff.instr = #"Ob."

}

clarinetti = \notes \relative c' {
    \set Staff.instrument = \markup { \column < "Clarinetti" { "in B" 
\raisedFlat } > }
    \set Staff.instr = \markup { \smaller  { "Cl(B" \raisedFlat ")" } }


}

fagotti = \notes \relative c' {
  \set Staff.instrument = #"2 Fagotti"
  \set Staff.instr = #"Fg."

}

corni = \notes \relative c' {
    \set Staff.instrument = \markup { \column < "Corni" { "in E" \raisedFlat } 
> }
    \set Staff.instr = \markup { \smaller  { "Cor(E" \raisedFlat ")" } }


}

trombe = \notes \relative c' {
  \set Staff.instrument = \markup \column < "2 Trombe" "(C)" >
  \set Staff.instr = \markup \column <  "Tbe." "(C)" >


}

timpani = \notes \relative c' {
  \set Staff.instrument = \markup \column < "Timpani" "(C-G)" >
  \set Staff.instr = #"Timp."


}

violinoI = \notes \relative c' {
  \set Staff.instrument = #"Violino I  "
  \set Staff.instr = #"Vl. I  "
   \time 6/8
                r2.
                r2.
                r2.
                r2.
%% 5
                r2.
                r2.
                cis' 4. ^ "arco" -\f d' 8 e' f'
                g' 8 r r r4.
                g' 8 g' g' 4 g' 8 g'
%% 10
                d'' 8 -\accent r d'' -\accent r d'' -\accent r
                r2.
                r2.
                r2.
                r4. r8 r cis'' ^ "pizz"
%% 15
                fis' 8 r r r4.
                r2.
                r2.
                r2.
                r2.
%% 20
                d'' 8 r dis'' r4.
                r2.
                r8 r f'' r r f''
                r2.
                d'' 16 ^ "arco" cis'' d'' cis'' d'' cis'' d' 4. \<
%% 25
                ees'' 16 \! d'' ees'' d'' ees'' d'' dis' 8 -\staccato-\accent 
dis' -\staccato-\accent dis' -\staccato-\accent
                r2.
                r2.
                r2.
                r2.
%% 30
                r2.
                r2.
                bes' 16 -\mp a' a' 8 c'' des'' 4. ~
                des'' 2.
                ais' 8 \< ais' ais' des'' des'' des''
%% 35
                b' 4. -\f \! b' 8 c'' d''
                ees'' 4. r
                r2.
                r2.
                r2.
%% 40
                r2.
                bes' 16 -\f a' a' 8 c'' des'' 4. ~
                des'' 2.
                d'' 8 d'' d'' r4.
                r2.
%% 45
                r2.
                r4. ges' 16 -\pp f' ges' f' ges' f'
                bes' 16 -\f a' a' 8 c'' des'' 4. ~
                f' 8 -\p f' f' 4 f' 8 f'
                r4. dis' 8 dis' dis'
%% 50
                r2.
                r8 r dis''  ^ "pizz"-\mf r r dis''
                r2.
                r2.
                r4. r8 ais' b'
%% 55
                r2.
                r2.
                r2.
                r2.
                r2.
%% 60
                dis' 8  ^ "arco"-\mp e' dis' dis'' 16 -\accent dis'' dis'' 
dis'' -\accent dis'' dis''
                dis'' 16 -\f -\accent \< dis'' dis'' dis'' -\accent dis'' dis'' 
e'' dis'' dis'' 8 fis''
                g'' 8 -\ff -\staccato-\accent \! g'' -\staccato-\accent g'' 
-\staccato-\accent r4.
                r2.
                r8 ^ "pizz" r g'' -\mf r r g''
%% 65
                r2.
                g' 8  ^ "arco"g' g' r4.
                ais' 8  ^ "pizz"ais ais' r4.
                r8 g  ^ "arco"-\mp a bes 4.
                r8 ais'  ^ "pizz"b' r ais' b'
%% 70
                r2.
                r2.
                r2.
                b'' 16  ^ "arco"-\mf ais'' b'' ais'' b'' ais'' b' 4.
                c''' 16 b'' c''' b'' c''' b'' c'' 8 -\staccato-\accent c'' 
-\staccato-\accent cis'' -\staccato-\accent
%% 75
                r2.
                r2.
                f' 8  ^ "pizz"ges' r r4.
                r2.
                gis' 8 gis' gis' gis' fis' e'
%% 80
                fis' 4. r
                r2.
                r2.
                r4. a' 16 gis' a' gis' a' gis'
                a 4. \< b' 8 -\staccato-\accent \! b' -\staccato-\accent b' 
-\staccato-\accent
%% 85
                r2.
                r2.
                r2.
                r2.
                gis' 16 -\pp g' g' 8 ais' b' 4. ~
%% 90
                b' 2.
                gis' 8 \< gis' gis' b' b' b'
                r2.-\mp  \!
                r2.
                r2.
%% 95
                r2.

                 \bar "|."
}

violinoII = \notes \relative c' {
  \set Staff.instrument = #"Violino II  "
  \set Staff.instr = #"Vl. II  "

}

viola = \notes \relative c' {
  \set Staff.instrument = #"Viola"
  \set Staff.instr = #"Vla."

}

violoncello = \notes \relative c' {
  \set Staff.instrument = \markup \column < "Violoncello" "e" "Contrabasso" >
  \set Staff.instr = \markup \column <  "Vc." "Cb." >

}


\score {
  <<
    \context StaffGroup ="legni" <<
      \context Staff ="flauti" \flauti
      \context Staff ="oboi" \oboi
      \context Staff ="clarinetti" \clarinetti
      \context Staff ="fagotti" \fagotti
    >>
    \context StaffGroup ="ottoni" <<
      \context Staff ="corni" \corni
      \context Staff ="trombe" \trombe
    >>
    \context StaffGroup ="timpani" <<
      \context Staff ="timpani" \timpani
     {
       \skip 1
       % Hmm: this forces a staff-bracket, that's good!
       % However, I can't find where is decided on staff-bracket yes/no
     }
    >>
    \context StaffGroup ="archi" <<
      \context GrandStaff ="violini" <<
        \context Staff ="violinoI" \violinoI
        \context Staff ="violinoII" \violinoII
      >>
      \context Staff ="viola" \viola
      \context Staff ="violoncello" \violoncello
    >>
  >>
  \paper {
      \paperSixteen
      indent=100.0\mm
      linewidth=150.0\mm
      \context {
          \RemoveEmptyStaffContext
      }
      \context {
          \OrchestralScoreContext
          \override TimeSignature #'style = #'C
      }
  }
}


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

Reply via email to