Skip to content

Making headway with the entry and display of Arabic in papyri.info

James M.S. Cowey edited this page Mar 11, 2016 · 6 revisions

Link back to relevant APD data

We would like to have a link to send the user back to the APD presentation of the text in question.

Using the filename in the apd files sent from APD e.g.
https://github.com/jcowey/apd.data/blob/master/apd_text/Grohmann_Apercu_p_41.xml#L11

which is turned into a <idno type=”APD”>Grohmann_Apercu_p_41</idno>
in
https://github.com/papyri/idp.data/blob/master/DDB_EpiDoc_XML/sb/sb.6/sb.6.9576.xml#L19

I would like to use the content of the <idno type=”APD”> tag in order to build a link back to the relevant APD text.
To be surfaced under “related sources” like GLRT
e.g.
http://papyri.info/ddbdp/bgu;1;39

Ticket for this is: #9

Make sure that xml:lang="ara" is available in Leiden+ / sosol

this is to allow us to declare Arabic as the prioritised OR only language of the file entered e.g. in:
https://github.com/papyri/idp.data/blob/master/DDB_EpiDoc_XML/cpr/cpr.3/cpr.3.38.xml#L59
we have
<div xml:lang="grc" type="edition" xml:space="preserve"><ab>
if we were to change to
<div xml:lang="ara" type="edition" xml:space="preserve"><ab>
and then use <foreign xml:lang=”grc”> in the lines where Greek is used
the Editor refused to validate
At present it validates because grc is declared as the “main” language.

Ticket for this is #80.
Now done: 48e5a9f

LTR / RTL problems

Specific example:
http://papyri.info/ddbdp/cpr;3;38
CPR 3 38 lin4-5 appear as

لا إله إلّا اللّه [وحده لا شريك له]
5 لم يلد ولم يولـ[ـد ولم يكن له كفوا أحد]

it should be (in LTR terms: the “closing sqare bracket” at the “end” of the line should be an “opening square bracket” at the “beginning” of the line):

see the googledoc for details (Google knows how to display ;) )

LTR / RTL examples

Ticket for this is #86

List of six DDB files where there is Arabic entry

http://papyri.info/ddbdp/p.lond;4;1346
http://papyri.info/ddbdp/p.lond;4;1353
http://papyri.info/ddbdp/p.lond;4;1378
http://papyri.info/ddbdp/sb;1;5638
http://papyri.info/ddbdp/sb;6;9576
http://papyri.info/ddbdp/cpr;3;38