Enable the equation related menu items (using XSD, not DTD)?

Clay Helberg suggests a way Last Updated: 2006-09-19

=Question by N.N.=

My equation related menu items are always disabled. I checked the value of the "Options" attribute "equationSupport" in the .dcf file and the value is "yes". I am using XSD (not DTD).

=Clay Helberg answers=

Did you add the Arbortext equation fragment to your DTD? Help 9127 ("Integrating the Equation Editor in a DTD") explains how to do this.

Note that Arbortext's fragment is not derived from MathML (alas!), but is their own proprietary math markup system.

Sorry, I didn't put 2 + 2 together there, when you asked for the MathML schema. I don't know if there's a schema for the Arbortext equation markup fragment. Maybe you can use one of the DTD->XSD translators (such as Trang, http://www.thaiopensource.com/relaxng/trang.html) to convert Arbortext's DTD into a Schema fragment you can import into your schema. (Or if there is a schema version of this already, perhaps one of the Arbortext folks can chime in about where to find it?)

The Arbortext equation DTD fragment is found in $EPIC/entities/atimathx.dtd.

Note that there may be issues with the way character entities are handled that may not play nicely with XSD, which doesn't grok entities. You may have to spend some time monkeying around with the equation editor configuration to make it store things as numeric entities rather than named character entities.