[racket] "Don't New Line" in scribble/text

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Nov 26 14:17:09 EST 2012

5 hours ago, Matthew Flatt wrote:
> 
> When I try
> 
>  #lang scribble/text
>  blah blah blah
>  @(define f "woo")
>  @f @f @f
> 
> I get
> 
>  blah blah blah
>  woo woo woo
> 
> because space after a definition is ignored. So, I'm not sure I
> understand the example.

Yeah -- it should discard the newline after a (block of) definition(s)
-- perhaps you had other forms as Matthew showed later.

Also, the line-comment thing in scribble consumes everything upto and
including the newline, so it's the same as `%' in tex and `dnl' in m4,
except that it is a syntactic comment in scribble -- so it's not a
"command" in the m4 sense (or an active character or whatever tex
calls it).  The upshot of that is that you can't "redefine" it to do
something else.  (BTW, since this is all at the syntax level, it's
applicable to any scribble syntax, including the documentation
system.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.