[plt-scheme] Scribble "SCHEMEBLOCK" that doesn't interpret Scribble markup

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Feb 24 20:52:14 EST 2009

On Tue, Feb 24, 2009 at 7:00 PM, Neil Van Dyke <neil at neilvandyke.org> wrote:
> Matthew Flatt wrote at 02/24/2009 07:42 PM:
>>
>> Ah. The enclosed module exports `code-block' and `code-elem', which is
>> a rough version of what you want (I think). Use it like this:
>>
>
> Thanks, Matthew.  You didn't have to do all that.
>
> I hate to say it now, but I think that, rather on distributing ".scrbl" that
> are dependent on this big hunk of code, I should instead just have the
> "@"/"{"/etc. properly escaped in my ".scrbl" files.
>
> Since these ".scrbl" files are generated programmatically, I think I need to
> make the generator do the escaping.

Did you consider using macros to generate the scribble?

Or can you say more about how this is being generated?

Robby

> If a future version of Scribble gets a "SCHEMEBLOCK/verbatim" form, that
> would be ideal.  And, as far as I can tell, it would be the form people
> would normally want to use for blocks of Scheme code.  I think that wanting
> to add manual markup in a block of Scheme code is the exception.
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.