Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#218 please allow caption in db.cals.table

closed-fixed
Norman Walsh
None
5
2007-03-23
2007-01-04
Chris Chiasson
No

I suppose a compelling argument for them should be in order... well, I'll try.

One may ask why captions are necessary for something that can have a para follow it (to almost identical rendering effect).

Well, let me answer that with a rhetorical question:
Equations and figures already have captions; why are they allowed there? Well, one reason is that caption has a clear semantic meaning, especially since it is inside the element to which it refers. Another reason is that it simplifies xi:include for those elements.

All I want is to have the same capability for db.cals.table.

I have already submitted an (easily adaptable - it is actually for a customization layer - ) stylesheet patch for correct rendering of captions in cals tables.

P.S. I am quite perplexed as to why caption is used as the title of db.html.table.

Links:

DocBook mailing list thread:
please allow caption in CALS tables in DB 5
http://www.oasis-open.org/archives/docbook/200612/msg00010.html

related sourceforge item:
db5 db.cals.table w/ db-xsl-1 generates double caption
https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1579883&group_id=21935

Discussion

  • Norman Walsh
    Norman Walsh
    2007-01-04

    Logged In: YES
    user_id=81663
    Originator: NO

    The CALS table model supports some variation (for example, the content of entry), but I'm not sure that caption would be a conformant variation. Maybe if it was outside of tgroup... But, still, I'm not sure I'd be comfortable mucking with the CALS table model.

    As far as HTML, it uses caption because that's what HTML does. HTML doesn't allow a "title" element on table.

     
  • Norman Walsh
    Norman Walsh
    2007-01-04

    • status: open --> open-accepted
     
  • Chris Chiasson
    Chris Chiasson
    2007-01-04

    Logged In: YES
    user_id=1426471
    Originator: YES

    >Maybe if it was outside of tgroup...

    I've been putting the caption elements after tgroup (not inside).

    There seem to be several "new" (in db5) elements that are siblings of tgroup - and others, which performed similar roles, that went away. I am having trouble finding a (modern) schema for CALS tables. Is the CALS table model something that says "you must have these element names beneath the table element - and only these - or else"? It would seem from the shifting element names that there is some wiggle room. (?)

     
  • Robert Stayton
    Robert Stayton
    2007-02-19

    • assigned_to: nobody --> nwalsh
    • status: open-accepted --> pending-accepted
     
  • Robert Stayton
    Robert Stayton
    2007-02-19

    Logged In: YES
    user_id=193218
    Originator: NO

    On 24 January 2007, the TC approved adding a descriptive caption to the cals table and informaltable elements.

     
  • Norman Walsh
    Norman Walsh
    2007-03-23

    Logged In: YES
    user_id=81663
    Originator: NO

    Fixed in 5.0CR2

     
  • Norman Walsh
    Norman Walsh
    2007-03-23

    • status: pending-accepted --> closed-fixed