
@soegaard2 trying in metapict to draw a rectangle with some text centered inside the rectangle. I see dot-label
used in the docs but with no actual documentation. Is there a function that just writes something centered on a coordinate?

Just noticed the use of label-bot
, there must be a collection of such functions, right?

and noticed label-cnt
… awesome! @soegaard2 what’s the best way to integrate a metapict into a scribble document? I tried @examples
with a #:result-only
but complains with-window
is undefined.

@pocmatos The list of label functions is here: https://github.com/soegaard/metapict/blob/master/metapict/label.rkt

The names were taken from Metapost - but I am not too fond of them.

Wrt to using metapict from Scribble:

Scribble ought to insert picts directly in the text.

So I expect @(draw fullcircle)
to be enough to insert a drawing of a circle.

However, if you want to use @examples
then you need to require metapict in the environment that examples uses.

@soegaard2 is this some kind of Racket pict/Metapost thing?


@soegaard2 works wonders! Thanks!

nice! I’ve been looking for such a thing. I’ll definitely take a look (I write my books with Pollen, targeting ConTeXt, which is deep in the Metapost world.)

@jesse this metapict thing is pretty cool… beautifully done, straight into pdf.

another @soegaard2 joint (https://en.wikipedia.org/wiki/Spike_Lee_filmography , first paragraph)

The documentation is gorgeous. :+1:

Thanks!

Should someone give Scribble and Pollen their own pages on Wikipedia? Or at least separate topics on the Racket page?

@bill_temps The reasoning behind Wikipedia is somewhat opaque. https://en.wikipedia.org/wiki/Wikipedia:Notability

@soegaard2 Yes, I know. Asking for opinions or votes. More specifically, I propose adding an entry for Pollen to the Wikipedia disambiguation page. “Scribble” doesn’t yet have a disambiguation page. Thus, four questions: should Pollen and Scribble be mentioned in Wikipedia at all? Should there be disambiguation entries for Pollen and Scribble (in the Racket context); and should these point to separate articles; or should they point to topics on the Racket page? (And are there any volunteers?)

@ssoucie has joined the channel