7.2
15 Variables
These are one of my favourite things about programmatic documentation.
In this presentation, I use a few variables. Below is the source code to my "config.scrbl" file, which containts my title page information:
#lang scribble/manual @(require pict) @(provide (all-defined-out)) @(define workshop-title @bold{Meet Racket, I mean Scribble}) @(define name "Jesse Laprade") @(define email "jesselaprade@gmail.com") @(define awesome-banner (map (lambda (x) (colorize (filled-ellipse 60 60) x)) '("red" "orange" "yellow" "green" "blue" "indigo" "violet")))
And the source code to my "reusables.scrbl":
#lang scribble/manual @(provide (all-defined-out)) @(define racket @hyperlink["https://racket-lang.org/"]{Racket}) @(define section-organization "This section consists of the following subsections:")