[racket] Scribble and itemlists

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 21 09:18:29 EST 2015

There's not currently a way to specify the counter start for an ordered
`itemlist`. I think you'd have to work at the level of style names and
back-end customizations.

It makes sense to add support for a starting number to `itemlist`, and
so I'll add something.

At Tue, 20 Jan 2015 19:55:22 +0100, Jens Axel Søgaard wrote:
> Hi All,
> 
> I am attempting to write the following with itemlist:
> 
> Some text
>   1. Foo
>   2. Bar
>   Since yada yada, we have:
>   3. Qux
> 
> Here is what I tried:
> 
> @nested[#:style 'inset
>   @itemlist[#:style 'ordered
>     (list
>      @item{Foo}
>      @item{Bar})]
>   @para{Since yada yada, we have:}
>   @itemlist[#:style 'ordered
>     (list
>      @item{Qux})]]
> 
> 
> The result is:
>   1. Foo
>   2. Bar
>    Since yada yada, we have:
>   1. Qux
> 
> Is there a way to get the itemlist counter count from a an index other than 0?
> Or is there another a good way of interjecting a comment in between items?
> 
> --
> Jens Axel Søgaard
> 
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users


Posted on the users mailing list.