[racket] Getting the behavior of scribble/doclang2, but without decode
I think it would make sense to add an option to `scribble/doclang2'
(and `scribble/doclang') to replace `decode'. I've added that to my
to-do list, in case no one gets to it first.
At Sun, 26 May 2013 15:42:52 -0700, Matthew Butterick wrote:
> When you use scribble/doclang2 in a submodule, it provides the textual
> content of the submodule with the symbol 'doc. However, it first passes the
> content through the scribble decoder.
>
> I'd like to get the behavior of scribble/doclang2, but without the decode
> step (so I just get the raw textual content from 'doc.)
>
> I cloned the source for scribble/doclang and scribble/doclang2 under new
> names and just yanked out the call to decode. That worked.
>
> But I'm wondering if there's a more elegant way of circumventing decode.
>
> Scribble/doclang2 allows you to set a #:post-process step, but only after
> decode.
>
> Also, scribble/text is not the answer, because it can't be used as a
> submodule language.
>
> Thanks.
>
> Matthew Butterick
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users