I'm making composite picts in my Scribble docs and am looking for a clean
way to keep references to sub-picts around for helper functions to draw
lines between. A struct with the `prop:pict-convertible` property would
suffice, but `raco setup` gives an error.

Given this struct definition:

    (struct my-pict () #:property prop:pict-convertible (λ _ (circle 30)))

If I call its constructor from Scribble:


I get the error:

    not valid in document body (need a pre-part for decode) in: #<my-pict>

Manually `pict-convert`ing can be painful. Is there an easier way?



You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to