ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Broken chem module?
@ 2012-06-02 20:39 Kip Warner
  2012-06-06  8:22 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2012-06-02 20:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


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

Hey list,

The following minimal does not appear to typeset the reaction properly
in 2012.05.30.

\starttext
\placeformula[reaction:Sabatier Reaction]
\startformula
\inlinechemical{CO_2,+,4H_2,->,CH_4,+,2H_2O,+,heat}
\stopformula
\stoptext

But maybe I am not doing something right.

-- 
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] 6+ messages in thread

* Re: Broken chem module?
  2012-06-02 20:39 Broken chem module? Kip Warner
@ 2012-06-06  8:22 ` Hans Hagen
  2012-06-06 21:42   ` Kip Warner
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2012-06-06  8:22 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

On 2-6-2012 22:39, Kip Warner wrote:
> \starttext
> \placeformula[reaction:Sabatier Reaction]
> \startformula
> \inlinechemical{CO_2,+,4H_2,->,CH_4,+,2H_2O,+,heat}
> \stopformula
> \stoptext

fixed in next upload.

If you're in a hurry you can change this in chem-str.mkiv:

\unexpanded\def\chemicalsymbol[#1]%
 
{\csname\??chemicalsymbol\ifcsname\??chemicalsymbol#1\endcsname#1\else\s!unknown\fi\endcsname}

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] 6+ messages in thread

* Re: Broken chem module?
  2012-06-06  8:22 ` Hans Hagen
@ 2012-06-06 21:42   ` Kip Warner
  2012-06-06 21:49     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2012-06-06 21:42 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


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

On Wed, 2012-06-06 at 10:22 +0200, Hans Hagen wrote:
> fixed in next upload.
> 
> If you're in a hurry you can change this in chem-str.mkiv:
> 
> \unexpanded\def\chemicalsymbol[#1]%
>  
> {\csname\??chemicalsymbol\ifcsname\??chemicalsymbol#1\endcsname#1\else\s!unknown\fi\endcsname}
> 
> Hans

Thanks Hans, but it did not seem to change anything. This is what line
93-94 of chem-str.mkiv looks like after I edited it:

\unexpanded\def\chemicalsymbol[#1]%
  {\csname\??chemicalsymbol\ifcsname\??chemicalsymbol#1\endcsname#1\else
\s!unknown\fi\endcsname}

The deb I am using is for ConTeXt 2012.06.05 17:36.

-- 
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] 6+ messages in thread

* Re: Broken chem module?
  2012-06-06 21:42   ` Kip Warner
@ 2012-06-06 21:49     ` Hans Hagen
  2012-06-06 21:54       ` Kip Warner
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2012-06-06 21:49 UTC (permalink / raw)
  To: Kip Warner; +Cc: mailing list for ConTeXt users

On 6-6-2012 23:42, Kip Warner wrote:
> On Wed, 2012-06-06 at 10:22 +0200, Hans Hagen wrote:
>> fixed in next upload.
>>
>> If you're in a hurry you can change this in chem-str.mkiv:
>>
>> \unexpanded\def\chemicalsymbol[#1]%
>>
>> {\csname\??chemicalsymbol\ifcsname\??chemicalsymbol#1\endcsname#1\else\s!unknown\fi\endcsname}
>>
>> Hans
>
> Thanks Hans, but it did not seem to change anything. This is what line
> 93-94 of chem-str.mkiv looks like after I edited it:
>
> \unexpanded\def\chemicalsymbol[#1]%
>    {\csname\??chemicalsymbol\ifcsname\??chemicalsymbol#1\endcsname#1\else
> \s!unknown\fi\endcsname}
>
> The deb I am using is for ConTeXt 2012.06.05 17:36.

i uploaded a beta so the garden version should work ok

-----------------------------------------------------------------
                                           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] 6+ messages in thread

* Re: Broken chem module?
  2012-06-06 21:49     ` Hans Hagen
@ 2012-06-06 21:54       ` Kip Warner
  2012-06-06 23:15         ` Mojca Miklavec
  0 siblings, 1 reply; 6+ messages in thread
From: Kip Warner @ 2012-06-06 21:54 UTC (permalink / raw)
  To: Hans Hagen; +Cc: mailing list for ConTeXt users


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

On Wed, 2012-06-06 at 23:49 +0200, Hans Hagen wrote:
> i uploaded a beta so the garden version should work ok

Maybe I could just download your copy of the chem-str.mkiv to replace my
own. Do you have a direct link to the revision you just uploaded so that
I can give it a test?

-- 
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] 6+ messages in thread

* Re: Broken chem module?
  2012-06-06 21:54       ` Kip Warner
@ 2012-06-06 23:15         ` Mojca Miklavec
  0 siblings, 0 replies; 6+ messages in thread
From: Mojca Miklavec @ 2012-06-06 23:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Jun 6, 2012 at 11:54 PM, Kip Warner wrote:
> On Wed, 2012-06-06 at 23:49 +0200, Hans Hagen wrote:
>> i uploaded a beta so the garden version should work ok
>
> Maybe I could just download your copy of the chem-str.mkiv to replace my
> own. Do you have a direct link to the revision you just uploaded so that
> I can give it a test?

The whole zip is on
    http://www.pragma-ade.com/context/beta/cont-tmf.zip
The extracted version is on
    http://minimals.contextgarden.net/current/context/beta/
also available via rsync
    rsync://contextgarden.net/minimals/current/context/beta/
and there is also a git repository
    http://gitorious.org/context
    git://gitorious.org/context/context.git

Pick any.

Mojca
___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2012-06-06 23:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-02 20:39 Broken chem module? Kip Warner
2012-06-06  8:22 ` Hans Hagen
2012-06-06 21:42   ` Kip Warner
2012-06-06 21:49     ` Hans Hagen
2012-06-06 21:54       ` Kip Warner
2012-06-06 23:15         ` Mojca Miklavec

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