bug-lilypond
[Top][All Lists]
Advanced

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

Re: dealing with tabstaff commands when no tabstaff is defined


From: Mats Bengtsson
Subject: Re: dealing with tabstaff commands when no tabstaff is defined
Date: Mon, 02 Jul 2007 19:05:30 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

A simple workaround would be to do the property setting higher up
in the context hierarchy, for example at the Score level, which means
that they will be inherited to all TabStaff contexts (if there are any):
\set Score.minimumFret = #3

  /Mats

Quoting Graham Percival <address@hidden>:

Thanks, entered as
http://code.google.com/p/lilypond/issues/detail?id=387

Cheers,
- Graham


hernan gonzalez wrote:
I have a score that uses TabStaff; the voices include here and there
some tab-related commands (eg.   \set TabStaff.minimumFret ). If I
choose to  not output the TabStaff (commenting out that staff from the
main score definition), lilypond get badly  confused with the
tabstaff-related commands it finds.

Test case:
With Lilypond 2.10.23 (Win)

%%%%%%%%%%%%%%%%%%%%%
\version "2.10.1"
frag =  {
e'1  \set TabStaff.minimumFret = #3
g'1  \set TabStaff.minimumFret = #0
e'1
}

\score {
<<
 << \new Staff { \frag } >>
 % << \new TabStaff { \frag } >>  % uncommenting this line it works ok.
 >>
}
%%%%%%%%%%%%%%%%%%%%%

Cheers




_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond








reply via email to

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