Thanks. In the original LaTeX for APEX, the macro did not require math mode.
But I didn't know how to port that over to PreTeXt without putting the
macro in the <macros> section, and using math mode.
This may (temporarily) fall into the "more trouble than it's worth"
pile, partly because (I think) this would involve adding extra XSL for
the HTML conversion just to get a slightly fancier "APEX" that occurs
twice in the whole book (both in the preface).