ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* PPCHTeX broken
@ 2004-08-02 14:26 Peter Münster
  2004-08-02 14:48 ` Tobias Burnus
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2004-08-02 14:26 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 620 bytes --]

Hello,
PPCHTeX seems to be broken in the latest ConTeXt beta version.
Here an example (copied from the manual):

\usemodule[pictex,chemic]
\starttext
\startchemical[scale=small,width=6000,height=6000,frame=on]
  \chemical[SIX,SB2356,DB14,Z2346,SR36,RZ36] [C,N,C,C,H,H_2]
  \chemical[PB:Z1,ONE,Z0,DIR8,Z0,SB24,DB7,Z27,PE] [C,C,CH_3,O]
  \chemical[PB:Z5,ONE,Z0,DIR6,Z0,SB24,DB7,Z47,PE] [C,C,H_3C,O]
  \chemical[SR24,RZ24] [CH_3,H_3C]
\stopchemical
\stoptext

log-file and dvi-file are attached.

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

[-- Attachment #2: Type: TEXT/PLAIN, Size: 3328 bytes --]

This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.8.1)  2 AUG 2004 16:22
entering extended mode
 (/var/lib/texmf/web2c/natural.tcx)
**&cont-en test.tex
(./test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.6.30  fmt: 2004.8.1  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!
color          : palette rollover is available
system (E-TEX) : [line 599] 
system (E-TEX) : [line 654] 
)
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
(/var/lib/texmf/tex/context/config/cont-sys.tex)
system         : macros of module tryout loaded
(/usr/share/texmf/tex/context/base/m-tryout.tex
\openout2 = `test.tui'.

)
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 = `test.tui'.

system         : test.top loaded
(./test.top)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.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 chemic loaded
(/usr/share/texmf/tex/context/base/m-chemic.tex
(/usr/share/texmf/tex/context/base/ppchtex.tex
ppchtex        : using PiCTeX and MetaPost
)) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo
) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo)
fonts          : needs map file: ec-public-lm.map
fonts          : needs map file: original-base.map
systems        : begin file test at line 2
\openout6 = `test-mpgraph.mp'.

