[racket] Making a section optional in Scribble
Is there an easy way to include / exclude a section based on a flag?
E.g. In the following example, I want to include section two for some folk,
but not for others.
#lang scribble/base
@section{Section one}
Section one is for everyone.
@(when some-condition
@section{Section two}
"Section two is for some, but not all.")
I've tried splitting section two into a second file and conditionally
including it, but that caused level confusion.
Thanks
Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20141217/60171b8c/attachment.html>