Here's my guess as to what is happening, and a possible workaround. The
help(keyword) syntax is coming from
Possible workaround: embed the desired function in the problem explicitly. This means that we'd be redefining it if the problem is used in a regular problem set, but that shouldn't be an issue. To this we have to get into the rendering of the HTML for the problem; the following is an outline of what I think should work.
openhelpUnits, for help on units) from the macro file
For what it's worth,