//>>built
define("dojox/drawing/util/typeset",["../library/greek"],function(b){return{convertHTML:function(c){return c?c.replace(/&([^;]+);/g,function(d,a){if("#"==a.charAt(0)){var e=+a.substr(1);if(!isNaN(e))return String.fromCharCode(e)}else if(b[a])return String.fromCharCode(b[a]);return d}):c},convertLaTeX:function(c){return c?c.replace(/\\([a-zA-Z]+)/g,function(d,a){if(b[a])return String.fromCharCode(b[a]);if("mu"==a.substr(0,2))return String.fromCharCode(b.mu)+a.substr(2);if("theta"==a.substr(0,5))return String.fromCharCode(b.theta)+
a.substr(5);if("phi"==a.substr(0,3))return String.fromCharCode(b.phi)+a.substr(3)}).replace(/\\\\/g,"\\"):c}}});