[NTG-context] Re: Chemistry in LMTX

2023-10-03 Thread Henning Hraban Ramm
Am 03.10.23 um 02:06 schrieb Alan Braslau: On Sun, 1 Oct 2023 10:49:34 +0200 Henning Hraban Ramm wrote: chem-str.lua seems to be an updated version by Alan & Hans Did I miss something? work in progress ... i'm working on that (part of the math upgrade) so best wait till we're stable

[NTG-context] Re: Chemistry in LMTX

2023-10-02 Thread Alan Braslau via ntg-context
On Sun, 1 Oct 2023 10:49:34 +0200 Henning Hraban Ramm wrote: > >> chem-str.lua seems to be an updated version by Alan & Hans > >> > >> Did I miss something? > > > > work in progress ... i'm working on that (part of the math upgrade) > > so

[NTG-context] Re: Chemistry in LMTX

2023-10-01 Thread Henning Hraban Ramm
that there’s still some working code for chemistry, but it looks very broken. ppchtex.mkiv is apparently still code from 1996 (and can’t work, since neither PicTeX nor PStricks are supported in LMTX any more). chem-str.lua seems to be an updated version by Alan & Hans Did I miss somet

[NTG-context] Re: Chemistry in LMTX

2023-09-30 Thread Hans Hagen
for chemistry, but it looks very broken. ppchtex.mkiv is apparently still code from 1996 (and can’t work, since neither PicTeX nor PStricks are supported in LMTX any more). chem-str.lua seems to be an updated version by Alan & Hans Did I miss something? work in progress ... i'm wor

[NTG-context] Chemistry in LMTX

2023-09-30 Thread Henning Hraban Ramm
. ppchtex.mkiv is apparently still code from 1996 (and can’t work, since neither PicTeX nor PStricks are supported in LMTX any more). chem-str.lua seems to be an updated version by Alan & Hans Did I miss something? Hr

Re: [NTG-context] Nuclear reactions

2023-04-16 Thread Tomáš Hála via ntg-context
Hi Gavin, maybe you have solved your problem yet. \startformula {\null}^^{194}__{38}{\rm Sr} or {\hbox{Xe}}^^{140}__{54}. \stopformula Better, ConTeXt way could be the variation on \chem: \unexpanded\def\isotope#1#2#3{\dontleavehmode\begingroup\null\lohi[left]{#2}{#3}#1\endgroup} \isotope{Sr

[NTG-context] All Equations

2021-12-10 Thread Henning Hraban Ramm via ntg-context
1 or |, > or some angle bracket? ... of Chemistry: \startformula CH_4 + OH + HEAT \rightarrow H_2O + CH_2 + H_2EAT\stopformula % ? Should we something different for chem. formulae? ... of Quantum Gravity: \startformula SU(2)U(I) \times SU(U(2))\stopformula % It’s not even an equation... ... of

Re: [NTG-context] \startchemical

2015-08-21 Thread Hans Hagen
different (compatibility) but we can do this: in chem-str.mkiv: % \installsimplecommandhandler \??chemical {chemical} \??chemical % no \define... \installcommandhandler \??chemical {chemical} \??chemical % no \define... \let\setupchemicals \setupchemical \let\definechemicals\definechemical

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

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

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

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

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

[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

Re: [NTG-context] Broken Nightly Still

2011-12-29 Thread Hans Hagen
On 29-12-2011 04:09, Kip Warner wrote: Hey folks, Since I upgraded from the Nov 29th nightly to today's Dec 28th, my ! Undefined control sequence. argument \@cmstyle must be something older ... in chem-str.mkiv replace this: \unexpanded\def\dosetchemicaltext {\dousestyleparameter

Re: [NTG-context] Broken Nightly Still

2011-12-29 Thread Kip Warner
On Thu, 2011-12-29 at 09:49 +0100, Hans Hagen wrote: On 29-12-2011 04:09, Kip Warner wrote: Hey folks, Since I upgraded from the Nov 29th nightly to today's Dec 28th, my ! Undefined control sequence. argument \@cmstyle must be something older ... in chem-str.mkiv replace

Re: [NTG-context] More chemic module woes

2011-06-21 Thread Hans Hagen
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

Re: [NTG-context] More chemic module woes

2011-06-20 Thread Hans Hagen
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

Re: [NTG-context] More chemic module woes

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

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Hans Hagen
On 18-6-2011 7:29, Kip Warner wrote: Greetings, I am using ConTeXt head and I am having some issues with the chem module. I get the following error: Math error: parameter \Umathlimit_above_bgap\textstyle is not set ... My environment file specifies to import the Chemistry module: \usemodule

Re: [NTG-context] Problem with chem module

2011-06-18 Thread Kip Warner
On Sat, 2011-06-18 at 11:32 +0200, Hans Hagen wrote: minimal complete file needed as we need to see what is your font setup Hey Hans, The line containing the problematic chemical line is this one: \chemical{CO_2,PLUS,H_2,PLUS,GIVES,PLUS,O_2,PLUS,CO} The error is: ! Math error: parameter

[NTG-context] Problem with chem module

2011-06-17 Thread Kip Warner
Greetings, I am using ConTeXt head and I am having some issues with the chem module. I get the following error: Math error: parameter \Umathlimit_above_bgap\textstyle is not set ... My environment file specifies to import the Chemistry module: \usemodule[units,chemic] And the offending

Re: [NTG-context] new experimental

2009-02-13 Thread Yue Wang
\infty}\right| = AB \quad \text{where $A=\left|{C_{\rm I} / C_\infty}-1\right|$ and $B= \exp(k)$.} \stopformula \stoptext Yue Wang On Sat, Jan 31, 2009 at 12:28 AM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: After upgrading, \chem{CO_2} still gives me: ! Font \*palatino10ptmmmrrm* has

