Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#77 handling of item/@n in ordered lists

closed-rejected
1
2009-03-24
2009-03-24
James Cummings
No

In using the TEI XSL to generate slides, it sensibly uses item/@n in any ordered list if present as the number for that item.

But what it doesn't do is carry on from a new number and number successive items sequentially:

<p> And some more chapters on a new slide:
<list type="ordered">
<item n="13"> Names, Dates, People, and Places</item>
<item> Tables, Formulæ, and Graphics</item>
<item> Language Corpora</item>
...</list></p>

The first item will be numbered 13, the second 2, the third 3, etc.

What I'm suggesting is that once the numbering has been changed, the default action should be to carry on from that number. I recognise that this means someone who wants to preserve erroneous numbering as printed '1, 2, 3, 3, 4, 6' would need to put in each number rather than just the second 3 and the 4. It just seems a more intuitive default to me the other way round.

Discussion

  • Sorry, but I think this is just wrong. Your 1, 13, 2, 3 result looks to me like exactly what the input specifies. Can you show me any other formatting system which functions in the way you want?

     
    • status: open --> closed-rejected
     
  • James Cummings
    James Cummings
    2009-03-24

    I believe word-processors operating in this manner. I.e. when I change the number for an item at the start of a list it continues on from that list.

    In openoffice, I go to a document and make a numbered list
    1. test
    2. test
    3. test

    If I then go and say that the first item should start from 6 (Numbering&Bullets->Options) the successive items are numbered 7 and 8 not 2 and 3.

    It is that behaviour that I think some will find more intuitive in processing a list for output.

    *shrug* but I don't really care that much.
    -J