Incrementing bar numbers in volta repeats: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 3: Line 3:
Here is a hack that increments the <code>currentBarNumber</code> property whenever volta repeats occur. It also offers basic (though limited) support for alternatives.
Here is a hack that increments the <code>currentBarNumber</code> property whenever volta repeats occur. It also offers basic (though limited) support for alternatives.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
%% possible workaround for issue #5031 -vv
%% possible workaround for issue #5031 -vv
%% Limitations may (and will) occur for complex
%% Limitations may (and will) occur for complex