Success! coloured text in a scribble document!

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 11:55:24AM -0400, Ben Greenman wrote:
> Here is a working example. I'm testing by running "scribble --html
> color-test.rkt"
> 
> #lang scribble/manual
> 
> @(require scribble/core scribble/base)
> 
> @(define (colorize #:color c . content)
>     (elem #:style (style #f (list (color-property c)))
>           content))
> 
> @colorize[#:color "red"]{WARNING}

Thank you!  I finally got some red text.

What puzzles me anout this one is that I get, in extremely small type, 
the text "v6.1" at the top of the page.  It seems to originate from 
the element

<span class="versionNoNav">6.1</span>

in the generated HTML.  Is this scribble sticking its version number 
into the text?  or Racket's?  Is this a consequence of using

#lang  scribble/manual

instead of something else? 

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