ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* More chemic module woes
@ 2011-06-19  0:25 Kip Warner
  2011-06-20 18:03 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Kip Warner @ 2011-06-19  0:25 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 764 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More chemic module woes
  2011-06-19  0:25 More chemic module woes Kip Warner
@ 2011-06-20 18:03 ` Hans Hagen
  2011-06-21  2:30   ` Kip Warner
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-06-20 18:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Kip Warner

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More chemic module woes
  2011-06-20 18:03 ` Hans Hagen
@ 2011-06-21  2:30   ` Kip Warner
  2011-06-21  8:48     ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Kip Warner @ 2011-06-21  2:30 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1095 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More chemic module woes
  2011-06-21  2:30   ` Kip Warner
@ 2011-06-21  8:48     ` Hans Hagen
  2011-06-21 17:47       ` Kip Warner
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-06-21  8:48 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More chemic module woes
  2011-06-21  8:48     ` Hans Hagen
@ 2011-06-21 17:47       ` Kip Warner
  2011-06-21 18:16         ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Kip Warner @ 2011-06-21 17:47 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 470 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More chemic module woes
  2011-06-21 17:47       ` Kip Warner
@ 2011-06-21 18:16         ` Hans Hagen
  2011-06-21 18:19           ` Kip Warner
  0 siblings, 1 reply; 7+ messages in thread
From: Hans Hagen @ 2011-06-21 18:16 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: More chemic module woes
  2011-06-21 18:16         ` Hans Hagen
@ 2011-06-21 18:19           ` Kip Warner
  0 siblings, 0 replies; 7+ messages in thread
From: Kip Warner @ 2011-06-21 18:19 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 264 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-21 18:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-19  0:25 More chemic module woes Kip Warner
2011-06-20 18:03 ` Hans Hagen
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

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).