On Sun, Nov 03, 2019 at 02:46:42PM -0800, William J. Bowman wrote: > I think ‘elem’ will do what you want.
Indeed. Thank you. That works. But I haven't been able to find where 'elem' is documented. -- hendrik > > -- > Sent from my phoneamajig > > > On Nov 3, 2019, at 14:07, Hendrik Boom <[email protected]> wrote: > > > > I've tried defining a function that reads a file, and then tries to > > pass it back to be part of a scribble document. > > > > Unfortunately, the list returned needs to be processed somehow before I > > can return it. > > > > Just returning the raw text results in complaints. Apparently a list > > of items needs to bave some kind of prefix or wrapper is if it to be > > accepted. > > > > I can get it to work by applying italic to it: > > > > (define (include-here s) > > (let* ((in (open-input-file s)) > > (text (read-inside in)) > > ) > > (apply italic text) > > ) > > ) > > > > This works just fine, except that I do not want italics. > > I really want not to specify a style at all. > > Is there some kind of wrapper that lets me do that? > > > > I guess I need something like an identity wrapper. > > > > -- hendrik > > > > -- > > 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 [email protected]. > > To view this discussion on the web visit > > https://groups.google.com/d/msgid/racket-users/20191103220714.grt7v4tojaudvgmu%40topoi.pooq.com. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/20191104003409.j4pjzowlxng5lcje%40topoi.pooq.com.

