* ppchTeX
@ 2016-07-06 16:23 Henri Menke
2016-07-07 18:26 ` ppchTeX Alan BRASLAU
0 siblings, 1 reply; 11+ messages in thread
From: Henri Menke @ 2016-07-06 16:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: text/plain, Size: 792 bytes --]
Dear list,
I just wanted to check whether chemical structures typeset in ConTeXt
can be exported as XML. Therefore I wanted to setup a simple example
with ppchTeX. I copied example 3.1 from the manual [1]
> \usemodule[chemic]
> \starttext
>
> \startchemical[height=4500,bottom=2500]
> \bottext{$\beta$-D-Fructopyranose}
> \chemical[SIX,FRONT,BB1236,+SB4,-SB5,Z5][O]
> \chemical[SIX,FRONT,+R12346,+RZ12346][\SR{HO},H,H,H,OH]
> \chemical[SIX,FRONT,-R12346,-RZ12346][H,OH,\SR{HO},H,CH_2OH]
> \stopchemical
>
> \stoptext
Unfortunately, typesetting with MkIV distributed with TL 2016 produces
something really weird (see attached).
Is the module `chemic` compatible with MkIV or am I doing something wrong?
Cheers,
Henri
[1] http://www.pragma-ade.nl/general/manuals/mp-ch-en.pdf
[-- Attachment #2: test.pdf --]
[-- Type: application/pdf, Size: 12698 bytes --]
[-- Attachment #3: 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] 11+ messages in thread
* Re: ppchTeX
2016-07-06 16:23 ppchTeX Henri Menke
@ 2016-07-07 18:26 ` Alan BRASLAU
2016-07-09 10:02 ` ppchTeX Henri Menke
0 siblings, 1 reply; 11+ messages in thread
From: Alan BRASLAU @ 2016-07-07 18:26 UTC (permalink / raw)
To: Henri Menke; +Cc: mailing list for ConTeXt users
On Wed, 6 Jul 2016 18:23:57 +0200
Henri Menke <henrimenke@gmail.com> wrote:
> Dear list,
>
> I just wanted to check whether chemical structures typeset in ConTeXt
> can be exported as XML. Therefore I wanted to setup a simple example
> with ppchTeX. I copied example 3.1 from the manual [1]
>
> > \usemodule[chemic]
> > \starttext
> >
> > \startchemical[height=4500,bottom=2500]
> > \bottext{$\beta$-D-Fructopyranose}
> > \chemical[SIX,FRONT,BB1236,+SB4,-SB5,Z5][O]
> > \chemical[SIX,FRONT,+R12346,+RZ12346][\SR{HO},H,H,H,OH]
> > \chemical[SIX,FRONT,-R12346,-RZ12346][H,OH,\SR{HO},H,CH_2OH]
> > \stopchemical
> >
> > \stoptext
>
> Unfortunately, typesetting with MkIV distributed with TL 2016 produces
> something really weird (see attached).
>
> Is the module `chemic` compatible with MkIV or am I doing something
> wrong?
>
> Cheers,
> Henri
>
> [1] http://www.pragma-ade.nl/general/manuals/mp-ch-en.pdf
\usemodule[chemic] is MKII. It has been replace with core MKIV commands.
The syntax has been somewhat rationalized and many bugs corrected.
The example can be reproduced as follows:
\starttext
\startchemical [height=4500,bottom=2500]
\bottext{$\beta$-D-Fructopyranose}
\chemical[SIXFRONT,BB123,B4,+SB5,-SB6,Z6] [O]
\chemical[+LR12345,LRZ12345] [OH,\SR{HO},H,H,H]
\chemical[+RR12345,RRZ12345] [CH_2OH,H,\SL{OH},\SR{HO},H]
\stopchemical
\stoptext
Unfortunately, the revised manual still has some errors that I need to
fix...
Alan
___________________________________________________________________________________
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] 11+ messages in thread
* Re: ppchTeX
2016-07-07 18:26 ` ppchTeX Alan BRASLAU
@ 2016-07-09 10:02 ` Henri Menke
0 siblings, 0 replies; 11+ messages in thread
From: Henri Menke @ 2016-07-09 10:02 UTC (permalink / raw)
To: Alan BRASLAU; +Cc: mailing list for ConTeXt users
Dear Alan,
thanks a lot for fixed code. Could you point out where to find the
updated manual for MkIV?
Cheers,
Henri
On 07/07/2016 08:26 PM, Alan BRASLAU wrote:
> On Wed, 6 Jul 2016 18:23:57 +0200
> Henri Menke <henrimenke@gmail.com> wrote:
>
>> Dear list,
>>
>> I just wanted to check whether chemical structures typeset in ConTeXt
>> can be exported as XML. Therefore I wanted to setup a simple example
>> with ppchTeX. I copied example 3.1 from the manual [1]
>>
>>> \usemodule[chemic]
>>> \starttext
>>>
>>> \startchemical[height=4500,bottom=2500]
>>> \bottext{$\beta$-D-Fructopyranose}
>>> \chemical[SIX,FRONT,BB1236,+SB4,-SB5,Z5][O]
>>> \chemical[SIX,FRONT,+R12346,+RZ12346][\SR{HO},H,H,H,OH]
>>> \chemical[SIX,FRONT,-R12346,-RZ12346][H,OH,\SR{HO},H,CH_2OH]
>>> \stopchemical
>>>
>>> \stoptext
>>
>> Unfortunately, typesetting with MkIV distributed with TL 2016 produces
>> something really weird (see attached).
>>
>> Is the module `chemic` compatible with MkIV or am I doing something
>> wrong?
>>
>> Cheers,
>> Henri
>>
>> [1] http://www.pragma-ade.nl/general/manuals/mp-ch-en.pdf
>
>
> \usemodule[chemic] is MKII. It has been replace with core MKIV commands.
>
> The syntax has been somewhat rationalized and many bugs corrected.
>
> The example can be reproduced as follows:
>
>
> \starttext
>
> \startchemical [height=4500,bottom=2500]
> \bottext{$\beta$-D-Fructopyranose}
> \chemical[SIXFRONT,BB123,B4,+SB5,-SB6,Z6] [O]
> \chemical[+LR12345,LRZ12345] [OH,\SR{HO},H,H,H]
> \chemical[+RR12345,RRZ12345] [CH_2OH,H,\SL{OH},\SR{HO},H]
> \stopchemical
>
> \stoptext
>
>
>
> Unfortunately, the revised manual still has some errors that I need to
> fix...
>
> Alan
>
___________________________________________________________________________________
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] 11+ messages in thread
* ppchtex
@ 2005-03-15 17:38 Johannes Werner
2005-03-15 18:17 ` ppchtex Hans Hagen
0 siblings, 1 reply; 11+ messages in thread
From: Johannes Werner @ 2005-03-15 17:38 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 567 bytes --]
hi everyone,
i want to use PPCHTEX. when i process my .tex-file with texexec i get
the message:
.....
specials : fdf loaded
)
specials : fdf,tpd loaded
\openout6 = `chemie-mpgraph.mp'.
Randomizer initialized to 1275417501. [MP to PDF]
(./chemie-mpgraph.4000))
*
and the program stops and waits for a command. when i type \end it
continues. this happens again and then i have my target file.
what wants the system tell me? why does it stop?. it's irksome, to type
in a command for nothing. when i process with latex everything is ok.
[-- Attachment #2: chemie.log --]
[-- Type: text/plain, Size: 3474 bytes --]
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2005.2.23) 15 MAR 2005 18:08
entering extended mode
**&cont-en chemie.tex
(./chemie.tex{/usr/share/texmf/pdftex/config/pdftex.cfg
Warning: pdfetex (file /usr/share/texmf/pdftex/config/pdftex.cfg): expected num
ber in ^^J returning 10
}
ConTeXt ver: 2003.1.31 fmt: 2005.2.23 int: english mes: english
language : language en is active
<protectionstate 0>
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(/usr/share/texmf/tex/context/base/cont-sys.tex
symbols : loading symbolset nav
(/usr/share/texmf/tex/context/base/symb-nav.tex
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
)
symbols : loading symbolset mvs
(/usr/share/texmf/tex/context/base/symb-mvs.tex
encoding : coding default
))
bodyfont : 12pt rm is loaded
language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
8:2-nl-2 loaded
specials : tex,postscript,rokicki loaded
\openout2 = `chemie.tui'.
system : chemie.top loaded
(./chemie.top)
\openout0 = `chemie-mpgraph.mp'.
\openout0 = `chemie-mprun.mp'.
\openout0 = `mpgraph.mp'.
\openout0 = `mprun.mp'.
system : macros of module pictex loaded
(/usr/share/texmf/tex/context/base/m-pictex.tex
(/usr/share/texmf/tex/generic/pictex/pictex.tex))
system : macros of module chemie loaded
(/usr/share/texmf/tex/context/base/m-chemic.tex
(/usr/share/texmf/tex/context/base/ppchtex.tex
ppchtex : using PiCTeX and MetaPost
))
specials : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
system (E-TEX) : [line 1815] \ifcsname
<unprotect 4> <protect 4> <protect 3>)
specials : fdf loaded
)
specials : fdf,tpd loaded
\openout6 = `chemie-mpgraph.mp'.
Randomizer initialized to 1275417501. [MP to PDF] (./chemie-mpgraph.4000))
*\end
(./chemie.tuo) [1.1{/usr/share/texmf/dvips/config/pdftex.map}{/usr/share/texmf/
dvips/config/context.map
Warning: pdfetex (file /usr/share/texmf/dvips/config/context.map): entry for `c
ontnav' already exists, duplicates ignored
}]
systems : end file chemie at line 0
[flush and process chemie-mpgraph.mp afterwards]
Here is how much of TeX's memory you used:
1875 strings out of 68091
26307 string characters out of 753759
4453238 words of memory out of 5569124
31612 multiletter control sequences out of 10000+50000
10565 words of font info for 35 fonts, out of 500000 for 1000
62 hyphenation exceptions out of 1000
43i,16n,48p,313b,587s stack positions out of 1500i,500n,5000p,200000b,5000s
10 PDF objects out of 300000
0 named destinations out of 131072
0 words of extra memory for PDF output out of 65536
</usr/share/texmf/fonts/type1/b
luesky/cm/cmr9.pfb></usr/share/texmf/fonts/type1/bluesky/cm/cmr12.pfb>
Output written on chemie.pdf (1 page, 5873 bytes).
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ppchtex
2005-03-15 17:38 ppchtex Johannes Werner
@ 2005-03-15 18:17 ` Hans Hagen
2005-03-15 19:28 ` ppchtex Johannes Werner
0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2005-03-15 18:17 UTC (permalink / raw)
Johannes Werner wrote:
> hi everyone,
> i want to use PPCHTEX. when i process my .tex-file with texexec i get
> the message:
> .....
> specials : fdf loaded
> )
> specials : fdf,tpd loaded
> \openout6 = `chemie-mpgraph.mp'.
> Randomizer initialized to 1275417501. [MP to PDF]
> (./chemie-mpgraph.4000))
> *
>
> and the program stops and waits for a command. when i type \end it
> continues. this happens again and then i have my target file.
> what wants the system tell me? why does it stop?. it's irksome, to type
> in a command for nothing. when i process with latex everything is ok.
how does your smallest test file that does thsi look like?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ppchtex
2005-03-15 18:17 ` ppchtex Hans Hagen
@ 2005-03-15 19:28 ` Johannes Werner
2005-03-15 21:51 ` ppchtex Willi Egger
2005-03-16 8:40 ` ppchtex Hans Hagen
0 siblings, 2 replies; 11+ messages in thread
From: Johannes Werner @ 2005-03-15 19:28 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1309 bytes --]
Hans Hagen wrote:
> Johannes Werner wrote:
>
>> hi everyone,
>> i want to use PPCHTEX. when i process my .tex-file with texexec i get
>> the message:
>> .....
>> specials : fdf loaded
>> )
>> specials : fdf,tpd loaded
>> \openout6 = `chemie-mpgraph.mp'.
>> Randomizer initialized to 1275417501. [MP to PDF]
>> (./chemie-mpgraph.4000))
>> *
>>
>> and the program stops and waits for a command. when i type \end it
>> continues. this happens again and then i have my target file.
>> what wants the system tell me? why does it stop?. it's irksome, to
>> type in a command for nothing. when i process with latex everything
>> is ok.
>
>
> how does your smallest test file that does thsi look like?
>
> Hans
the testfile was:
\enableregime[utf]
\usemodule[pictex,chemie]
\setupoutput[pdf]
%\setupchemical[axis=on, frames=on]
\par Substituent A
\startchemical
\chemical[ONE,SB4,SB6,Z0][O]
\stopchemical
with a file, which is a little bit bigger i get the following (an no
output is generated):
Randomizer initialized to 1431757445. [MP chemie-bigger-mpgraph.4000]
[MP chemie-bigger-mpgraph.3999] [MP chemie-bigger-mpgraph.3998]
[MP chemie-bigger-mpgraph.3997] [MP chemie-bigger-mpgraph.3996]
[MP chemie-bigger-mpgraph.3995])
*
[-- Attachment #2: chemie-bigger.tex --]
[-- Type: application/x-tex, Size: 565 bytes --]
[-- Attachment #3: chemie-bigger.log --]
[-- Type: text/plain, Size: 3633 bytes --]
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2005.2.23) 15 MAR 2005 20:22
entering extended mode
**&cont-en chemie-bigger.tex
(./chemie-bigger.tex{/usr/share/texmf/pdftex/config/pdftex.cfg
Warning: pdfetex (file /usr/share/texmf/pdftex/config/pdftex.cfg): expected num
ber in ^^J returning 10
}
ConTeXt ver: 2003.1.31 fmt: 2005.2.23 int: english mes: english
language : language en is active
<protectionstate 0>
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex!
system (E-TEX) : [line 726] \ifcsname
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(/usr/share/texmf/tex/context/base/cont-sys.tex
symbols : loading symbolset nav
(/usr/share/texmf/tex/context/base/symb-nav.tex
pdftex : needs map file: original-context-symbol.map
pdftex : needs map file: pl0-ams-cmr.map
pdftex : needs map file: original-vogel-symbol.map
)
symbols : loading symbolset mvs
(/usr/share/texmf/tex/context/base/symb-mvs.tex
encoding : coding default
))
bodyfont : 12pt rm is loaded
language : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
8:2-nl-2 loaded
specials : tex,postscript,rokicki loaded
\openout2 = `chemie-bigger.tui'.
system : chemie-bigger.top loaded
(./chemie-bigger.top)
\openout0 = `chemie-bigger-mpgraph.mp'.
\openout0 = `chemie-bigger-mprun.mp'.
\openout0 = `mpgraph.mp'.
\openout0 = `mprun.mp'.
system : no macros found in module pictes
system : macros of module chemie loaded
(/usr/share/texmf/tex/context/base/m-chemic.tex
(/usr/share/texmf/tex/generic/pictex/pictex.tex)
(/usr/share/texmf/tex/context/base/ppchtex.tex
ppchtex : using PiCTeX and MetaPost
))
specials : loading definition file tpd
(/usr/share/texmf/tex/context/base/spec-tpd.tex
specials : loading definition file fdf
(/usr/share/texmf/tex/context/base/spec-fdf.tex <unprotect 3>
system (E-TEX) : [line 1815] \ifcsname
<unprotect 4> <protect 4> <protect 3>)
specials : fdf loaded
)
specials : fdf,tpd loaded
\openout6 = `chemie-bigger-mpgraph.mp'.
Randomizer initialized to 1431757445. [MP chemie-bigger-mpgraph.4000]
[MP chemie-bigger-mpgraph.3999] [MP chemie-bigger-mpgraph.3998]
[MP chemie-bigger-mpgraph.3997] [MP chemie-bigger-mpgraph.3996]
[MP chemie-bigger-mpgraph.3995])
*\end
systems : end file chemie-bigger at line 0
[flush and process chemie-bigger-mpgraph.mp afterwards]
! You can't use `\end' in internal vertical mode.
<recently read> \normalend
<*> \end
? \end
Type <return> to proceed, S to scroll future error messages,
R to run without stopping, Q to run quietly,
I to insert something,
1 or ... or 9 to ignore the next 1 to 9 tokens of input,
H for help, X to quit.
? X
Here is how much of TeX's memory you used:
1864 strings out of 68091
26130 string characters out of 753759
4452029 words of memory out of 5567915
31601 multiletter control sequences out of 10000+50000
10565 words of font info for 35 fonts, out of 500000 for 1000
62 hyphenation exceptions out of 1000
29i,11n,48p,275b,658s stack positions out of 1500i,500n,5000p,200000b,5000s
0 PDF objects out of 300000
0 named destinations out of 131072
0 words of extra memory for PDF output out of 65536
No pages of output.
[-- Attachment #4: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ppchtex
2005-03-15 19:28 ` ppchtex Johannes Werner
@ 2005-03-15 21:51 ` Willi Egger
2005-03-15 23:13 ` ppchtex Johannes Werner
2005-03-16 8:40 ` ppchtex Hans Hagen
1 sibling, 1 reply; 11+ messages in thread
From: Willi Egger @ 2005-03-15 21:51 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 2149 bytes --]
Hi Johannes,
I looked at your coding.
The use module line has two typo's It should be \usemodule[pictex,chemic]
The statements are not complete i.e. you forgot the \stopcombination.
Further when starting a combination one needs to give the number of rows
and columns e.g. [2*3]. with only [6] all of the structures are placed
inline, but only 4 of them fit in one row so ...
In order to produce output you need to enclose the code between
\starttext ... \stoptext.
Please see the attached file
Kind regards
Willi
Johannes Werner wrote:
> Hans Hagen wrote:
>
>> Johannes Werner wrote:
>>
>>> hi everyone,
>>> i want to use PPCHTEX. when i process my .tex-file with texexec i get
>>> the message:
>>> .....
>>> specials : fdf loaded
>>> )
>>> specials : fdf,tpd loaded
>>> \openout6 = `chemie-mpgraph.mp'.
>>> Randomizer initialized to 1275417501. [MP to PDF]
>>> (./chemie-mpgraph.4000))
>>> *
>>>
>>> and the program stops and waits for a command. when i type \end it
>>> continues. this happens again and then i have my target file.
>>> what wants the system tell me? why does it stop?. it's irksome, to
>>> type in a command for nothing. when i process with latex everything
>>> is ok.
>>
>>
>>
>> how does your smallest test file that does thsi look like?
>>
>> Hans
>
>
> the testfile was:
>
> \enableregime[utf]
> \usemodule[pictex,chemie]
> \setupoutput[pdf]
> %\setupchemical[axis=on, frames=on]
> \par Substituent A
> \startchemical
> \chemical[ONE,SB4,SB6,Z0][O]
> \stopchemical
>
> with a file, which is a little bit bigger i get the following (an no
> output is generated):
>
> Randomizer initialized to 1431757445. [MP chemie-bigger-mpgraph.4000]
> [MP chemie-bigger-mpgraph.3999] [MP chemie-bigger-mpgraph.3998]
> [MP chemie-bigger-mpgraph.3997] [MP chemie-bigger-mpgraph.3996]
> [MP chemie-bigger-mpgraph.3995])
> *
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
[-- Attachment #2: chemic-werner.tex --]
[-- Type: text/plain, Size: 672 bytes --]
% CHmeical structures
% Johannes Werner
% CONTEXT file
% filename:
\enableregime[utf]
\usemodule[pictex,chemic]%pstricks
\setupoutput[pdf]
%\setupchemical[axis=on, frames=on]
\starttext
\par A
\placefigure[force]{none}
{\startcombination[2*3]
{\startchemical \chemical[ONE,SB4,SB6,Z0][O] \stopchemical}{}
{\startchemical \chemical[ONE,SB4,SB6,Z0][S] \stopchemical}{}
{\startchemical \chemical[ONE,SB4,SB6,Z0][NH] \stopchemical}{}
{\startchemical \chemical[ONE,DB1,SB4,SB6,Z01][C,O] \stopchemical}{}
{\startchemical \chemical[ONE,DB1,SB4,SB6,Z01][C,NR] \stopchemical}{}
{\startchemical \chemical[ONE,DB1,SB4,SB6,Z01][C,CR_2] \stopchemical}{}
\stopcombination}
\stoptext
[-- Attachment #3: Type: text/plain, Size: 139 bytes --]
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ppchtex
2005-03-15 19:28 ` ppchtex Johannes Werner
2005-03-15 21:51 ` ppchtex Willi Egger
@ 2005-03-16 8:40 ` Hans Hagen
1 sibling, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2005-03-16 8:40 UTC (permalink / raw)
Johannes Werner wrote:
> Hans Hagen wrote:
>
>> Johannes Werner wrote:
>>
>>> hi everyone,
>>> i want to use PPCHTEX. when i process my .tex-file with texexec i get
>>> the message:
>>> .....
>>> specials : fdf loaded
>>> )
>>> specials : fdf,tpd loaded
>>> \openout6 = `chemie-mpgraph.mp'.
>>> Randomizer initialized to 1275417501. [MP to PDF]
>>> (./chemie-mpgraph.4000))
>>> *
>>>
>>> and the program stops and waits for a command. when i type \end it
>>> continues. this happens again and then i have my target file.
>>> what wants the system tell me? why does it stop?. it's irksome, to
>>> type in a command for nothing. when i process with latex everything
>>> is ok.
>>
>>
>>
>> how does your smallest test file that does thsi look like?
>>
>> Hans
>
>
> the testfile was:
>
> \enableregime[utf]
> \usemodule[pictex,chemie]
> \setupoutput[pdf]
> %\setupchemical[axis=on, frames=on]
> \par Substituent A
> \startchemical
> \chemical[ONE,SB4,SB6,Z0][O]
> \stopchemical
>
> with a file, which is a little bit bigger i get the following (an no
> output is generated):
>
> Randomizer initialized to 1431757445. [MP chemie-bigger-mpgraph.4000]
> [MP chemie-bigger-mpgraph.3999] [MP chemie-bigger-mpgraph.3998]
> [MP chemie-bigger-mpgraph.3997] [MP chemie-bigger-mpgraph.3996]
> [MP chemie-bigger-mpgraph.3995])
> *
how about adding \starttext ...\stoptext around it?
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* PPCHtex
@ 2001-05-29 15:46 Willi Egger
2001-05-31 9:31 ` PPCHtex Hans Hagen
0 siblings, 1 reply; 11+ messages in thread
From: Willi Egger @ 2001-05-29 15:46 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 149 bytes --]
Hi all,
I tried to get started with the module [chemic].
Please find attached the testfile and the log file. Does anybody know whats
wrong?
Willi
[-- Attachment #2: chem.tex --]
[-- Type: application/octet-stream, Size: 245 bytes --]
\setupoutput[pdftex]
\mainlanguage[nl]
\usemodule[chemic]
\setupchemical[axis=on,frame=on]
\starttext
\placeformula
\startformula
\startchemical[width=fit]
\chemical{H_2O}
\stopchemical
\stopformula
\stoptext
[-- Attachment #3: chem.log --]
[-- Type: application/octet-stream, Size: 2923 bytes --]
This is pdfeTeX, Version 3.14159-14e-released-20000217-2.1 (Web2c ) (format=cont-en 2001.4.4) 29 MAY 2001 17:41
**&cont-en chem.tex
(chem.tex{d:/TEX/texmf/pdftex/config/pdftex.cfg}
ConTeXt ver: 2001.3.27 fmt: 2001.4.4 int: english mes: english
language : language en is active
system : cont-new loaded
(d:/TEX/texmf/tex/context/base/cont-new.tex <unprotect 2>
systems : beware: some patches loaded from cont-new.tex!
<protect 2>)
system : cont-old loaded
(d:/TEX/texmf/tex/context/base/cont-old.tex
loading : Context Old Macros
<unprotect 2> <protect 2>)
system : cont-fil loaded
(d:/TEX/texmf/tex/context/base/cont-fil.tex
loading : Context File Synonyms
)
system : cont-sys loaded
(d:/TEX/texmf/tex/context/base/cont-sys.tex <unprotect 2>
specials : tex,postscript,rokicki is reset
specials : loading definition file tpd
(d:/TEX/texmf/tex/context/base/spec-tpd.tex <unprotect 3>
specials : loading definition file fdf
(d:/TEX/texmf/tex/context/base/spec-fdf.tex <unprotect 4> <unprotect 5>
<protect 5> <protect 4>)
specials : fdf loaded
<unprotect 4> <protect 4> <protect 3>)
specials : fdf,tpd loaded
)
bodyfont : 12pt rm is loaded
language : patterns 2-es-2 2-en-2 2-de-2 2-fr-2 2-nl-2 loaded
specials : fdf,tpd loaded
\openout2 = `chem.tui'.
system : chem.top loaded
(./chem.top <unprotect 3> <protect 3>)
\openout1 = `mpgraph.mp'.
specials : fdf,tpd is reset
specials : loading definition file tpd
(d:/TEX/texmf/tex/context/base/spec-tpd.tex <unprotect 3>
specials : loading definition file fdf
(d:/TEX/texmf/tex/context/base/spec-fdf.tex <unprotect 4> <unprotect 5>
<protect 5> <protect 4>)
specials : fdf loaded
<unprotect 4> <protect 4> <protect 3>)
specials : fdf,tpd loaded
system : macros of module pictex loaded
(d:/TEX/texmf/tex/context/base/m-pictex.tex <unprotect 3>
(d:/TEX/texmf/tex/generic/pictex/pictex.tex) <protect 3>)
system : macros of module chemic loaded
(d:/TEX/texmf/tex/context/base/m-chemic.tex
(d:/TEX/texmf/tex/context/base/ppchtex.tex
ppchtex : using PiCTeX and MetaPost
<unprotect 3>
! Undefined control sequence.
<argument> \s
!chemical\c !x1
\setvalue #1->\expandafter \def \csname #1
\endcsname
l.2029 \setvalue{\s!chemical\c!x1}
{0}
? x
Here is how much of TeX's memory you used:
1676 strings out of 38923
21295 string characters out of 602169
366594 words of memory out of 1500001
26516 multiletter control sequences out of 10000+65535
9330 words of font info for 29 fonts, out of 500000 for 1000
16 hyphenation exceptions out of 1000
27i,1n,36p,252b,99s stack positions out of 15000i,4000n,6000p,50000b,40000s
No pages of output.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: PPCHtex
2001-05-29 15:46 PPCHtex Willi Egger
@ 2001-05-31 9:31 ` Hans Hagen
0 siblings, 0 replies; 11+ messages in thread
From: Hans Hagen @ 2001-05-31 9:31 UTC (permalink / raw)
Cc: ntg-context
At 05:46 PM 5/29/01 +0200, Willi Egger wrote:
>Hi all,
>
>I tried to get started with the module [chemic].
>
>Please find attached the testfile and the log file. Does anybody know whats
>wrong?
inside \startchemical you should use \chemical[...] while in pure display
math you can stick to \chemical{}; it's in the manual -)
btw, there is a dedicated ppchtex list
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2016-07-09 10:02 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-06 16:23 ppchTeX Henri Menke
2016-07-07 18:26 ` ppchTeX Alan BRASLAU
2016-07-09 10:02 ` ppchTeX Henri Menke
-- strict thread matches above, loose matches on Subject: below --
2005-03-15 17:38 ppchtex Johannes Werner
2005-03-15 18:17 ` ppchtex Hans Hagen
2005-03-15 19:28 ` ppchtex Johannes Werner
2005-03-15 21:51 ` ppchtex Willi Egger
2005-03-15 23:13 ` ppchtex Johannes Werner
2005-03-16 8:40 ` ppchtex Hans Hagen
2001-05-29 15:46 PPCHtex Willi Egger
2001-05-31 9:31 ` PPCHtex Hans Hagen
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).