Re: still trying to get coloured text in scribble
Brian LaChance <[email protected]>
| Newsgroups | gmane.comp.lang.racket.user,gmane.lisp.scheme.plt |
|---|---|
| Message-ID | <CAM=ZWvCUE14PT7k=3iFFdLXXR5XoDqDU_+eO9BRJk1L0NN2GOQ@mail.gmail.com> |
On Tue, May 24, 2016 at 9:14 PM, Hendrik Boom <hendrik-e9JHxFxFq/[email protected]> wrote > ``` > #lang scribble/base > (require scribble/core) The "require" is missing a @---change it to @(require scribble/core) and your unbound identifier error should go away. > > Example of color: > > @(define (colorize #:color c . content) > (elem #:style (style #f (color-property c) Once the require is taken care of, you'll probably also get a contract violation here due to style's second argument. The docs say it should be a list. Hope that helps. -Brian -- 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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] For more options, visit https://groups.google.com/d/optout.