[XeTeX] pstricks in xelatex

Akira Kakuto kakuto at fuk.kindai.ac.jp
Fri Jun 20 18:07:33 CEST 2008


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


More information about the XeTeX mailing list