[XeTeX] pstricks in xelatex
Christian Schenk
cs at miktex.org
Fri Jun 20 20:34:50 CEST 2008
Akira Kakuto wrote:
> Dear Ulrike Fischer,
>
>> DVI Comment: XeTeX output 2008.06.20:1634
>> stdin -> test-xetex.pdf
>> [1Error: /undefinedfilename in --run--
>> Operand stack:
>> (C:DOKUME~1UlleLOKALE~1Tempmik123.tmp) (r)
>> Execution stack:
>
> Sorry, previous changes seem to be incomplete.
> I hope the following further changes solve the
> problem:
>
> Akira
>
>
> --- spc_dvips.c.orig Wed Jun 18 20:31:52 2008
> +++ spc_dvips.c Sat Jun 21 00:52:28 2008
> @@ -958,6 +958,14 @@
> fprintf(fp, "(%s) run\n", temporary_defs);
> fwrite(string, 1, length, fp);
> fclose(fp);
> +#ifdef MIKTEX
> + {
> + char *p;
> + for (p = formula; *p; p++)
> + if (*p == '\\')
> + *p = '/';
> + }
> +#endif
> k = strlen(GS_CALCULATOR) + strlen(formula) + 2;
> cmd = malloc(k);
> strcpy(cmd, GS_CALCULATOR);
Thank you for this patch. I only wonder why it is #ifdef'd MIKTEX. The
patch seems to be Windows-specific, so why not #ifdef _WIN32?
Taking a closer look at the [x]dvipdfmx sources: I see a lot of MIKTEX
sections (not coming for me). Some of these sections are irrelevant now
(as MIKTEX tries to emulate KPathSea behaviour). I wouldn't mind if
these #ifdef's were removed from the source code.
More information about the XeTeX
mailing list