[racket] [slideshow/code] typesetting comments

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Fri Jul 1 09:24:09 EDT 2011

I think you want to read the scribble documentation for the scribble
reader (which is where the @s come from: they are another notation for
sexps; @slide[stuff] is the same as (slide stuff), for example).

Robby

On Fri, Jul 1, 2011 at 9:13 PM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
> I tried:
>
> #lang slideshow
>
> @slide[
>  @t{Blah blah}]
>
> but that gives me:
> compile: unbound identifier in module in: @slide
>
> Can you point me to the documentation for this syntax?
> (@slide does not give any result in the Help desk search)
>
> Thanks,
>
> -- Éric
>
>
> On Jul 1, 2011, at 1:51 AM, Eli Barzilay wrote:
>
>> It doesn't -- like I said, it's a side-comment that makes life easier
>> for writing slides (and one that is easy to miss).
>>
>>
>> 11 hours ago, Eric Tanter wrote:
>>> Thanks Eli, though that does not fix the two bugs I described.
>>>
>>> -- Éric
>>>
>>>
>>> On Jun 30, 2011, at 12:26 PM, Eli Barzilay wrote:
>>>
>>>> 40 minutes ago, Eric Tanter wrote:
>>>>> [...]
>>>>>
>>>>> #lang racket
>>>>> (require slideshow/code)
>>>>>
>>>>> (code
>>>>> (λ (x) 1) (code:comment "1"))
>>>>
>>>> As a side note, the scribble syntax is very useful in slideshow too.
>>>> You could get it with something like this:
>>>>
>>>> #lang at-exp racket
>>>> (require slideshow/code)
>>>>
>>>> (code
>>>>  (λ (x) 1) @code:comment{freeform text})
>>>>
>>>> or better:
>>>>
>>>> #lang slideshow
>>>> @slide[
>>>>   @t{Blah blah}]
>>
>> --
>>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>>                    http://barzilay.org/                   Maze is Life!
>>
>
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users



Posted on the users mailing list.