eXistSolutions / LGPN

1 stars 0 forks source link

Various non-rendering diacritics #310

Closed tuurma closed 1 year ago

tuurma commented 1 year ago

‘bdʾ

‘ Left Single Quotation Mark codepoint 8216 V6: 252 cases

ʾ Modifier Letter Right Half Ring codepoint 702 V6: 12 cases

http://clas-lgpn4.classics.ox.ac.uk:8080/exist/apps/lgpn-editor/editor.xhtml?id=Pb8cb54f6-bfe9-4f46-9cf8-0c1f9b1e7d3f

image

ʿbdʾ

ʿ Modifier Letter Left Half Ring V6: 8 cases

http://clas-lgpn4.classics.ox.ac.uk:8080/exist/apps/lgpn-editor/editor.xhtml?id=P4b45ea7f-ef3d-4c86-ac89-7c94d15d7f67

image

ʼsydwrʼ

ʼ codepoint 700 Modifier Letter Apostrophe V6: 7 occurrences

http://clas-lgpn4.classics.ox.ac.uk:8080/exist/apps/lgpn-editor/editor.xhtml?id=Pc536150d-2901-47b4-9841-d982e8b982f6

image
tuurma commented 1 year ago

There are also cases in place names,

like

ʼ codepoint 700 Modifier Letter Apostrophe 3 cases

Madāʼin Ṣāliḥ, SRMDʼ, Qaṣr Abī Samrāʼ

ʾ Modifier Letter Right Half Ring codepoint 702

ʾzmyn. (syr variant of Azmīn)

image
tuurma commented 1 year ago

Converted following Michael's reommendation

For consistency, and on the assumption that it would also make things easier for typesetting, it would be best to replace “modifier letter left half ring” with ”left single quotation mark”, and “modifier letter right half ring” with “right single quotation mark”, and “modifier letter apostrophe” with “right single quotation mark”.

tuurma commented 1 year ago
declare namespace tei="http://www.tei-c.org/ns/1.0";

for $i in collection('/db/apps/lgpn-data/data/persons/V6')//tei:persName[contains(., 'ʿ') or contains(., 'ʾ') or contains(., 'ʼ')]

let $n := $i
let $update := translate($n, 'ʿʾʼ','‘’’')

return 
   ( 

(:    update value $i with $update,:)
    $n || ' --- ' || $update)