Menu

#474 Examples on gap use @extent instead of @quantity

GREEN
closed-accepted
5
2012-11-22
2012-11-15
No

The examples in the spec page for gap (http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-gap.html) both use @extent with a simple number instead of @quantity, as the guidelines recommend. I propose to just change the two examples to use @quantity, if there are no objections.

(And maybe add an example showing the correct use of @extent, or is that better avoided since it's not recommended usage anyway?)

Discussion

  • Martin Holmes

    Martin Holmes - 2012-11-15

    Good idea indeed. Those examples are the first thing you see when you're wondering how to use <space>, and I've followed them myself and done <space extent="1" unit="cm"/>. I didn't realize that was strictly speaking wrong.

     
  • BODARD Gabriel

    BODARD Gabriel - 2012-11-16

    Okay, I'll take this ticket, fix the two examples in gap and try to add a more basic example in space as well.

     
  • BODARD Gabriel

    BODARD Gabriel - 2012-11-16
    • assigned_to: nobody --> gabrielbodard
     
  • BODARD Gabriel

    BODARD Gabriel - 2012-11-22
    • status: open --> closed-accepted
     
  • BODARD Gabriel

    BODARD Gabriel - 2012-11-22

    Fixed at [r11145] and added new examples.

     

    Related

    Commit: [r11145]


    Last edit: BODARD Gabriel 2013-06-24