Re: still trying to get coloured text in scribble

Hendrik Boom <hendrik-e9JHxFxFq/[email protected]>
Newsgroups gmane.comp.lang.racket.user,gmane.lisp.scheme.plt
Message-ID <[email protected]>
On Thu, May 26, 2016 at 10:35:30AM -0400, Brian LaChance wrote:
> 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.

Thank you.

duhh.. yes.  I figured it out just now and opened my email to report 
my stupidity and found your message.

> 
> >
> > 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.

Yes, I did get that contract violation.  But had no idea what list I 
had to have.  Fortunately, I allso found a working exam0le in my 
email.

-- hendrik


> 
> -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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.