[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \once \set Timing.defaultBarType fails!
From: |
Han-Wen Nienhuys |
Subject: |
Re: \once \set Timing.defaultBarType fails! |
Date: |
Wed, 07 Feb 2007 14:40:47 +0100 |
User-agent: |
Thunderbird 1.5.0.9 (X11/20070130) |
Mats Bengtsson escreveu:
> Why do the bar lines disappear completely in the following example?
>
> \version "2.11.15"
> \relative{
> c1 | \once \set Timing.defaultBarType = ":" c1 | c1 |
> }
>
> If you remove the \once, it works as expected and \once \set works
> correctly
> in other situations.
wild guess: becuase defaultBarType is defined in Score, not Global.
\once restores the value from the enclosing context.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
LilyPond Software Design
-- Code for Music Notation
http://www.lilypond-design.com