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 of <fw place="left"> #110

Open aewingate opened 3 years ago

aewingate commented 3 years ago

Jim and I noticed today that text within the <fw place="left> element/attribute combo (usually the librarian's mark of the page number) is rendering differently on Carbon than it is in the live site.

Here in ALCH00063-02 on 2.1v, the live site has the number (2) on a new line (which is what we want) versus on Carbon, it's on the same line as the first line of text. image Live site

image Carbon

The encoding itself doesn't have a in it, so it seems that a line break is being added in the rendering for the live site. image

Instead of going into all of the individual manuscripts and adding a after the , it seems better to do it in the rendering. Interestingly, it seems like the issue only occurs with . The numbers in are rendering on a new line without a in the encoding itself (see 2.2r on http://carbon.dlib.indiana.edu:8220/text/ALCH00063-02/diplomatic).

tubesoft commented 3 years ago

By adding the following code to CSS, I managed to create a linebreak:

.place-left {
    text-align: left;
    display: block;
}
image

If there are any further issues, please let me know.