Re: [NTG-context] Broken chem module?

2012-06-06 Thread Hans Hagen

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
___


Re: [NTG-context] Broken chem module?

2012-06-06 Thread Kip Warner
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


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Broken chem module?

2012-06-06 Thread Hans Hagen

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
___


Re: [NTG-context] Broken chem module?

2012-06-06 Thread Kip Warner
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


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Broken chem module?

2012-06-06 Thread Mojca Miklavec
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
___


[NTG-context] Broken chem module?

2012-06-02 Thread Kip Warner
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


signature.asc
Description: This is a digitally signed message part
___
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
___