papyri / navigator

Code for the Papyrological Navigator
http://papyri.info
Other
7 stars 7 forks source link

Feature request: more punctuation gtypes with content #136

Open samosafuz opened 2 years ago

samosafuz commented 2 years ago

Given how elegantly Hugh's fix for combinations of scribal/editorial apostrophe works, via the gtype with content (i.e., <g type="apostrophe">’</g>), I wonder how complicated it would be to support other combinations, too: the gtypes high-punctus, low-punctus, dipunct, hypodiastole, diastole, and middot can also appear in conjunction with editorial punctuation (period, comma, raised dot, apostrophe, semicolon/question-mark), and so it would be nice if these elements could have content, too.

Is it possible to expand the XSLT to support them, along the following pattern?

jcowey commented 1 year ago

*middot,:*