Frequently Asked Question

I get this error but cannot sort it out...

You might want to try to use QMath directly on what OQMath gives it. In a java-aware running, the system-property oqmath.debug.qmathinput should be set to a filename where OQMath will write the file before giving it to QMath.

How do I make a dollar sign ?

XML should help you there... Try inputting $. OQMath is purely textual so it will not consider this entity as a character.

What if I want to apply symbol f' (encoded as a symbol) to a point p ? You may need the oqmath/apply symbol: it takes two arguments and outputs (if output through OQMath) the application of this symbol to its second parameter. Thus, the following would be useful:

        <?QMath Symbol: apply APPLICATION "oqmath:map-application" ?>
        This should be f applied to x $apply(f,x)$.<br/>

I have input $5.4$ but the output is $5.3999999$... isn't this ridiculous? We did not manage to sort-out wether this was or not a correct behaviour of QMath which stores the floats internally. In case, though you might be violating the floats specification, you may want to use the float-from-string symbol as follows:

  
        <?QMath Symbol: float APPLICATION "oqmath:float-from-string" ?>
        This should be exactly the float 5.4: $float("5.4")$

I'd like to insert an ID inside an OpenMath formula... but there's no XML there anymore! Use the id symbol as follows:

        <?QMath Symbol: id APPLICATION "oqmath:id" ?>
        The term 2+3 in the middle should have an id: $1+id("blurp",2+3)$.<br/>