oracc / oracc

All the sources and documentation for Oracc
GNU General Public License v2.0
13 stars 8 forks source link

Erasures not displaying in the appropriate place #13

Open jnovotny-lmu opened 8 years ago

jnovotny-lmu commented 8 years ago

Erasure notations in transliterations do not always display in the correct place. For example, if the erasure appears in the middle of the word, it appears at the end of the word in the pager and in a generated PDF.

This issue is best illustrated by http://oracc.museum.upenn.edu/rinap/scores/Q003708/score?sb.Q003708.443, ex. 2. In the ATF file, the transliteration has šal-la-ar-($erasure$)-šú but it is displayed as šal-la-ar-šú (erasure); the proper rendering should be šal-la-ar-(erasure)-šú.

After this is corrected, the documentation needs to be updated. I do not see information on this in the http://oracc.museum.upenn.edu/doc/help/editinginatf/primer/inlinetutorial/index.html or http://oracc.museum.upenn.edu/doc/help/editinginatf/quickreference/index.html.

stinney commented 7 years ago

This is fixed so I'm changing category to doco

jnovotny-lmu commented 7 years ago

I am returning this to a bug as the fix is not complete. The fix does not take into account blank spaces after determinatives, i.e., {m}($blank$). The fix -- at the cost of accuracy of the transliteration (by removing hyphens) and the loss of lemmatisation -- is less than ideal and needs work.