[pstricks] Node defined in an included graphic

Michael Sharpe msharpe at ucsd.edu
Fri Jul 4 03:40:50 CEST 2008

Here's a small example. The file pentacone.eps contains an image and a  
\pnode named Vertex. I would like a way to be able to read the nodes  
defined in the eps and make them nodes in the master file. That is, in  
a pspicture, I want to be able to have something like


where \specialrput would be similar to \rput, but would, in addition,  
read the node dictionary in pentacone.eps and make those node part of  
the master node dictionary, correcting their positions according to  
the coordinates used in \specialrput.

This would be useful to me because I am making drawings using a  
program (not TeX or Postscript code) that computes the vertices,  
figures the hidden parts, then writes pstricks code as output, but  
cannot understand arbitrary PSTricks code.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pentacone.eps
Type: application/postscript
Size: 83213 bytes
Desc: not available
Url : http://tug.org/pipermail/pstricks/attachments/20080703/6991f67f/attachment.eps 
-------------- next part --------------

On Jul 2, 2008, at 11:16 PM, Herbert Voss wrote:

> Michael Sharpe schrieb:
>> Is it possible to make use of a node defined in another pstricks
>> document, whose output is an eps graphic, which has been placed  
>> into a
>> pspicture environment using \rput(1,1){\includegraphics{...}}? It
>> doesn't seem to work in the example I tried, but since the included
>> eps has an entry for the node in its tx at NodeDict, it appears that it
>> might be possible to make it work.
> Eps -> encapsulated postscript. not possible
> However, give an example image with the internal node name.
> Maybe that one can patch the eps file
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks

More information about the PSTricks mailing list