![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Hello, While trying to convert some stuff from HTML to PDF (using LuaTeX) I have noticed some minor problems: unicode math characters work OK in text mode (under assumption that the font has them), but not in math mode. In pdfTeX they work OK in both cases. (That behaviour is expected, but not necessary desired.) Is there any cure to it? % in LM, most characters are not present in otf fonts, so with LM this wouldn't work at all. Iwona is slightly better in that respect. \beginOLDTEX \enableregime[utf-8] \usetypescript[iwona][ec] \endOLDTEX \beginNEWTEX \usetypescript[iwona] \endNEWTEX \setupbodyfont[iwona] \def\testA{(φ)} % 03c6 \def\testB{(・)} % 00b7 \def\testC{(≤)} % 2264 \starttext \testA\testB\testC\crlf $\testA\testB\testC$ \stoptext I could/should solve the problem with better handling of xml entities or with fallbacks (if φ is not present in font, use \phi etc.), but I don't know how to do either of them. I would normally say something like \chardef`φ=\active \defφ{\phi} to solve the problem, but that doesn't work when doing XML conversion. Thanks, Mojca