2012-10-02 Alan BRASLAU <alan.bras...@cea.fr>:

Hi Alan

> > chemical structures and reactions produce wrong results. Here is one
> > example from the wiki and two from the manual.
> > 
> > […]
> > 
> \startchemicalformula
> not
> \startformula
> 
> \startchemicalformula
>         \chemical{2H_2}
>         \chemical{PLUS}
>         \chemical{O_2}
>         \chemical{GIVES}
>         \chemical{2H_2O}
> \stopchemicalformula

The spacing is still wrong. Compare:

\starttext
  \chemical{2H_2,+,O_2,->,2H_2O}\blank
  \startchemicalformula
    \chemical{2H_2}
    \chemical{PLUS}
    \chemical{O_2}
    \chemical{GIVES}
    \chemical{2H_2O}
  \stopchemicalformula
\stoptext

How to mid-align the reaction? Wrapping the \startchemicalformula in
\startformula works, but it's clumsy.

> Also, the shorthand "+" for "PLUS", "->" for "GIVES", etc.
> seems to be interpreted only inline, not in displayed chemical formula
> mode.
> 
> 
> I am working (with Hans) to correct the mkiv chemical code,
> which has been completely re-written (from ppchTeX macros).
> Also working on a new manual, at the same time...

That's brilliant!


Marco

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to