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


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 
>

* Great, thanks!

* Would have never been able to deduce this from the info you referenced...

Cheers,
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.


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