On Tue, Jul 30, 2019 at 10:40:34PM -0400, Hendrik Boom wrote:
> On Tue, Jul 30, 2019 at 04:04:38PM -0400, Ben Greenman wrote:
> > > Now for the next problem.  If I @include-section, an occurrence of
> > > redtext in the included section is recognised as an unbound identifier.
> > > Evidently I need to say something to get included sections to inherit
> > > bindings fro the main file.
> > 
> > `include-section` is much closer to Racket's `require` than TeX's `include`
> 
> I see.
> 
> So the included section has to do its own definition of redtext, or require
> it from a common source.

IT WORKS NOW.

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.

I'm in the process of converting a huge multifile manuscript from 
another adhoc and incomplete document compiler that also uses a 
(partly incompatible) version of @-markup.  Now that the performance 
aspects of scribble have been dealt with, it's feasible.  I'm looking 
forward to using it.


-- 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 racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20190731143643.bqvnwf3kripepg6i%40topoi.pooq.com.

Reply via email to