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