Philipp A. wrote:
hi, context in combination with luatex is quite the way to go for me, but i have one thing that i would love to see inside context: unicode-mathhttp://github.com/wspr/unicode-math! the guys there are making a good job of mapping tons of unicode sequences to latex commands, so we should really profit from this project.
is it possible to integrate it into context or to create a package for this purpose? i would love to write $y = x² ± 2µ ⇒ y ≠ √{α ⁄ 5}$, while still being able to write $y = x^2 \pm 2\mu \Rightarrow y \neq \frac{α \over 5}$ or any combination of the two.
Most of the tedious work is already there: your test above actually renders something, because the unicode math characters in context mkiv are all (or at least almost all) defined to render themselves as math glyphs. What is missing is the mapping of the special constructs like √{a⁄b} -> \frac{a}{b} so if you can extract a list of those from the unicode-math project, it would be pretty straightforward to add support for this kind of input, I think. Best wishes, Taco