Re: [racket-users] still trying to get coloured text in scribble

2016-05-26 Thread Hendrik Boom
On Thu, May 26, 2016 at 10:35:30AM -0400, Brian LaChance wrote: > On Tue, May 24, 2016 at 9:14 PM, Hendrik Boom wrote > > ``` > > #lang scribble/base > > (require scribble/core) > > The "require" is missing a @---change it to @(require scribble/core) > and your unbound

Re: [racket-users] still trying to get coloured text in scribble

2016-05-26 Thread Brian LaChance
On Tue, May 24, 2016 at 9:14 PM, Hendrik Boom 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

Re: [racket-users] still trying to get coloured text in scribble

2016-05-24 Thread Hendrik Boom
On Tue, May 24, 2016 at 08:17:01PM -0400, Leif Andersen wrote: > Ya, we should probably have a `color` function in scribble/base. > Currently you actually have to use `color-property` found in > `scribble/core`. > > You could make your own colorize function like so: > > ``` > (define (colorize

Re: [racket-users] still trying to get coloured text in scribble

2016-05-24 Thread Leif Andersen
Ya, we should probably have a `color` function in scribble/base. Currently you actually have to use `color-property` found in `scribble/core`. You could make your own colorize function like so: ``` (define (colorize #:color c . content) (elem #:style (style #f (color-property c)