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 AM, Christian <7enderh...@gmail.com> wrote:
> 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 from a scribble/lp2 file?
>
> Thanks,
> Christian
>
> --
> 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.

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