[plt-scheme] scribble, itemize within itemize

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Feb 11 20:14:32 EST 2008

At Mon, 11 Feb 2008 20:02:54 -0500, "Geoffrey S. Knauth" wrote:
> I got this error:
> 
>   [Running /Users/gknauth/test/plt/projects/doc-collects/doc-parser- 
> tools/parser-tools.scrbl]
> setup-plt: Docs failure: itemize: expected an item, found something  
> else: #<procedure:itemize>
> 
> when I tried to do this:
> 
> @itemize{
>    @item{apple blah blah blah}
>    @item{orange blah blah blah}
>    @item{banana blah blah blah}
>    @item{mango blah blah blah}
>    @itemize{
>      @item{mango-pudding blah blah blah}
>      @item{mango-juice blah blah blah}
>      @item{mango-ice-cream blah blah blah}
>    }
> }
> 
> Is it possible to do @itemize within another @itemize?

Yes, if you put it in an item:

 @itemize{
    @item{apple blah blah blah}
    @item{orange blah blah blah}
    @item{banana blah blah blah}
    @item{mango blah blah blah}
    @item{@itemize{
           @item{mango-pudding blah blah blah}
           @item{mango-juice blah blah blah}
           @item{mango-ice-cream blah blah blah}}}
 }
 

Matthew



Posted on the users mailing list.