The first example of the math element places the sequence 0x1b (escape character) followed by the letter b at the beginning of the math expression. It also places the escape character followed by e at the end. I'm not sure what the second example does. It would be necessary to try it. As a matter of fact, nemeth.sem should be reviewed in light of the MathML 2.0 specification, if that is what we are going to use. There is a function in the semantics.c module called get_attr_value . John On Tue, Mar 18, 2014 at 11:15:49AM +0000, Michael Whapples wrote: > Hello, > I am uncertain as to how LibLouisUTDML semantic actions deal with > attributes. > > As an example in nemeth.sem it has the line > math math \eb,\*\ee > > So my understanding of that is that a character (cannot remember its > actual value) to indicate the beginning of the equation is placed in > front of the math node content and another character for the end of > equation is placed after the math node content. > > Later on there is a line: > no math,mode,inline > > My question is what this actually means? What will be inserted if I have > an equation with MathML along the line of <math mode="inline">...</math> > will it just be the node content as normally done for the no action? > > Another question is how one can deal with multiple attributes being > given on one element, the documentation only discusses about specifying > one attribute and value pair in the second column. > > Another question is how one can use the value of a attribute? One such > example might be the rowspan attribute on the mtd element where the > value determines how many rows the cell will span. May be for the > rowspan example this might be dealt with differently as it would be used > internally in LibLouisUTDML to work out table formatting, but I am sure > there are other examples where the value may be a continuous range of > numeric values which might need to be used to determine output. > > Michael Whapples > For a description of the software, to download it and links to > project pages go to http://www.abilitiessoft.com -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com