Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No column- nor row-spanning examples? #1946

Open
sydb opened this issue Nov 20, 2019 · 4 comments
Open

No column- nor row-spanning examples? #1946

sydb opened this issue Nov 20, 2019 · 4 comments
Assignees

Comments

@sydb
Copy link
Member

sydb commented Nov 20, 2019

Unless I’ve missed something, there are no examples (at all) of the use of @cols or @rows on any element other than <table> in the entirety of the Guidelines. This seems problematic.

I used //*[@cols or @rows], and found 5 <table>s, each of which has both attrs, and each of which looks like it is probably an example (i.e., in teix: namespace, not tei:), but I did not check.

@martindholmes
Copy link
Contributor

I suspect this is because their use on <row> and <cell> pretty much mirrors how @colspan and @rowspan work in HTML. Not an excuse for the absence of examples, of course, but possible a reason why no-one has ever struggled with it.

@martinascholger
Copy link
Member

@sydb do you have an example that we can use?

@sydb
Copy link
Member Author

sydb commented Dec 17, 2019

OK. Here is the one we (the WWP) were discussing that had me notice the lack of examples. Thanks to Jacob Murel for bringing this table to my attention.

Here is an image of part of page 21 of The ladies diary: or, the woman's almanack, for the year of our lord 1710 which is a table describing the lunar eclipse of 1710-02-02.

Ladies_Diary_1710_p21_detail_small

Here is (what I think is) a reasonable encoding. But someone who understand table models better than I might want to have a careful look.

      <table rows="7" cols="5">
        <row role="label">
          <cell/>
          <cell role="label">Ho.</cell>
          <cell role="label">Min.</cell>
          <cell role="label">Sec.</cell>
          <cell/>
        </row>
        <row role="data">
          <cell role="data">
            <supplied>T</supplied>o the Inhabitants of the City of Coventry
            <lb/>the Beginning of this Eclipſe will be at
          </cell>
          <cell role="data">8</cell>
          <cell role="data">54</cell>
          <cell role="data">58</cell>
          <cell role="label" rows="4">p.m.</cell>
        </row>
        <row role="data">
          <cell role="data"><supplied>T</supplied>he true Oppoſition is at</cell>
          <cell role="data">10</cell>
          <cell role="data">16</cell>
          <cell role="data">37</cell>
        </row>
        <row role="data">
          <cell role="data"><supplied>T</supplied>he Middle or greateſt Obſcuration at</cell>
          <cell role="data">10</cell>
          <cell role="data">21</cell>
          <cell role="data">41</cell>
        </row>
        <row role="data">
          <cell role="data">The End of the Eclipſe at</cell>
          <cell role="data">11</cell>
          <cell role="data">43</cell>
          <cell role="data">24</cell>
        </row>
        <row role="data">
          <cell role="data"><supplied>Tot</supplied>al Duration will be</cell>
          <cell role="data">2</cell>
          <cell role="data">53</cell>
          <cell role="data">26</cell>
          <cell/>
        </row>
        <row role="data">
          <cell role="data"><supplied>Th</supplied>e Digits Eclipſed</cell>
          <cell role="data">9</cell>
          <cell role="data">56</cell>
          <cell role="data">43</cell>
          <cell role="data">South.</cell>
        </row>
      </table>

Note-to-self: Padfoot:/Users/syd/Documents/tei-work/Ladies_Diary_1710_p21_detail.xcf.

@ebeshero
Copy link
Member

Council V2F agrees that @npcole should proceed with implementing this new example in the Guidelines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants