ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Kip Warner <kip@thevertigo.com>
Subject: Re: More chemic module woes
Date: Mon, 20 Jun 2011 20:03:42 +0200	[thread overview]
Message-ID: <4DFF8B7E.7020703@wxs.nl> (raw)
In-Reply-To: <1308443114.2702.31.camel@kip-laptop>

On 19-6-2011 2:25, Kip Warner wrote:
> Hey list,
>
> I am running ConTeXt version 2011.06.17 16:50 pulled from Adam's PPA.
>
>  From the Chemistry wiki article here,
> http://wiki.contextgarden.net/Chemistry
>
> , I am attempted to compile the water reaction example here:
> \usemodule[chemic]
> \startformula
>   \chemical{2H_2,+,O_2,->,2H_2O}
> \stopformula
>
> The image following it on the wiki looks as one would expect, but mine
> does not. I compiled the same code, but bracketed with \startstoptext
> and my generated PDF contains literally the following:
>
> 2H 2,+,O 2,–>,2H 2O
>
> Something's not right. Any ideas? I have tried it both with and without
> the texlive-math-extra package installed.

chemical support is not includes so best not load the chem module

\chemical{2H_2,+,O_2,->,2H_2O}

\startformula
     \chemical{2H_2}{}{}
\stopformula

\startformula
     \inlinechemical{2H_2,+,O_2,->,2H_2O}
\stopformula

\startchemicalformula
     \chemical{S}
     \chemical{+}
     \chemical{O_2}
     \chemical{GIVES}{violent}
     \chemical{\+{4}{S}\-{2}{O_2}}
\stopchemicalformula

the last case is bugged (i'll look into it, probably some interference 
with recent math)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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	other threads:[~2011-06-20 18:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-19  0:25 Kip Warner
2011-06-20 18:03 ` Hans Hagen [this message]
2011-06-21  2:30   ` Kip Warner
2011-06-21  8:48     ` Hans Hagen
2011-06-21 17:47       ` Kip Warner
2011-06-21 18:16         ` Hans Hagen
2011-06-21 18:19           ` Kip Warner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DFF8B7E.7020703@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=kip@thevertigo.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).