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/
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
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/
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 -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Peter Münster
-
Tobias Burnus