[plt-scheme] Displaying pict in interactions window
I have a pict (I can have a bitmap% also if it is easier to draw on
interactions) but I if I do
(define a (tex "Hello"))
which returns a pict and then
a
I get:
#<struct:pict>
I was expecting to see the Hello text rendered by latex showing up in
interactions. Is this possible with pict or should I use bitmap%?
The point is, I want to show latex rendered code directly on the
interactions window. I thought I could use texpict functions for that.
Another way (hack!) would be to use an external program to render code
into bitmap and then load the bitmap into bitmap% and show it in
interactions. I thought that without external dependencies would be
better!
Any suggestions?
Cheers,
Paulo Matos
On 07/10/05, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> At Fri, 7 Oct 2005 12:00:36 +0100, Paulo Jorge Matos wrote:
> > How can I get a pict to be displayed on the interactions window?
>
> "Pict" as in Slideshow? In v299.X, I think pict results are always
> printed in the interaction window by drawing them.
>
> Matthew
>
>
--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group