Re: [racket] [slideshow/code] typesetting comments

2011-07-01 Thread Eli Barzilay
8 minutes ago, Danny Yoo wrote: > On Fri, Jul 1, 2011 at 9:13 AM, Eric Tanter wrote: > > I tried: > > > > #lang slideshow > > > > @slide[ > >  @t{Blah blah}] > > Try: > > ;;; > #lang at-exp slideshow > @slide[@t{Blah blah}] > ;;; >

Re: [racket] [slideshow/code] typesetting comments

2011-07-01 Thread Robby Findler
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 wrote: > I tried: > > #lang slideshow > >

Re: [racket] [slideshow/code] typesetting comments

2011-07-01 Thread Danny Yoo
On Fri, Jul 1, 2011 at 9:13 AM, Eric Tanter wrote: > I tried: > > #lang slideshow > > @slide[ >  @t{Blah blah}] Try: ;;; #lang at-exp slideshow @slide[@t{Blah blah}] ;;; The "@" feature is enabled by the use of the 'at-exp' in the

Re: [racket] [slideshow/code] typesetting comments

2011-07-01 Thread Eric Tanter
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 wro

Re: [racket] [slideshow/code] typesetting comments

2011-06-30 Thread Eli Barzilay
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: > > >

Re: [racket] [slideshow/code] typesetting comments

2011-06-30 Thread Eric Tanter
Hi Matthew, > The problem in your initial message isn't really specific to comments. Good point, I didn't test it with non-comments... > I had successfully ignored the problem for years, :) but now I've > pushed a fix. Thanks! > The second comment-specific problem is also fixed, though it prob

Re: [racket] [slideshow/code] typesetting comments

2011-06-30 Thread Matthew Flatt
The problem in your initial message isn't really specific to comments. The `code' form also had trouble with (code (a b c) d) moving the `d' to the next line --- but the problem mostly shows up with comments. I had successfully ignored the problem for years, :) but now I've pushed a f

Re: [racket] [slideshow/code] typesetting comments

2011-06-30 Thread Eric Tanter
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

Re: [racket] [slideshow/code] typesetting comments

2011-06-30 Thread Eli Barzilay
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)

Re: [racket] [slideshow/code] typesetting comments

2011-06-30 Thread Eric Tanter
To add to the strangeness, if one tries the following: (code (λ (x) 1 (code:comment "1") )) Then the output is not well-formed: (λ (x) 1 ; 1 -- Éric On Jun 30, 2011, at 11:42 AM, Eric Tanter wrote: > Hi, > > There is something strange with the way comments are rendered. > > Conside