Re: [NTG-context] [ppchtex] \normalifx: Undefined control sequence
Le jeudi 22/04/10 à 13h41,
Hans Hagen
can you download the cont-tmf.zip file and unzip it in the texmd-dist root?
It works! Well almost: no compilation trouble, but an empty page with the following MCE: \documentclass{article} \usepackage{etex,m-pictex,m-ch-en} \begin{document} \startchemical \chemical{2H_2,PLUS,O_2,GIVES,2H_2O} \stopchemical \end{document} Thanks! -- Denis
On 22-4-2010 3:30, Denis Bitouzé wrote:
Le jeudi 22/04/10 à 15h21, Denis Bitouzé
a écrit : no compilation trouble
Sorry, no error but the following message in the .log file:
ppchtex : the {}{}-alternative is not permitted here
so use the [][] variant instead ({}{} is for inline) -- ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Le jeudi 22/04/10 à 16h42,
Hans Hagen
so use the [][] variant instead ({}{} is for inline)
OK, that's better :) But the following MCE: \documentclass{article} \usepackage{etex,m-pictex,m-ch-en} \begin{document} \startchemical \chemical[2H_2,PLUS,O_2,GIVES,2H_2O] \stopchemical \end{document} leads to the messages: ppchtex : unknown chemical definition 2H_2 ppchtex : unknown chemical definition O_2 ppchtex : unknown chemical definition 2H_2O and, indeed, only the "+" sign and the arrow are printed. Thanks. -- Denis
Le jeudi 22/04/10 à 16h51,
Denis Bitouzé
But the following MCE:
\documentclass{article} \usepackage{etex,m-pictex,m-ch-en} \begin{document} \startchemical \chemical[2H_2,PLUS,O_2,GIVES,2H_2O] \stopchemical \end{document}
leads to the messages: [...]
Well, the following one: \documentclass{article} \usepackage{etex,m-pictex,m-ch-en} \begin{document} \chemical{2H_2,PLUS,O_2,GIVES,2H_2O} \end{document} is actually OK! What is strange is that ppchtex \chemical formulas used to be inserted between \startchemical and \stopchemical... Moreover, the following: \documentclass{article} \usepackage{etex,m-pictex,m-ch-en} \begin{document} \startchemical \chemical[SIX,B,R,RZ][1,2,3,4,5,6] \stopchemical \end{document} works only with \startchemical and \stopchemical. Are those changes: 1. {}{} rather than [][], 2. pair \startchemical, \stopchemical or not, 3. etc. documented somewhere? Thanks. -- Denis
On 22-4-2010 7:09, Denis Bitouzé wrote:
Are those changes:
1. {}{} rather than [][],
2. pair \startchemical, \stopchemical or not,
3. etc.
documented somewhere?
sure, in the ppchtex manual; indeed {}{} is used inline (in math mode or not) and [][] between start/stop pairs 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 22-4-2010 7:09, Denis Bitouzé wrote:
Are those changes:
1. {}{} rather than [][],
2. pair \startchemical, \stopchemical or not,
3. etc.
btw, in mkiv ppchtex is reimplemented; it still has some flaws but it has more room for extensions and is now part of the context mkiv kernel 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 -----------------------------------------------------------------
Le jeudi 22/04/10 à 23h32,
Hans Hagen
btw, in mkiv ppchtex is reimplemented; it still has some flaws but it has more room for extensions and is now part of the context mkiv kernel
As I'm not using ConTeXt for the moment (but it may change! :), what are the consequences of this for a LaTeX user? Thanks! -- Denis
On 23-4-2010 7:37, Denis Bitouzé wrote:
Le jeudi 22/04/10 à 23h32, Hans Hagen
a écrit : btw, in mkiv ppchtex is reimplemented; it still has some flaws but it has more room for extensions and is now part of the context mkiv kernel
As I'm not using ConTeXt for the moment (but it may change! :), what are the consequences of this for a LaTeX user?
we have context mkii and context mkiv; the new ppchtex module is for mkiv and uses a combination of lua, tex and mp; as context and latex are quite different (and even more when you consider mkiv) the new ppchtex code targets at context 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 -----------------------------------------------------------------
Le vendredi 23/04/10 à 09h34,
Hans Hagen
we have context mkii and context mkiv; the new ppchtex module is for mkiv and uses a combination of lua, tex and mp; as context and latex are quite different (and even more when you consider mkiv) the new ppchtex code targets at context
Too bad... but I can understand... Thanks! -- Denis
participants (2)
-
Denis Bitouzé
-
Hans Hagen