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

Fixed width for papyrological header cells #8

Open jcowey opened 2 years ago

jcowey commented 2 years ago

We are probably going to have to define fixed width for the cells of the papyrological header, so that the measurements are visually centred.

jcowey commented 2 years ago

Below §19 in Micucci's article:

https://digi.ub.uni-heidelberg.de/editionService/viewer/text/p3test/micucci_sb22_15472#p19

Ptolemais Euergetis should be on one line (rla)

It is on one line in the XML see here:

https://gitlab.ub.uni-heidelberg.de/verlag/PapyrologicalPublicationPlatform/-/blob/master/epidoc/Pylon_1_Micucci/micucci_sb22_15472.xml#L79-89

<table type="papyrological_header">
   <row>
      <cell style="text-align: left;">BL Papyrus 1918 + </cell>
      <cell style="text-align: center;">11.5 (w) x 21.2 (h) cm</cell>
      <cell style="text-align: right;">Ptolemais Euergetis</cell>
   </row>
   <row>
      <cell style="text-align: left;">BL Papyrus 1976</cell>
      <cell style="text-align: center;">fr. 1: 35 (w) x 21.4 (h) cm; fr. 2: 0.6 (w) x 3.4 (h) cm</cell>
      <cell style="text-align: right;">30 November 134</cell>
   </row>
</table>

The long list of measurements for the different fragments is bothering the HTML display, because there is no fixed width on the cells.