[pdftex] PSTricks

Radhakrishnan CV cvr at river-valley.org
Mon Jan 21 10:00:04 CET 2002

On Sun, 20 Jan 2002 at 21:53, John S. Dey wrote:

   Radhakrishnan:  Is it possible to put a fig* producing macro
   in a program.  When I try, I get a run away.  See attachment.  
   Any suggestions or help would be greatly appreciated.  

No, it is not possible with the current scheme of pdftricks. What
pdftricks does is to automate all the processes that we do manually
to include a pstricks figure (ie., to create an eps of the pstricks
figure, convert to pdf graphics and include the same in the
document).  pdftricks does exactly this, by writing to standalone
external TeX files, escape to shell, invoke LaTeX to compile this
file, translate to eps with dvips, convert to pdf with epstopdf,
return to TeX run and include with \includgraphics.

pdftricks as such is a quick and dirty trick of process automation.  
The streamwriting function, \begin{pdfpic}...\end{pdfpic} is
difficult to include in a user defined macro when it is designed to
write multiple lines to an external file and the end of the function
is looking for a specific literal string which is \end{pdfpic} in
this case.

However, I guess, by adding additional functions will accomplish
what you require now. I shall work on it and will get back as soon
as possible.


More information about the pdftex mailing list