Hanslick-Online / hsl-app

https://hanslick.acdh.oeaw.ac.at
MIT License
0 stars 0 forks source link

Annotations and Column / Page Breaks #48

Closed AlexanderWilfing closed 7 months ago

AlexanderWilfing commented 7 months ago

The change in the display of annotations (symbols instead of highlighting) has generated a problem. If parts of an annotated entity are in two different columns / pages, we used to actually include two annotations to create a continuous highlighting, e.g.

... Ist das nicht wagne

risch, With the change to icons, these double annotations are superfluous and look rather silly (see https://hanslick-online.github.io/hsl-app-dev/c__1894.05.30.html?pbs=on&prs=on#__p18__lb229). If I am not mistaken, we can find these cases easily by searching for n="N001" break="no"/>

linxOD commented 7 months ago

as quick fix that works with the TEI schema is the "prev" attribute. The same as for paragraphs (p). If you encounter such a workbreak divided by columns, paragraph or page please add prev="true" to the following rs element. However, keep all the other attributes like type, and ref.

E.g. <rs type="..:" ref="..">Schuh</rs> <rs type="..:" ref=".." prev="true">mann</rs>

AlexanderWilfing commented 7 months ago

Much better, but not perfect. The second icon does not show anymore, but the "r", which in in the continued annotation, is also gone. See https://hanslick-online.github.io/hsl-app-dev/c__1894.05.30.html?pbs=on&prs=on#__p19__lb230 and the screenshot below. I hope the XML text is okay and I didn't commit an error on my end... Example