ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* 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
* 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
* 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

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