lilypond-user
[Top][All Lists]
Advanced

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

Re: \stopStaff does not work with TabStaff in StaffGroup


From: Patrick Schmidt
Subject: Re: \stopStaff does not work with TabStaff in StaffGroup
Date: Thu, 07 Jan 2010 19:36:04 +0100

-------- Original-Nachricht --------
> Datum: Thu, 07 Jan 2010 17:09:49 +0100
> Von: Federico Bruni <address@hidden>
> An: Patrick Schmidt <address@hidden>
> CC: address@hidden
> Betreff: Re: \\stopStaff does not work with TabStaff in StaffGroup

> Il 07/01/2010 16:33, Patrick Schmidt ha scritto:
> > Federico,
> >
> > I think it's a problem with moderntab. If you remove all the \clef
> "moderntab" then everything works fine. (I tested it with version 2.13.10.)
> >
> 
> Thanks Patrick,
> 
> yes it works also in 2.13.9
> 
> and you are right, it's not a matter of polyphony.. I just forgot to 
> add \clef "moderntab" in my monophonic example

There seems to be a conflict between \clef "moderntab" in combination with more 
than one measure filled with rests or durations in between \stopStaff and 
\startStaff (Mac OS X 10.4):

\version "2.13.10"
music =  {
  c1
  \stopStaff
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%% with \clef "moderntab" %%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %s1                   % no error
  s1*3                  % error
  %c1                   % no error
  %c1 d1                % error
  %c4 d4 e2             % no error
  %s4 s4 s2             % no error
  %c2 d2 e2 f2          % error
  %r1                   % no error
  %r1 r1                % error
  %\compressFullBarRests
  %R1                   % no error
  %R1*3                 % no error
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %%%%% without \clef "moderntab" %%%%%
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %s1                   % no error
  %s1*3                 % no error
  %c1                   % no error
  %c1 d1                % no error
  %c4 d4 e2             % no error
  %s4 s4 s2             % no error
  %c2 d2 e2 f2          % no error
  %r1                   % no error
  %r1 r1                % no error
  %\compressFullBarRests
  %R1                   % no error
  %R1*3                 % no error

  \startStaff
  c1
}

\new StaffGroup  <<
  \new Staff { \relative c' {%\clef "G_8" 
  \music} }
  
  \new TabStaff { \relative c' {\clef "moderntab" 
  \music} }
>>}

error:
Vorverarbeitung der grafischen 
Elemente.../Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/tablature.scm:102:28:
 In procedure ly:grob-property in expression (ly:grob-property staff-symbol 
(quote line-count)):
/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/scm/tablature.scm:102:28:
 Wrong type argument in position 1 (expecting Grob): ()

Hope this helps to find the bug (if it's one).
patrick

-- 
Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.! 
http://portal.gmx.net/de/go/dsl01




reply via email to

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