bug-lilypond
[Top][All Lists]
Advanced

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

Re: \alternative Not Working


From: Will Oram
Subject: Re: \alternative Not Working
Date: Fri, 6 Aug 2004 09:37:28 -0500

I got it to work. \alternative seems to be in conflict with my notes block dedicated to spacing bars (s1*x \break, etc). If I comment out \spacing, then the alternative boxes appear as they should. This explains why, by itself, the code I sent works on your machine and mine.

Will

On Aug 6, 2004, at 5:59 AM, Mats Bengtsson wrote:

Your example works fine here with version 2.3.11
(I just added a \score{\relative c'' ... } around it). I can't see
anything in the ChangeLog that should make a difference from 2.3.10,
but you never know. You can see a copy of the result at
http://www.s3.kth.se/~mabe/oram.pdf (or maybe I should call the file
Beethoven?).

   /Mats




Will Oram wrote:
I am using 2.3.10 at the moment. I viewed the output using PS and PDF. There is no change in adding instruments, removing non-repeat music, and removing music within the repeat block.
 Here is the complete block with appropriate defs added:
cr            = \markup { \italic cresc. }
dashed        = \once \set crescendoSpanner = #'dashed-line
caesura         = {  \override BreathingSign
#'text = #(make-musicglyph-markup "scripts-caesura") }
\repeat volta 2 {
    dsharp2( gsharp)
    e4-._\cr csharp-. \dashed gsharp-.\< csharp-.
    e2( a)
    fsharp4 dsharp b! dsharp
    fsharp2( b)
    r4 fsharp( b2)~
    b4 r r2\!
        R1*2
        r4 g(_\markup { \italic dim. } b2)~
    b4 r r2
        R1*2
r4_\markup { \italic piu \dynamic p }^\markup { \huge {Molto poco adagio.}}
        r8 gsharp!8( b4)~ b~
    b r r2
        R1*2
    R1^\markup { \huge {Tempo I.}}
        r2 dsharp,,4-.\pp b-.
    gsharp-. b-. r2
    dsharp4 b gsharp b
    dsharp' b gsharp b
    dsharp2( gsharp)
    fsharpsharp4 gsharp asharp b
    csharp^\markup { \huge {ritard.}} b asharp csharp
        \caesura %%% defined in separate file
    \breathe
        b4-.\f^\markup { \huge {in tempo}} gsharp-. e-. gsharp-.
    b2( e)
    dsharp4-. e-. fsharp!-. gsharp-.
    a r r2
    gsharp4-. fsharp-. e-. dsharp-.
    csharp2( fsharp)
    dsharp4-. e-. csharp-. dsharp-.
    b2( e)
    e4-. dsharp-. csharp-. dsharp-.
    e d,\p e fsharp
    gsharp( fsharp) e-. dsharp-.
    csharp( dsharp) e-. fsharp-.
    dsharp(_\cr e) csharp-. dsharp-.
    b( csharp) d-. e-.
    e( dsharp) csharp-. dsharp-.
    fsharp( e) dsharp-. e-.
    gsharp\f( fsharp) esharp-. fsharp-.
    a\sf( gsharp) fsharp-. gsharp-.
    b\f( a) gsharp-. a-.
    csharp\f( b) asharp-. b-.
    d\f( csharp) e-. dsharp-.
    }
\alternative {{ e4 r r2 | dsharp,4-.\p bsharp-. gsharp-. bsharp-. } { e'4 e\p b r }}
On Aug 5, 2004, at 11:09 AM, Mats Bengtsson wrote:
Your lines of code work fine here. Could you please send a complete
example and also tell what LilyPond version you use.

By the way, how did you look at the result? The .dvi, .ps, pdf or the
printed output?

   /Mats

Will Oram wrote:

With one instrument playing, I can't get the \alternative's to appear correctly. The notes are printed, but the boxes above them indicating they are 1st/2nd time repeats are not.
Doing my best to reproduce what is shown in the manual:
\repeat volta 2 {
    dsharp2( gsharp)
    %%% more stuff
    }
\alternative {{ e'4 r r2 | dsharp,4-.\p bsharp-. gsharp-. bsharp-. } { e'4 e\p b r }}
Where did I goof?
Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


--
=============================================
    Mats Bengtsson
    Signal Processing
    Signals, Sensors and Systems
    Royal Institute of Technology
    SE-100 44  STOCKHOLM
    Sweden
Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260
    Email: address@hidden
    WWW: http://www.s3.kth.se/~mabe
=============================================


Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================


Will Oram // Genius @ Large // AIM spamguy21
spamguy (at) foxchange (dot) com // wro1 (at) cwru (dot) edu





reply via email to

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