Re: [racket-users] SOLVED: Calling function with Scribble text as argument(s)

2019-07-31 Thread Ben Greenman
>> At the beginning of every inclided file (and there are more than fifty >> of them) I have to place the lines >> >> #lang scribble/base >> @(require "pfx.scrbl") >> >> where pfx.scrbl contains the definitions of my new @ commands. You could replace those lines with a custom #lang: htt

Re: [racket-users] SOLVED: Calling function with Scribble text as argument(s)

2019-07-31 Thread Benjamin Lerner
In cases like these, I’d just define a helper file |my-commands.rkt|, and |@(require "my-commands.rkt")| Those helper commands can use standard Racket syntax, since they’re likely to mostly be standard-looking Racket functions, and they can |(require scribble/whatever)| libraries if they need t