![](https://secure.gravatar.com/avatar/ad5afbb91c8b5ec2b1199838461a8348.jpg?s=120&d=mm&r=g)
just thought that we maybe could safely test the fast (copy) PNG inclusion by pdfxtex, e. g. making some global flag in texmfmp.c, #if defined(pdfTeX) || defined(pdfeTeX) || defined(pdfxTeX) string ptexbanner = BANNER; enum ptexengine_ {PDFTEX, PDFETEX, PDFXTEX}; #if defined(pdfTeX) int ptexengine = PDFTEX; #endif #if defined(pdfeTeX) int ptexengine = PDFETEX; #endif #if defined(pdfxTeX) int ptexengine = PDFXTEX; #endif #endif so that ptexengine is available everywhere and then also add the xwrite_png() with the COPY feature in addition to the standard write_png() into writepng.c and have if(ptexengine == PDFXTEX) xwrite_png(img); else write_png(img); or so in writeimg.c. Is it still worthwile or is pdftex frozen by now for texlive? Regards, Hartmut
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Hartmut Henkel wrote:
just thought that we maybe could safely test the fast (copy) PNG inclusion by pdfxtex, e. g. making some global flag in texmfmp.c,
#if defined(pdfTeX) || defined(pdfeTeX) || defined(pdfxTeX) string ptexbanner = BANNER; enum ptexengine_ {PDFTEX, PDFETEX, PDFXTEX}; #if defined(pdfTeX) int ptexengine = PDFTEX; #endif #if defined(pdfeTeX) int ptexengine = PDFETEX; #endif #if defined(pdfxTeX) int ptexengine = PDFXTEX; #endif #endif
so that ptexengine is available everywhere and then also add the xwrite_png() with the COPY feature in addition to the standard write_png() into writepng.c and have
if(ptexengine == PDFXTEX) xwrite_png(img); else write_png(img);
or so in writeimg.c. Is it still worthwile or is pdftex frozen by now for texlive?
next week things will become frozen; i think we can smuggle a newer pdfxtex in the lin/win parts ... the more this is tested the better martin? 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/65c6b74fd4fb8d79a653d0b87beeb594.jpg?s=120&d=mm&r=g)
On 2004-10-02 16:44:57 +0200, Hartmut Henkel wrote:
if(ptexengine == PDFXTEX) xwrite_png(img); else write_png(img);
Sounds good.
or so in writeimg.c. Is it still worthwile or is pdftex frozen by now for texlive?
This needs testing and we have some open bugs. And I think TL is very much frozen now. Let's aim for teTeX 3.0 :-) Best regards Martin -- Martin Schröder, ms@artcom-gmbh.de ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany Voice +49 421 20419-44 / Fax +49 421 20419-10 http://www.artcom-gmbh.de
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Martin Schröder wrote:
On 2004-10-02 16:44:57 +0200, Hartmut Henkel wrote:
if(ptexengine == PDFXTEX) xwrite_png(img); else write_png(img);
Sounds good.
or so in writeimg.c. Is it still worthwile or is pdftex frozen by now for texlive?
This needs testing and we have some open bugs. And I think TL is very much frozen now. Let's aim for teTeX 3.0 :-)
eh ... better pdftex 1.22 which is probably sooner -) 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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
When i export a pdf as eps from acrobat, i get the followign error in gs:
participants (4)
-
h h extern
-
Hans Hagen
-
Hartmut Henkel
-
Martin Schröder