[pdftex] pdftricks problem in \parbox?

Troy Goodson Troy.D.Goodson at jpl.nasa.gov
Fri May 2 11:26:06 CEST 2003


I tried to wrap a \begin{pdfpic} ... \end{pdfpic} in a \parbox (or even  
an \fbox}, but I get an error (see below).  Also, the example-fig1.tex  
file is empty.

How do I get around this?

An example of what I want to do is below.

I'm using pdftricks 1.15
\Fileversion$Revision: 1.15 $
\Filedate$Date: 2001/09/30 11:21:23 $
(I just downloaded it a few days ago, from  
ftp://tug.ctan.org/tex-archive/macros/latex2e/contrib/supported/ 
pdftricks.tar.gz)

and pdflatex, latex
This is TeX, Version 3.14159 (Web2C 7.4.5)
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5)

In fact, I'm using TeXShop and Gerben Wierda's TeXLive distribution.

---------example.tex------------
% text on the left, graphic on the right
\documentclass[landscape]{slides}
\usepackage{pdftricks}
\begin{psinputs}
   \usepackage{pstricks}	
   \usepackage{pst-node}
\end{psinputs}
\begin{document}

\begin{slide}

\parbox{.4\linewidth}{
\begin{itemize}
  \item text1
  \item text2
\end{itemize}
}
\hfill
\vrule

\parbox{.55\linewidth}{
\begin{pdfpic}
\begin{pspicture}(-.2,-.5)(5,8.5)
    \rput(1,0){\rnode{EAR}{Earth}}
    \rput(1,4){ \rnode{SC}{S/C} }
    \ncline{SC}{EAR}
\end{pspicture}
\end{pdfpic}
}

\end{slide}
\end{document}
--------------------------------



---------error message-----------
Opening PDFStream=example-fig1.tex
! Argument of \xStream has an extra }.
<inserted text>
                 \par
l.29 }

? 




More information about the pdftex mailing list