Re: [NTG-context] new experimental

2009-01-30 Thread Yue Wang
After upgrading, \chem{CO_2} still gives me: ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. to be read again \relax \dosetsubscript ... #1\string #2}{\the #1#2\relax }#1#2=\dimen 0\relax \dodosetsubscript

Re: [NTG-context] new experimental

2009-01-30 Thread Hans Hagen
Yue Wang wrote: After upgrading, \chem{CO_2} still gives me: ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. sure, you need to wait till mojca has synced both context and luatex

Re: [NTG-context] new experimental

2009-01-30 Thread Yue Wang
, 2009 at 12:28 AM, Hans Hagen pra...@wxs.nl wrote: Yue Wang wrote: After upgrading, \chem{CO_2} still gives me: ! Font \*palatino10ptmmmrrm* has only 7 fontdimen parameters. sure, you need to wait till mojca has synced both context and luatex

[NTG-context] PPCHTEX: Reaction troubles

2008-07-18 Thread per.maier
,+SB3,-SB4,Z4,SR4,RZ4][N,H] \stopchemical bsp; \startchemical \chemical[SPACE,GIVES,SPACE][?] \stopchemical \startchemical \chemical[SIX,B,EB6,R6,SUB4,FIVE,ROT4,B125,+SB3,-SB4,Z4][N] \stopchemical \startchemical \chemical[SPACE,PLUS,SPACE,CHEM][H_2O] \stopchemical }\end{document

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
} \Character{text} \character{text} \Characters{text} \characters{text} \chem{text}{text}{text} \clip[settings]{text} \clonefield[name][names][name][names] \color[text{text} \column # \commalistelement \comment[name][settings]{text} \comparecolorgroup[name] \comparepalet[name] \completecombinedlist[name

[NTG-context] XML compilation trouble

2007-03-22 Thread Johannes Graumann
(line 69) already loaded system : module newcml loaded (/usr/share/texmf/tex/context/base/x-newcml.tex loading : Context XML Macros (chem ml) ) xml : loading module ent (/usr/share/texmf/tex/context/base/xtag-ent.tex

Re: [NTG-context] small caps italic and font switching inside math

2006-06-28 Thread Aditya Mahajan
had. I have not looked into it, but doesn't one of context's chem module fit this need? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] small caps italic and font switching inside math

2006-06-28 Thread Taco Hoekwater
{\let~\low}% \catcode`\^=\active \uccode`\~=`\^ \uppercase{\let~\high}% \domolecule }% \def\domolecule#1{#1\egroup} I have not looked into it, but doesn't one of context's chem module fit this need? \usemodule[chemic] \let\molecule\chemical It only gets the size right

Re: [NTG-context] small caps italic and font switching inside math

2006-06-28 Thread Mojca Miklavec
one of context's chem module fit this need? \usemodule[chemic] \let\molecule\chemical It only gets the size right, not the boldnes. But it can be argued that that is the correct behaviour anyways. Not so long ago you argued that \alpha-sheet, \beta-helix, \gamma-rays, ... should

[NTG-context] Problem with altest release and newcml

2006-04-12 Thread Johannes Graumann
] \starttext Hello \stoptext I hit the following error: system : module newcml loaded (/home/balin/texmf/tex/context/base/x-newcml.tex loading : Context XML Macros (chem ml) ! Too many }'s. l.327 \let\stopchemical{} Can't find anything in '/home/balin/texmf/tex/context/base/x

Re: [NTG-context] Context Release 2006.04.12 is available

2006-04-12 Thread Hans Hagen
/context/base/x-newcml.tex loading : Context XML Macros (chem ml) ! Too many }'s. l.327 \let\stopchemical{} ? ah, that line should be \let\stopchemical\relax i never tested that since one needs to load the ppchtex module as well \usemodule[chemic] in which case

[NTG-context] on posters, again

2004-07-29 Thread Eros Albertazzi
Still struggling to get a poster with Context. Somehow I am puzzling why almost all my collegue who are accustumed to write with latex+revtex for chem-math-phys journals then turn to powerpoint to produce poster and/or presentation, although ConTeXt is the layout oriented alternative to the well