On Wed, Feb 25, 2009 at 09:23, Hans Hagen wrote:
Alan BRASLAU wrote:
I confirm that this now works using the current --context=alpha
\enableregime[utf]
mkiv is utf by default -)
(But is still necessary to remain compatible with mkii)
the \alpha shows up, the α not (not sure why)
you need the mathematical alpha
\startTEXpage \startchemical[width=fit,height=fit]
\chemical[ONE,Z0,MOV1,SB5,Z0][C_{\alpha},C_{\utfchar{"1D6FC}}] \stopchemical \stopTEXpage
OK, I see that TeX input is to be retained...
However, note that $K_α$ works, so there must be some confusion in interpreting unicode characters in the macros.
ppchtex uses an upright and there is no alpha in the base lm font
if you use
\usetypescript[cambria]\setupbodyfont[cambria]
you will get the right alpha
Hans, maybe italic (mathematical) alpha should be a fallback for normal alpha in LM. Personally, I have always been satisfied with italic alpha for labeling C atoms or alpha chains of proteins. So it should also be OK (not to say preferrable) to use "mathematical greek" inside chemistry formulae. Mojca