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

<div rend="parallel-left- and -right-__ "> #44

Closed wehooper closed 4 years ago

wehooper commented 4 years ago

In some documents Newton drew a vertical rule down the center of his page, copying and paraphrasing his source on the left, and writing enumerated notes on the right, with corresponding note markers on the left side.

We wrapped each column in a div with a rend attribute that indicated the dimensions, and, if I recall correctly, I provided a range of options."

See ALCH00008.xml, Keynes 19, "Collectiones ex Novo Lumine Chymico . . ." starting at the top for a good example of the problem and the solution that I worked out with some guidance from John and Tim Bowman.

In ALCH00008.xml, look at lines 416 and 487.

In browsers, P4 : http://webapp1.dlib.indiana.edu/newton/mss/norm/ALCH00008 P5: http://carbon.dlib.indiana.edu:8220/text/ALCH00008/diplomatic#?c=&m=&s=&cv=]

Conal-Tuohy commented 4 years ago

done with CSS grid:


.rend-parallel-docs {
    display: grid;
}
.rend-parallel-left {
    grid-column: 1;
}
.rend-parallel-left-30 {
    grid-column: 1;
    width: 30em;
}
.rend-parallel-right {
    grid-column: 2;
}
Conal-Tuohy commented 4 years ago

addressed in 68eaeba3affbefd406c29b8b8f952ffe23aba113