<!-- PROOF -->
<xsl:when test="$name='proof'">
<m:maction actiontype="toggle">
- <!-- CSC: next if until the annotationHelper can handle mactions -->
- <xsl:if test="not($explodeall)">
+ <!-- CSC: $explodeall until the annotationHelper can handle mactions -->
+ <xsl:variable name="test" select="(not($explodeall)) and
+ (not(preceding-sibling::*[1]/text()='letin1')) and
+ (not(preceding-sibling::*[1]/text()='rw_step')) and
+ (not(name(..)='m:lambda'))"/>
+ <xsl:if test="$test">
<!-- Details hided (default) -->
<m:mtable align="baseline 1" equalrows="false" columnalign="left">
<m:mtr>
<m:mphantom>
<m:mtext>_</m:mtext>
</m:mphantom>
- <m:mtext mathcolor="Green">(hide details)</m:mtext>
+ <xsl:if test="$test">
+ <m:mtext mathcolor="Green">(hide details)</m:mtext>
+ </xsl:if>
</m:mrow>
</m:mrow>
</m:mtd>