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

Rendering disjunctive lists with brackets #126

Open aewingate opened 11 months ago

aewingate commented 11 months ago

Going over encoding guidelines for update to P5, and I found that we say for disjunctive lists that there should be a pop-up saying that the manuscript has brackets here. Newton-dev does not do this, and I think it would actually be preferable (if possible) to surround the list with brackets to reflect how the manuscript looks better.

For example, here's ALCH00014: image

And the XML:

<list type="disjunctive" rend="bracket"><item>deferring</item><item>suspension</item></list>

It would be great if we could put curly brackets on either side of the disjunctive list.

tubesoft commented 11 months ago

I would be happy to implement the feature, but what about adding { and } before and after? Although the curly brackets cannot be the size of the two lines, is it a really serious matter? If it matters and if there are more similar cases that can be applied, I would try to add some code to render a larger size bracket.

aewingate commented 11 months ago

I agree that adding the { and } before and after is a better choice than what's described in the encoding guide right now. And I don't even think that it's super necessary to make them bigger. Let me check with Bill and Jim today about it.