Graphics, Figures & TablesProblem using pstricks-add in xelatex

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Problem using pstricks-add in xelatex

Post by Isopropyl »

Hi,

I just wanted to make a small chart and suddenly I am spending hours trying to find out why I am getting this error:

Code: Select all

MiKTeX GPL Ghostscript 8.60: Unrecoverable error, exit code 1
So, I am including pstricks-add (and only that) and try to do this:

Code: Select all

\psbrace(4.0, 1.5)(14.0, 1.5){Text}
\psbrace(16.0, 1.5)(23.0, 1.5){Other Text}
If I delete these lines, I will not get the above error. Why could that be? I am using

Code: Select all

xelatex -interaction=nonstopmode %.tex
to compile my document. I tried using the -no-pdf option. That makes the above error message disappear. But for some reason my MikTex 2.7 does not seem to come with "xdv2pdf" (I could not find such a file on my computer and it is also not a registered command) so I could not compile the .xdv file.

I would be very grateful if you could point me in the right direction :-)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem using pstricks-add in xelatex

Post by localghost »

Install xetex-pstricks and try again.


Best regards
Thorsten
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Re: Problem using pstricks-add in xelatex

Post by Isopropyl »

Hi Thorsten,

thanks for your reply. That is what I read on the internet, too, when I was searching for the cause of this error. But after I had finally managed to download the pstricks-xetex.con file I found out that it was already in place on my system... So, this did not seem to fix the error :-(
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem using pstricks-add in xelatex

Post by localghost »

I can reproduce the error even without nonstop mode and I get an output which is not very satisfactory. So I can only suggest to contact either the maintainer of pstricks or of MiKTeX.
Isopropyl
Posts: 29
Joined: Thu Sep 24, 2009 10:49 pm

Re: Problem using pstricks-add in xelatex

Post by Isopropyl »

Hm, so it appears it is not entirely my fault, then :shock: So, I'll try to make contact with the maintainers and see what I can find out. In the meantime I will just have to do without braces :roll:
Post Reply