Skip to content

Commit

Permalink
improve staffGrp support
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Aug 30, 2020
1 parent b6b1358 commit bfe7164
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mei2ly.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,14 @@
<!-- MEI staff group -->
<xsl:template match="mei:staffGrp" mode="score-setup">
<xsl:text>\new StaffGroup </xsl:text>
<xsl:choose>
<xsl:when test="@n">
<xsl:value-of select="concat('= &quot;staffGrp ', @n, '&quot;&#32;')" />
</xsl:when>
<xsl:when test="@label">
<xsl:value-of select="concat('= &quot;', @label, '&quot;&#32;')" />
</xsl:when>
</xsl:choose>
<xsl:if test="child::mei:label">
<xsl:text>\with { </xsl:text>
<xsl:call-template name="setInstrumentName" />
Expand Down

0 comments on commit bfe7164

Please sign in to comment.