My guess is that "(define" does something special to figure out where to
insert newlines in the rendered document.

On Thu, Nov 23, 2017 at 9:13 AM, Jos Koot <jos.k...@gmail.com> wrote:

> My code:
>
> #lang scribble/manual
>
> @(require
>   scribble/core
>   scribble/eval
>   racket
>   (for-label racket)
>   (for-syntax racket))
>
> @elemtag["rearrangement" "Not important."]
> @interaction[
> (require racket)
> (code:comment #,(list "Procedure " (racket in-permutations)
>  " produces a sequence of " @elemref["rearrangement" "rearrangements"]
> "."))
> (define (a)
>  (code:comment #,(list "Procedure " (racket in-permutations)
>  " produces a sequence of " @elemref["rearrangement" "rearrangements"]
> "."))
>  (in-permutations '(1 2 3)))
> (a)]
>
> Produces the attached HTML.
>
> Why is there a blank line following the comment within the definition?
> The blank line does not appear after the comment preceding the definition.
>
> Windows 7 Home Premium,
> DrRacket, version 6.11.0.2--2017-11-12(b54ea8c5b1/a) [3m].
> Language: scribble/manual [custom]; memory limit: 4000 MB.
>
> Thanks, Jos
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to