[racket] [slideshow/code] typesetting comments

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Fri Jul 1 09:13:30 EDT 2011

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!
> 




Posted on the users mailing list.