#12 <figBody>

closed
Lou Burnard
5
2004-09-22
2004-08-11
Andreas Nolda
No

Please add a <figBody> child to <figure>, which in turn
can have <tree>, <eTree> or similar elements as
children.

Discussion

  • Lou Burnard
    Lou Burnard
    2004-08-15

    Logged In: YES
    user_id=1021146

    Please could you expand this suggestion, preferably giving a
    usage example? The <figure> element does of course have
    content. As I asked in my earlier note, would it not be easier
    to represent a <tree> using the SVG vocabulary?

     
  • Andreas Nolda
    Andreas Nolda
    2004-08-16

    Logged In: YES
    user_id=950793

    Here is an example:

    <figure>
    <head>An example</head>
    <figBody>
    <eTree>
    <eLabel>S</eLabel>
    <eTree>
    <eLabel>Int</eLabel>
    <eLeaf>
    <eLabel>hello</eLabel>
    </eLeaf>
    </eTree>
    <eTree>
    <eLabel>N</eLabel>
    <eLeaf>
    <eLabel>world</eLabel>
    </eLeaf>
    </eTree>
    </eTree>
    </figBody>
    </figure>

    A typical formatting of this <figure> element would be:

    S
    /\
    Int N
    | |
    hello world

    Figure 1: An example

    In P4, a <figure> can have the following children (apart from
    globally included elements): <head>, <figDesc>, <p>, and
    <text>. According to chap. 22, none of those is appropriate
    as a container for the *graphics* (e.g., <eTree> or SVG
    content) itself.

     
  • Lou Burnard
    Lou Burnard
    2004-09-01

    Logged In: YES
    user_id=1021146

    Thank you for the example. I am about to submit a proposal
    for an enhanced <figure> element which I think will address
    this and other cases.

     
    • assigned_to: nobody --> louburnard
     
  • Lou Burnard
    Lou Burnard
    2004-09-22

    • status: open --> closed