# [pstricks] Difficulties with pst-pdf

Thu May 14 20:30:01 CEST 2009

All,

Consider:

\documentclass[12pt]{article}

%\usepackage{pst-pdf}
\usepackage{pst-bar}
\usepackage{pst-plot}
\usepackage{pst-tree}

\begin{document}
In the shaded box that follows, enter the inequality symbol $<$ or $>$ so that the resulting inequality is a true statement.

$-3\quad\psframe [linewidth=2pt,fillstyle=solid,fillcolor=lightgray,framearc=0.2](0,0) (0.5,0.5)\quad -2$

\end{document}

If I compile this with: simpdftex latex test.tex, I get this result:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 17416 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090514/e7556800/attachment-0002.tiff
-------------- next part --------------

Now, if I uncomment %\usepackage{pst-pdf} and compile with: ps4pdf
test.tex, I get this result:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.tiff
Type: image/tiff
Size: 18296 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20090514/e7556800/attachment-0003.tiff
-------------- next part --------------

What is going on here?

As a second question, I am very open to suggestions to a better way
of accomplishing the goal implied by the fragment. Can someone
suggest a better way to get a little shaded box (with good alignment)
between my integers?

Thanks.

David.