[pollen] Typesetting Racket code with Pollen

2017-12-15 Thread Alexis King
Matthew, I notice that in Beautiful Racket you have nicely typeset and hyperlinked Racket code, a la Scribble. Did you write something to do this automatically using for-label requires, like Scribble does, or did you insert the links manually? If the former, is it something that you would be willi

[pollen] Re: Typesetting Racket code with Pollen

2017-12-15 Thread Matthew Butterick
Neither. The code is tagged with Pygments. The terms that end up in the `k` and `nb` classes are Racket identifiers. These are passed through a function that generates a link to the docs, derived from the `docs` function here. [1] Then a few housekeeping details to make everything look right.