[fptex] pdftricks

Fabrice Popineau Fabrice.Popineau at supelec.fr
Wed Jun 11 14:25:02 CEST 2003


> It looks like pdftricks is attempting to touch into a hardcoded /tmp
> directory (that happens to be around on UNIX systems):

> \def\tmpfile{/tmp/w18-test-\the\year\the\month\the\day\the\time}
> \immediate\write18{touch \tmpfile}

Well, this is awful...

> Is there someplace a Windows version around? (I'm constrained to use
> Windows in part of my working environment.)

So, an awful solution is to create a \tmp directory in your current
drive.

The right solution would be to  allow TeX to  getenv("TEMP") and use it,
or hack kpathsea  to provide some temp file.   But that requires to  add
primitives.

Fabrice



More information about the fptex mailing list