Skip to content

Commit

Permalink
add include option
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Apr 9, 2020
1 parent 903895a commit 2bd490b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mei2ly.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<xsl:strip-space elements="*" />
<xsl:output method="text" indent="no" encoding="UTF-8" />
<xsl:param name="LilyPondVersion" select="'2.20.0'"/>
<xsl:param name="include" select="''" as="xs:string"/>
<xsl:param name="useSvgBackend" select="false()" as="xs:boolean"/>
<xsl:param name="generateHeader" select="true()" as="xs:boolean"/>
<xsl:param name="forceLayout" select="false()" as="xs:boolean"/>
Expand Down Expand Up @@ -74,7 +75,10 @@
</xsl:if>
</xsl:if>
<xsl:value-of select="concat('\version &quot;', $LilyPondVersion,'&quot;&#10;')"/>
<xsl:text>% automatically converted by mei2ly.xsl&#10;&#10;</xsl:text>
<xsl:text>% automatically converted from MEI by mei2ly.xsl&#10;&#10;</xsl:text>
<xsl:if test="$include">
<xsl:value-of select="concat('\include &quot;', $include,'&quot;&#10;&#10;')"/>
</xsl:if>
<xsl:apply-templates>
<xsl:with-param name="layerNs" tunnel="yes">
<xsl:if test="$forceContinueVoices">
Expand Down

0 comments on commit 2bd490b

Please sign in to comment.