IUBLibTech / newton_chymistry

New version of 'The Chymistry of Isaac Newton', using XProc pipelines to generate a website based on TEI XML encodings of Newton's alchemical manuscripts, and Apache Solr as a search engine.
2 stars 0 forks source link

Representing deletions in `<note type="translation">` #131

Open aewingate opened 11 months ago

aewingate commented 11 months ago

We need a way to deal with the deleted text encoded in <note type="translation">. Currently, as seen below, the deleted text is printed normally despite being marked with <del rend="strike"> in the TEI.

image TEI image

The preferred result would be that this text was struck through in the pop-up in the diplomatic version and then removed in the normalized just as it works in the original untranslated manuscript.

If this isn't possible, deleting the text from both the diplomatic and normalized is the next best thing. This is also what currently happens on the P4 site.

tubesoft commented 11 months ago

Currently, the text of the pop-up is located in the @title of a <span> element (See below). Unless we change the type of pop-up into something like <bibl> or some other <note>, we cannot contain styled text. Or you can just modify the translation, like deleting the part or using some brackets. Which du you prefer?

image
tubesoft commented 10 months ago

I added a bibl-like popup. The cross-out is properly rendered.

image