Macros permit the author to abstract away layout details when writing the document. The presence of user-defined macros in documents presents an interesting challenge for a system like AsTeR . In general, macro expansion can perform any arbitrary computation permitted by the TeX language. Hence, it is impossible to directly translate the macro expansion into an audio rendering. Producing audio renderings of such instances will then be equivalent to rendering any other object present in the model.
Macro definitions introduce new object types.
We first describe how the recognizer is extended to handle instances of the new object introduced by a macro definition. Name of a processing function that parses instances of this macro call. This function is synthesized automatically. Calls to this macro appearing in the document will be converted to instances of this object type. If the new object is an operator, its precedence is declared in terms of one of the existing operators.