Dear All,

I have been having trouble with the pst-fill package's "boxfill"
(tiling) for some time when compiling with XeLaTeX. In short, I end up
getting the error
  "GPL Ghostscript 9.21: Unrecoverable error, exit code 1"

I have upgraded to TeXLive 2017 and updated packages. I am running
this on Windows 7.

Here is a somewhat minimal code example:

\documentclass{standalone}%
\usepackage[tiling]{pst-fill}
\begin{document}%
\psset{unit=10mm}%
\begin{pspicture}(-1,-1)(9,9)%
  \psset{fillstyle=solid,linecolor=red,fillcolor=blue,linewidth=2pt}
  \psboxfill{%
    \begin{pspicture}(0,0)(4,2)%
      \psframe(0,0)(4,2)%
    \end{pspicture}%
    }%
  \psframe[linecolor=black,fillstyle=boxfill](0,0)(8,6)%
\end{pspicture}%
\end{document}

If I compile this with latex==>dvips==>ps2pdf,
then I get an acceptable pdf file (see attached test_latex.pdf).

If I compile the code with xelatex, then I get
  "GPL Ghostscript 9.21: Unrecoverable error, exit code 1"
and things like
Error: /syntaxerror in -file-
Operand stack:
   Box
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   2015
1   3   %oparray_pop   2014   1   3   %oparray_pop   1998   1   3
%oparray_pop   1884   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--   2015   1   3
%oparray_pop   2014   1   3   %oparray_pop   1998   1   3
%oparray_pop   1884   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push
Dictionary stack:
   --dict:1218/1684(ro)(G)--   --dict:0/20(G)--   --dict:121/200(L)--
 --dict:118/200(L)--

However, the log file maybe seems OK (see attached test_xelatex.log).

If I attempt to compile using pdflatex, I get
! Undefined control sequence.
\c@lor@to@ps ->\PSTricks
                         _Not_Configured_For_This_Format

Any suggestions?

Many thanks in advance  ^____^
Dan

Attachment: test_latex.pdf
Description: Adobe PDF document

Attachment: test_xelatex.log
Description: Binary data

Attachment: test.tex
Description: TeX document


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to