| |
---|
| | <!-- |
---|
| | It's nice to weed out the sample answer markup at the XSLT processing stage to make LaTeX run faster. Note that \showanswers still needs to be called so that LaTeX can format chapter headings like "Answers for ..." |
---|
| | --> |
---|
| | <xsl:if test="$showanswers='yes'"> |
---|
| | <xsl:text>\begin{answer} |
---|
| | </xsl:text> |
---|
| | <xsl:text>\begin{answer}</xsl:text> |
---|
| | <xsl:call-template name="newline-internal" /> |
---|
| | <xsl:apply-templates /> |
---|
| | <xsl:text>\end{answer} |
---|
| | |
---|
| | </xsl:text> |
---|
| | <xsl:text>\end{answer}</xsl:text> |
---|
| | <xsl:call-template name="newline-internal" /> |
---|
| | <xsl:call-template name="newline-internal" /> |
---|
| | </xsl:if> |
---|
| | </common> |
---|
| | <common formats="/html/xhtml/"> |
---|
| | <xsl:if test="$showanswers='yes'"> |
---|
| |
---|
|