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