rndgrab - A library for selecting the appropriate rendering for a Content MathML/ OpenMath object.
The rendering grabber (rndgrab) library implements the intensional selection of renderings. It takes as input a
mathematical object, a list of elements of the form(context annotation : rendering), and a totally
ordered set of source names. It returns the most appropriate rendering. In particular, rndgrab provides:
- The computation of the rendering context based on:
- A global intensional context
- The metadata inside the given XML document
- The context declaration via the ic attribute.
- The declaration inside a Cascading Context File
- The matching of rendering context and context annotations to identify the most appropriate rendering