Dear Hans and All, On Tue, 21 Jul 2009, Hans Hagen wrote:
Superscript works well, but not the subscript:
\starttext x³ x₃ \stoptext Unicode sub/superscripts aren't real sub/superscripts, and there use is discouraged. Most fonts will align those subscript glyphs to the base line not bellow it, and apparently LM fonts don't have them.
In MKIV one could theoretically fix the (virtual) font with subscript three containing "\sub{3}" *** or "lowered superscript 3" :)
it's also font dependent and we would en dup with fallback mess etc etc
if the font has the glyph, you can use the unicode char, bu tit is unlikely that there will be a mapping mechanism
What about an analog of "ucs" LaTeX package, when Unicode math subscripts (and other symbols) in TeX file are replaced by "\sub{3}" etc., regardless of the font used for typesetting? It will give WYSIWYG-like appearance of the input file on the screen in the editor using Unicode font and will not bring the mess deep into ConTeXt? Is such thing doable? (Not making a set of mappings for presonal use, but proper package for public consumption?) Sincerely, Michail