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

@rend="diplomatic" and @rend="normalized" not working #127

Open aewingate opened 11 months ago

aewingate commented 11 months ago

While working on P5 Guidelines, I found that elements with the attribute @rend with values "diplomatic" or "normalized" were not working (i.e., only displaying in the version indicated by the value). The elements that need @rend="diplomatic" or "normalized" to work are <note> and <seg>. ALCH00200 contains examples of both <note> and <seg> for testing

tubesoft commented 11 months ago

I think we need to discuss it in the meeting (especially with @mdalmau) since it is generally processed by other logic. What kind of situation do we need to change the rendition when we use <note> and <seg>?

tubesoft commented 11 months ago

To summarize what was discussed in the weekly meeting, among <note> and <seg>, some of them appear on the diplomatic, not on the normalized. My question here is if we can distinguish which elements are to be suppressed in the normalized edition by other attributes (e.g., @type), we don't have to add @rend="diplomatic" and @rend="normalized". Plus, by doing that, we can reduce manual work to fix the code and maintain consistency more.

aewingate commented 11 months ago

I looked today at the types of <note> elements that have @rend="diplomatic" and @rend="normalized".

Editorial notes have both @rend="diplomatic" (ALCHs 30, 82, 91, 94, 95, 200, 201, and 204) and @rend="normalized" (ALCH 200).

There is also one manuscript (ALCH00081) that has @rend="diplomatic" on <note type="translation">

tubesoft commented 10 months ago

I added some code for note and seg. Hopefully, this processes the TEI properly.

Normalized:

image

Diplomatic:

image