Lauri Auronen wrote:
> 
> While we have generally been happy with the results of the conversion,
> we have some concerns over the list creation behaviour. We found this
> paragraph in the user guide:
> 
> "Lists
> Both bulleted and numbered lists are supported. XFC tries to infer the
> numbering style from the label of the
> first list item. If the numbering style cannot be recognized list items
> are output as plain paragraphs. Nested lists
> are supported."
> 
> According to our tests, some lists are created as automatically numbered
> lists and some list labels are created as plain text.
>
> In our use scenario the result documents will be edited on and thus having
> automatically numbered lists is critical for the usability of the
> documents. Our findinds are as follows:
> 
> - Created as lists:
>         1, 2, 3
>         (1), (2), (3)
>         A, B, C
>         (A),(B), (C)
>         i, ii, iii
> 
> - Created as plain text:
>         2.1, 2.2, 2.3
>         5, 6, 7,
>         C, D, E,
>         ii, iii, iv
> 

That's right. We currently use the following very simple heuristic:

Take the textual contents of the first fo:list-item-label of the
fo:list-block. If it looks like "1" then generate an ordered list
numbered using Arabic numbers. If it looks like "a" then generate an
ordered list numbered using lower-alpha characters, etc. Otherwise,
generate a ``non-typed list''.

Note that "a) b) c)" is already properly detected by the above
heuristic, as well as a number of other common cases.

In all cases, the generated lists look good when rendered by Word,
however some of them indeed do not behave as native lists when you edit
them in the word processor.



> Do you currently have plans to extend the list style recognition to
> support a) multi-level styles (2.1, 2.2, 2.3) and b) starting list
> numbering from other items than 1, A, i etc. (5, C, ii)?
> 

We indeed plan to improve the above heuristic in the next *major*
release of XMLmind XSL-FO Converter and/or support a proprietary
attribute (e.g. xfc:list-type="1", "a", "A", "i", "I") specifying the
type of the list.

However be warned that:

[1] The next major release of XFC is not expected before several months.

[2] We may *fail* to implement part or all the features you need. This
has already happened in the past and some customers/prospects went mad
because we weren't able to keep our promises.


 
--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to