On Tue, Jul 30, 2019 at 04:04:38PM -0400, Ben Greenman wrote:
> > Now for the next problem. If I @include-section, an occurrence of
> > redtext in the included section is recognised as an unbound identifier.
> > Evidently I need to say something to get included sections to inherit
> > bindings fro
> Now for the next problem. If I @include-section, an occurrence of
> redtext in the included section is recognised as an unbound identifier.
> Evidently I need to say something to get included sections to inherit
> bindings fro the main file.
`include-section` is much closer to Racket's `require
On Tue, Jul 30, 2019 at 08:08:39PM +0200, Jens Axel Søgaard wrote:
> Den tir. 30. jul. 2019 kl. 19.02 skrev Hendrik Boom >:
>
> > I've found this as an example for getting coloured text:
> >
> > #lang scribble/base
> >
> > @(require scribble/core)
> >
> > @(define (colorize #:color c
Den tir. 30. jul. 2019 kl. 19.02 skrev Hendrik Boom :
> I've found this as an example for getting coloured text:
>
> #lang scribble/base
>
> @(require scribble/core)
>
> @(define (colorize #:color c . content)
> (elem #:style (style #f (list (color-property c)))
>
I've found this as an example for getting coloured text:
#lang scribble/base
@(require scribble/core)
@(define (colorize #:color c . content)
(elem #:style (style #f (list (color-property c)))
content))
@colorize[#:color "red"]{WARNING}
But what if you wa
5 matches
Mail list logo