Open
Description
Some ideas about math bits in WeBWork problems and harmonizing with changes elsewhere. Compare recently-adjusted templates in xsl/mathbook-html.xsl
and xsl/mathbook-webwork-pg.xsl
men
,mdn
are not relevant in a WW problem. Should we kill them entirely in this case and issue a (fatal) error/warning?- HTML and LaTeX templates condition on a "webwork" ancestor. This would appear unnecessary?
- Do we want to support "fillin" within math within "webwork"? How about "xref"? The first may be redundant (answer blanks exist?), the latter may be impossible (a bit brittle for HTML already).
- I have the whitespace switch implemented for math bits. How careful do we need to be about indentation, line breaks, etc.? There could be big savings here in character count for base64 encoding. Typical example is a matrix, which may be authored across several lines, but output as part of one line.
- The detection of gathered v. aligned is imperfect. An environment that should be gathered may be aligned due to ampersands in a matrix. We have
@alignment
attribute to manually override this. Do we want this here? See default template for this, where maybe we just add "ed" if a "webwork" descendant.