I cannot get \ThreeDput in the pst-3d package to work with XeLaTeX
(even though it does work with LaTeX). Here is an example

\documentclass{article}
\usepackage{graphicx}
\usepackage{pstricks}
\usepackage{pst-3d}
\begin{document}
\psset{unit=10mm}
\begin{pspicture}(-3,-3)(3,3)%
  \psset{viewpoint=1 0.001 0.5}%
  \ThreeDput[normal=1 2 0](0,0,0){\psframe(0,0)(2,2)}%
\end{pspicture}
\end{document}

When I compile with latex --> dvips --> ps2pdf , it works (the box is
"rotated").
(see attachment 3d_latex-dvips-ps2pdf.pdf)

However, when I compile with xelatex, it doesn't work (the box is not
"rotated").
(see attachment 3d_xelatex.pdf)

I do not wish to use any TeX engine other than XeLaTeX, but I do very
much wish to use pst-3d. Is there any solution currently available for
me?

cross-reference:
http://tex.stackexchange.com/questions/47672/how-to-rotate-a-picture-in-3-dimensions
(especially the \psset{viewpoint=1 0.001 0.5})

Many thanks in advance,  ^____^
Dan

Attachment: 3d_latex-dvips-ps2pdf.pdf
Description: Adobe PDF document

Attachment: 3d_xelatex.pdf
Description: Adobe PDF document


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

Reply via email to