jcowey / P3

This is now a collection point for the Papyrological Publishing Platform (P3). To be found here are the files which are used to produce articles in the journal Pylon.
2 stars 3 forks source link

Schubert: figure/head/list/item table. #4

Open jcowey opened 2 years ago

jcowey commented 2 years ago

In the Schubert article the following sections has to be rendered in XML:

Bildschirmfoto 2021-10-15 um 11 38 48

Before the rows and cells of the actual table start, there are some explanatory comments made about the cells, which effectively form part of a list. My first stab at this is to use noteGrp with note for each comment in the list.

See: https://github.com/jcowey/P3/blob/master/pylon/pylon1schubert/schubert_liturgy_geography.xml#L273-L312.

               <table>
                  <head>Table 2: nominations to liturgy, approvals of liturgy, and liturgical oaths (2nd – 3rd c. CE)</head>       
                  <noteGrp>
                     <note>The format (pagina or demotic style) was assessed according to the general shape of the sheet, not by an exact calculation of the width/height ratio.</note>
                     <note>Fragmentary documents were omitted, unless enough was preserved to determine if they were prepared in the pagina or demotic style format.</note>
                     <note>In the columns “pagina format” and “demotic style format”, some documents are labelled as abstracts and copies. Strictly speaking, they are irrelevant for the present purpose, but they were kept in the table in order to provide a more balanced impression of the available data.</note>
                     <note>In the columns “nomination” and “approval”, bold characters indicate documents with a top space left free for the approval (or filled with the approval).</note>
                  </noteGrp>
                  <row>
                     <cell style="text-align: justify;">reference</cell>

Suggestions, improvements?

jcowey commented 2 years ago

Each note should probably have a xml:id, if we want to be able to refer to any specific note / sentence

jcowey commented 2 years ago
 <figure>
    <head>Table 2: nominations to liturgy, approvals of liturgy, and liturgical oaths (2nd – 3rd c. CE)</head>             
    <list>
       <item xml:id n="n1">The format (pagina or demotic style) was assessed according to the general shape of the sheet, not by an exact calculation of the width/height ratio.</note>
       <item xml:id n="n2">Fragmentary documents were omitted, unless enough was preserved to determine if they were prepared in the pagina or demotic style format.</note>
       <item xml:id n="n3">In the columns “pagina format” and “demotic style format”, some documents are labelled as abstracts and copies. Strictly speaking, they are irrelevant for the present purpose, but they were kept in the table in order to provide a more balanced impression of the available data.</note>
       <item xml:id n="n4">In the columns “nomination” and “approval”, bold characters indicate documents with a top space left free for the approval (or filled with the approval).</note>
    </list>
    <table>
       <row>
          <cell style="text-align: justify;">reference</cell>
       ...
       </row>
    </table>
 </figure>
jcowey commented 2 years ago

This should not be a figure at all. Can we put list with its items between head and table ?