I got it to work:

  #lang scribble/manual
  @(require scribble/core scribble/eval foo)
  ...
  @(define my-eval (make-base-eval))
  @interaction-eval[#:eval my-eval (require foo)]
  @examples[#:eval my-eval
    (magic)
  ]

Thank Ben Greenman for your 2017-09-24 reply to jos.koot ("repeated code in 
interactions of scribble"), which gave me a clue.

Geoff

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