Hi all, I found what I suppose to be a bug with the \chemical command: - when one use \chemical inside display math, the spacing is wrong around the \chemical stuff. The font change inside \chemical also persists outside the command. - if one enclose the \chemical command into curly braces, the font problem do not appear but the spaces are still wrong. - if one put the \chemical command inside a \text{} command, ConTeXt stops with an error. These problems do not occur in inline math.
Here is a minimal example: %% START \starttext Chemical within inline math: \m{M(\chemical{CO_2})} or \m{M(\text{\chemical{CO_2}})}. This works fine. Chemical in display math: \startformula M(\chemical{CO_2}) \stopformula gives some strange spacing and seems to modify the font outside \tex{chemical}. Chemical in display math: \startformula M({\chemical{CO_2}}) \stopformula corrects the font problem but still gives some strange spacing. %Chemical inside \text in display math: \startformula %M(\text{\chemical{CO_2}}) \stopformula gives an error. \stoptext %% END Anyone has an idea to solve this? Thanks in advance. -- Romain Diss <romain.d...@yahoo.fr> ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________