[OS X TeX] problem with pst-pdf

Herbert Schulz herbs at wideopenwest.com
Mon Nov 14 17:07:09 CET 2005


On Nov 14, 2005, at 9:40 AM, Frank STENGEL wrote:

>
> \usepackage{pst-3dplot} (inputs the LaTeX wrapper) or \input 
> {pst-3dplot} (inputs the non-wrapped tex file)
>
> -- 
> Frank STENGEL (fstengel<at>mac.com)

Howdy,

Should this work?

%!TEX TS-program = ps4pdf
\documentclass[12pt,a4paper]{article}
\usepackage{pstricks}
\usepackage{pst-pdf}
\usepackage{pst-3dplot}
\usepackage{multicol}
\begin{document}
This should be on the same page.
\begin{pspicture}(-1.6,-1)(0.5,1.25)
     \psset{unit=4cm,xMin=0,xMax=1.25,zMin=0,
     zMax=1.25,yMin=0,yMax=1.25,Alpha=12}
     \pstThreeDCoor
\end{pspicture}
This should be on the same page.
\end{document}

This should print a line, print a 3-D axis with labels below it and  
then print a line below that. I've got a version using pdftricks too:

%!TEX TS-program = pdflatex
\documentclass[12pt,a4paper]{article}
\usepackage{pdftricks}
\begin{psinputs}
     \usepackage{pst-3dplot}
\end{psinputs}
\usepackage{multicol}
\begin{document}
This should be on the same page.
\begin{pdfpic}
\begin{pspicture}(-1.6,-1)(0.5,1.25)
     \psset{unit=4cm,xMin=0,xMax=1.25,zMin=0,
     zMax=1.25,yMin=0,yMax=1.25,Alpha=12}
     \pstThreeDCoor
\end{pspicture}
\end{pdfpic}
This should be on the same page.
\end{document}

which does come out right. Well... the standard pdftricks processing  
crops a bit too much but the version I've changed to use pdfcrop  
works fine (NewPdftricks.zip at http://homepage.mac.com/herbs2/).

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list