Skip to content

Commit

Permalink
Runestone: less restrictive for matching problems in a "task" (Issue #…
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrianwalton authored and rbeezer committed Oct 2, 2024
1 parent 59f93c0 commit 4c151d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xsl/pretext-runestone-static.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
</xsl:template>

<!-- responses re-orered according to match/@order -->
<xsl:template match="exercise/matches/match" mode="matching-statement">
<xsl:template match="matches/match" mode="matching-statement">
<xsl:variable name="premise-number" select="count(preceding-sibling::match) + 1"/>
<xsl:variable name="all-matches" select="parent::matches/match"/>
<row>
Expand All @@ -570,7 +570,7 @@ along with PreTeXt. If not, see <http://www.gnu.org/licenses/>.
</row>
</xsl:template>

<xsl:template match="exercise/matches/match" mode="matching-solution">
<xsl:template match="matches/match" mode="matching-solution">
<row>
<xsl:if test="following-sibling::match">
<xsl:attribute name="bottom">
Expand Down

0 comments on commit 4c151d6

Please sign in to comment.