#387 allow <head> in more places in div*, table, and list

AMBER
closed-wont-fix
1(low)
2014-11-18
2012-09-19
Kevin Hawkins
No

Currently <head>, if present, must be the first child of a <div*>, a <table>, or a <list> but not of a <figure>. This is inconsistent. While some argue that TEI need not support encoding whose XML serialization corresponds to the order of text as it appears in the source document, we currently support this for <figure> but not the others, which needlessly complicates the life of those who wish to encode in the order that text appears on the page.

Here's a straightforward example. If a scholarly text contains "figure 1" which is actually a list or a table, for which the heading "figure 1" appears below the list or table, there is no way to encode the <head> after the <list> or <table> even though this is easier to render and easier to process, especially if "figure 1" crosses page boundaries. While one could of course wrap the <list> or <table> in a <figure> element, which does allow <head> at the end, I believe this would be tab abuse committed against <figure>, which as explained in section 14.4 is meant for "graphic images within a document".

The case for doing this in div* as well is harder to make, but I imagine less conventional texts sometimes have headings that don't appear in the "right" place in the source document.

Discussion

  • I'd rather change the definition of <figure> to say that its for discrete floating objects; but I may be in a minority. I'd certainly put a list or a table inside a <figure> if I saw a "Figure 1" caption.

     
  • James Cummings
    James Cummings
    2013-01-08

    Assigning to sbauman and setting Group as RED as will need significant clarification and agreement.

     
  • James Cummings
    James Cummings
    2013-01-08

    • milestone: --> RED
    • assigned_to: nobody --> sbauman
     
  • Paul Schaffner
    Paul Schaffner
    2013-11-13

    I think the easier solution is to allow trailer in table and list. This would meet the need for a 'head' that appears at the end. A trailer IS a head that appears at the end of a div (etc.)

     
  • James Cummings
    James Cummings
    2013-11-13

    Council face-to-face 2013-11 assigns to PS and sets to Amber.

     
  • James Cummings
    James Cummings
    2013-11-13

    • assigned_to: Syd Bauman --> Paul Schaffner
    • Group: RED --> AMBER
    • Priority: 5 --> 1(low)
     
  • James Cummings
    James Cummings
    2014-11-18

    • status: open --> closed-wont-fix
     
  • James Cummings
    James Cummings
    2014-11-18

    Council meeting in Raleigh 2014-11-18 decides that trailer (in list and table etc.) answers most of these use cases.