lombardpress / lombardpress-schema

0 stars 2 forks source link

a heading/lable for paragraphs #135

Open jeffreycwitt opened 6 years ago

jeffreycwitt commented 6 years ago

Right now there is no mechanism for providing a heading for a paragraph. If a heading is needed, the paragraph should be wrapped in a div, and then a heading can be applied.

But I've been running into cases in florilegia where each entry has a kind of label "a", "b", "c". In order to the record the label, I've been wrapping each paragraph containing the quote in a div into which I can add the label a. But this seems a bit redundant, as there is a one to one correspondence between the div and each paragraph.

I'm not sure if there is an answer for this. The extra div is not really a problem, just an annoyance. We certainly don't want to be building custom solutions for just florilegia. Rather we want a solution that works for every text. Nevertheless, I wanted to record the issues, if only to note the problem.

stenskjaer commented 6 years ago

The wrapping in a div of course seems like the most flexible and simple solution, that is already supported. It also aligns with the idea of the <head> as described in the TEI (http://www.tei-c.org/release/doc/tei-p5-doc/en/html/ref-head.html) that the wrapping div determines the level and presentation of a div. And that would also be enforced by connected the p and head through the wrapping div.

How is it presented in the manuscripts? Is it in the margin or above the quotation?

My first intuition is that it seems superfluous to create a specific single-paragraph heading when it is already adequately described by an existing structure.