[XeTeX] pst-fill boxfill failure when compiling with XeLaTeX

Daniel Greenhoe dgreenhoe at gmail.com
Tue Jun 13 08:00:27 CEST 2017


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 at lor@to at ps ->\PSTricks
                         _Not_Configured_For_This_Format

Any suggestions?

Many thanks in advance  ^____^
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_latex.pdf
Type: application/pdf
Size: 2686 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20170613/79c780ba/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_xelatex.log
Type: application/octet-stream
Size: 9077 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20170613/79c780ba/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tex
Type: application/x-tex
Size: 578 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20170613/79c780ba/attachment-0001.tex>


More information about the XeTeX mailing list