[NTG-pdftex] writepng-copy in pdfxtex
h h extern
pragma at wxs.nl
Sat Oct 2 20:23:08 CEST 2004
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
-----------------------------------------------------------------
More information about the ntg-pdftex
mailing list