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

From: Tim Brown (tim.brown at cityc.co.uk)
Date: Mon Nov 26 06:02:04 EST 2012

Hi all,

I'm trying to use scribble as a text preprocessor, and I need fine control
over where my newlines are produced.

If (e.g.) I define a new constant in the document:

blah blah blah
@(define f "woo")
@f @f @f

I end up with a blank line (i.e. the newline from the end of the define
line is transcribed:

blah blah blah

woo woo woo

The "m4" macro package has a command "dnl" which suppresses the newline
at the end of a line that was written for the macro package's benefit.

Is there something similar in scribble?

I don't really want to be doing things like:
blah blah blah
@(define f "woo"
)@f @f @f


[tim-brown on #racket, if you want to poke me there]

Tim Brown <tim.brown at cityc.co.uk>  | City Computing Limited            |
T: +44 20 8770 2110                | City House, Sutton Park Road      |
F: +44 20 8770 2130                | Sutton, Surrey, SM1 2AE, GB       |
BEAUTY:  What's in your eye when you have a bee in your hand           |
City Computing Limited registered in London No. 1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT number 372 8290 34.

Posted on the users mailing list.