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. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
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 -----------------------------------------------------------------
On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote:
chemical support is not includes so best not load the chem module
Hey Hans, Sorry, I don't follow. Do you mean chemical support is included by default and you don't need to explicitly load the module? Are you saying that the "chemic" module is deprecated? Or something else?
\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
Ok, I replaced \chemical with \inlinechemical in my code, along with replacing the GIVES with + signs and it came up working. Thank you for your help. =) -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 21-6-2011 4:30, Kip Warner wrote:
On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote:
chemical support is not includes so best not load the chem module
Hey Hans,
Sorry, I don't follow. Do you mean chemical support is included by default and you don't need to explicitly load the module? Are you saying that the "chemic" module is deprecated? Or something else?
indeed, in mkiv it is .. most code has been reimplemented some of the code (esp arrow related) is work in progress and awaiting some luatex extensions (saved hacking) that make spacing easier 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 -----------------------------------------------------------------
On Tue, 2011-06-21 at 10:48 +0200, Hans Hagen wrote:
indeed, in mkiv it is .. most code has been reimplemented
some of the code (esp arrow related) is work in progress and awaiting some luatex extensions (saved hacking) that make spacing easier
Hans
So it is deprecated and to be replaced with some other currently experimental module? -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 21-6-2011 7:47, Kip Warner wrote:
On Tue, 2011-06-21 at 10:48 +0200, Hans Hagen wrote:
indeed, in mkiv it is .. most code has been reimplemented
some of the code (esp arrow related) is work in progress and awaiting some luatex extensions (saved hacking) that make spacing easier
Hans
So it is deprecated and to be replaced with some other currently experimental module?
it's more like 'integrated' .. always present .. core stuff 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 -----------------------------------------------------------------
On Tue, 2011-06-21 at 20:16 +0200, Hans Hagen wrote:
it's more like 'integrated' .. always present .. core stuff
Hans
Understood. Thank you. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
participants (2)
-
Hans Hagen
-
Kip Warner