Re: [racket-users] Include Documentation from a scribble/lp2 File: "identifier `doc' not included [...]" Error

2017-11-29 Thread Ben Greenman
> * Would have never been able to deduce this from the info you referenced... Good point. Here's a pull request for changing the docs: https://github.com/racket/scribble/pull/154 -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe

Re: [racket-users] Include Documentation from a scribble/lp2 File: "identifier `doc' not included [...]" Error

2017-11-29 Thread Christian
> > Try changing the include-section to import the `doc` submodule: > > @include-section[(submod "sub-scribble.rkt" doc) > > > I got this idea from the 2nd paragraph of the "scribble/lp2 language" > docs: > http://docs.racket-lang.org/scribble/lp.html#%28mod-path._scribble%2Flp2%29 > *

Re: [racket-users] Include Documentation from a scribble/lp2 File: "identifier `doc' not included [...]" Error

2017-11-29 Thread Ben Greenman
Try changing the include-section to import the `doc` submodule: @include-section[(submod "sub-scribble.rkt" doc) I got this idea from the 2nd paragraph of the "scribble/lp2 language" docs: http://docs.racket-lang.org/scribble/lp.html#%28mod-path._scribble%2Flp2%29 On Wed, Nov 29, 2017 at 7:15

[racket-users] Include Documentation from a scribble/lp2 File: "identifier `doc' not included [...]" Error

2017-11-29 Thread Christian
overview.scrbl: #lang scribble/base @include-section["sub-scribble.rkt"] sub-scribble.rkt: #lang scribble/lp2 @title{Sub Scribble!} Oh yeah. @chunk[<*>] gives: only-in: identifier `doc' not included in nested require spec in: "sub-scribble.rkt" * What to do to include the documentation part