DigitalLatin / viewer

HTML Document viewer for DLL editions
GNU Affero General Public License v3.0
8 stars 4 forks source link

witDetail with more than one value in @wit not displayed #27

Closed sjhuskey closed 7 years ago

sjhuskey commented 7 years ago

At 3.18, Giarratano has this:

contentus (contētus Nρ) NGρφεαλπδμηdn Barth. Ulit.

I did this originally:

`<lem wit="#N #G #ρ #φ #ε #α #λ #π #δ #μ #η #d" source="#n #Barth1613 #Ulit." xml:id="lem3.18contentus">contentus

contētus` But the content in `witDetail` failed to be displayed in the viewer. When I made two `` elements, one each for N and ρ, the viewer displayed this: > contentus] N (contētus) Gρ (contētus) φεαλπδμηd n Barth 1613 Ulit. But a reasonable interpretation of that might be "N has contētus, but so do G and ρ". It may be that when it is necessary to provide details for more than one witness, `` should be used instead. That leads me to wonder if we should _ever_ use ``. Perhaps `` is better, unless we can get `` to work for two witnesses. But it seems to me that `` is preferable. **Note**: in Giarratano, this happens only once, at 3.18, so perhaps we should make `` invalid if used with more than one witness and add a section that explains how to use `` for situations like this one.
sjhuskey commented 7 years ago

Use note for this kind of data.