On 01/18/2018 05:12 PM, racoon wrote:
> Hi,
>
> I boldly tried to add all enumerated items to the outliner by adding
> the following to the Local Layout:
>
>
> OutlinerName enum "Enumerates"
>
> Style Enumerate
>     CopyStyle Enumerate
>     AddToToc enum
>     IsTocCaption true
> End
>
>
> Unfortunately, it seems not to work. And I am wondering whether this
> is as intended or not.
>
> First, when adding different items to a list, like
>
> 1. One
> 2. Two
> 3. Three
>
> They do not get separated in the toc. The output will be one item that
> reads
>
> 1. One 2. Two 3. Three

I don't think anyone had using enums in mind when writing this code.
There will need to be some special handling for this case. Please file a
bug.

> Second, the toc item gets updated only after a new item or paragraph
> is started after it. So if one only writes
>
> Test
> 1. One
>
> and then does not add another paragraph after it but sets the cursor
> only back to the first "Test" line, then no item is generated.

There are some TOC bugs involving missing updates. This looks like another.

Richard

Reply via email to