[racket] Scribble and itemlists

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Wed Jan 21 16:28:18 EST 2015

One more thing on the wish list: Being able to use non-numbers
in the ordering would be nice. Then this would be possible:

   1.   Foo
   2.   Bar
   3a. Baz
   3b. Qux
   4.   Done


2015-01-21 15:18 GMT+01:00 Matthew Flatt <mflatt at cs.utah.edu>:
> 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



-- 
--
Jens Axel Søgaard


Posted on the users mailing list.