systems        : randomizer starts with 1151741342
[MP as EPS ./test-mpgraph.4000] [MP color conversion ./test-mpgraph.4000
\openout0 = `test-metacmyk.tmp'.


not needed]
\openout0 = `test-metacmyk.tmp'.

 [MP as EPS ./test-mpgraph.3999]
[MP color conversion ./test-mpgraph.3999
\openout0 = `test-metacmyk.tmp'.

 not needed]
\openout0 = `test-metacmyk.tmp'.


[MP as EPS ./test-mpgraph.3998] [MP color conversion ./test-mpgraph.3998
\openout0 = `test-metacmyk.tmp'.


not needed]
\openout0 = `test-metacmyk.tmp'.

 [1.1]
systems        : end file test at line 9
[flush and process test-mpgraph.mp afterwards] ) 
Here is how much of TeX's memory you used:
 2099 strings out of 66360
 26067 string characters out of 723502
 4466376 words of memory out of 5559653
 33518 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
 44i,17n,53p,304b,1505s 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

Output written on test.dvi (1 page, 2228 bytes).

[-- Attachment #3: Type: APPLICATION/x-dvi, Size: 2228 bytes --]

[-- 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] 4+ messages in thread

* Re: PPCHTeX broken
  2004-08-02 14:26 PPCHTeX broken Peter Münster
@ 2004-08-02 14:48 ` Tobias Burnus
  2004-08-02 16:10   ` Peter Münster
  0 siblings, 1 reply; 4+ messages in thread
From: Tobias Burnus @ 2004-08-02 14:48 UTC (permalink / raw)


Hello,

Peter Münster wrote:

>PPCHTeX seems to be broken in the latest ConTeXt beta version.
>Here an example (copied from the manual):
>  
>
If I do a dvips -Ppdf test.dvi I get the following warning:
dvips: Could not find figure file ./test-mpgraph.4000; continuing
dvips: Could not find figure file ./test-mpgraph.3999; continuing
dvips: Could not find figure file ./test-mpgraph.3998; continuing

I don't see from the log whether you have them, but in any case a DVI 
file doesn't carry enough information, you need a Post Script or PDF file.

>\usemodule[pictex,chemic]
>\starttext
>\startchemical[scale=small,width=6000,height=6000,frame=on]
>  \chemical[SIX,SB2356,DB14,Z2346,SR36,RZ36] [C,N,C,C,H,H_2]
>  \chemical[PB:Z1,ONE,Z0,DIR8,Z0,SB24,DB7,Z27,PE] [C,C,CH_3,O]
>  \chemical[PB:Z5,ONE,Z0,DIR6,Z0,SB24,DB7,Z47,PE] [C,C,H_3C,O]
>  \chemical[SR24,RZ24] [CH_3,H_3C]
>\stopchemical
>\stoptext
>  
>
With 2004.4.9 this works - well, the bonds are a bit randomly 
distributed but otherwise. Can you state a bit more clearly what should 
be different from the result you get?

Tobias

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PPCHTeX broken
  2004-08-02 14:48 ` Tobias Burnus
@ 2004-08-02 16:10   ` Peter Münster
  2004-08-02 21:38     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Münster @ 2004-08-02 16:10 UTC (permalink / raw)


[-- Attachment #1: Type: TEXT/PLAIN, Size: 1491 bytes --]

On Mon, 2 Aug 2004, Tobias Burnus wrote:

> If I do a dvips -Ppdf test.dvi I get the following warning:
> dvips: Could not find figure file ./test-mpgraph.4000; continuing
> dvips: Could not find figure file ./test-mpgraph.3999; continuing
> dvips: Could not find figure file ./test-mpgraph.3998; continuing
> 
> I don't see from the log whether you have them, but in any case a DVI 
> file doesn't carry enough information, you need a Post Script or PDF file.

Oh, excuse me, I didn't see, that the dvi depends on other files...
Now I send a pdf file.

> With 2004.4.9 this works - well, the bonds are a bit randomly 
> distributed but otherwise. Can you state a bit more clearly what should 
> be different from the result you get?

The result should be as in example 5.9 on page 1-18 of the manual
(http://www.pragma-ade.com/general/manuals/mp-ch-en.pdf).
I complied the same TeX-file with an older version (2003.1.31) and the
result is ok (also attached as pdf).


Now, temporally working with the old ConTeXt version, I try to substitute
Atoms in a chair structure. Is this possible?
The following example shows the situation a little bit clearer:
\usemodule[pictex,chemic]
\starttext
\startchemical
\chemical [SIX,B,Z] [a,b,c,d,e,f]
\stopchemical
\startchemical
\chemical [CHAIR,B,Z] [a,b,c,d,e,f] % Z seems to be without effect here...
\stopchemical
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

[-- Attachment #2: broken --]
[-- Type: APPLICATION/pdf, Size: 9991 bytes --]

[-- Attachment #3: ok --]
[-- Type: APPLICATION/pdf, Size: 10065 bytes --]

[-- 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] 4+ messages in thread

* Re: PPCHTeX broken
  2004-08-02 16:10   ` Peter Münster
@ 2004-08-02 21:38     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2004-08-02 21:38 UTC (permalink / raw)


Peter Münster wrote:

>On Mon, 2 Aug 2004, Tobias Burnus wrote:
>
>  
>
>>If I do a dvips -Ppdf test.dvi I get the following warning:
>>dvips: Could not find figure file ./test-mpgraph.4000; continuing
>>dvips: Could not find figure file ./test-mpgraph.3999; continuing
>>dvips: Could not find figure file ./test-mpgraph.3998; continuing
>>
>>I don't see from the log whether you have them, but in any case a DVI 
>>file doesn't carry enough information, you need a Post Script or PDF file.
>>    
>>
>
>Oh, excuse me, I didn't see, that the dvi depends on other files...
>Now I send a pdf file.
>
>  
>
>>With 2004.4.9 this works - well, the bonds are a bit randomly 
>>distributed but otherwise. Can you state a bit more clearly what should 
>>be different from the result you get?
>>    
>>
>
>The result should be as in example 5.9 on page 1-18 of the manual
>(http://www.pragma-ade.com/general/manuals/mp-ch-en.pdf).
>I complied the same TeX-file with an older version (2003.1.31) and the
>result is ok (also attached as pdf).
>
>
>Now, temporally working with the old ConTeXt version, I try to substitute
>Atoms in a chair structure. Is this possible?
>The following example shows the situation a little bit clearer:
>\usemodule[pictex,chemic]
>\starttext
>\startchemical
>\chemical [SIX,B,Z] [a,b,c,d,e,f]
>\stopchemical
>\startchemical
>\chemical [CHAIR,B,Z] [a,b,c,d,e,f] % Z seems to be without effect here...
>\stopchemical
>\stoptext
>
>Cheers, Peter
>  
>
looks like there is some interference with pdf inclusion (quite hard to 
find reasonable compromised in handling offsets and bboxes); i'll look 
into 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] 4+ messages in thread

end of thread, other threads:[~2004-08-02 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-02 14:26 PPCHTeX broken Peter Münster
2004-08-02 14:48 ` Tobias Burnus
2004-08-02 16:10   ` Peter Münster
2004-08-02 21:38     ` 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).