-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New element for grouping notes: <noteGrp>
#1833
Comments
To add to my earlier point re: |
Per previous discussion about *List vs *Grp, I think you want noteList here (or possibly listNote) : noteGrp would imply that all the children functioned together to form a single note in some way. |
@lb42 I believe Joey's original requirement includes the grouping together of notes which are in intended to be versions of the same note, but at increasing levels of detail or specificity. So noteGrp would be right for that. If a list element is created, it must be called listNote, not *noteList. I think we established that principle some years ago. But I think it's clear we need noteGrp; the case for listNote has not been made. |
Ah, OK. Apologies for not reading more attentively! That would indeed be an appropriate use for the GRP suffix. Maybe should add listNote too, so we can demonstrate what the difference is! |
To play devil's advocate so we do our due diligence, could someone explain why a group of notes acting as a single structure shouldn't just be nested inside a parent note? I recognise noteGrp might be better, but thought we should be clear on why existing structures don't work. |
James, the only reason I can think of would be the assumed semantics of nested notes, i.e. most nested notes consist of a note (which comments on or addresses the main text in some way), which itself contains notes (which comment on or address the text of the first-level note in some way). At least, that is the common scenario in which I've used them -- notes to notes. OTOH, notes are att.typed, so you can always distinguish this grouping-type note from others as a type of note (note type="grouping" or whatever). I don't see how adding a noteGrp actually adds to the functionality of the schema at all. |
I'm tending to join the nested-notes camp too, now that I think about it. @joeytakeda , any reason not to use nested typed notes? |
To re-iterate and clarify the problem here: we have multiple notes that are associated with a single span of text; they are taken not necessarily as a single note (i.e. you don't necessarily need noteGrp/note[3] for noteGrp/note[1] to make sense), but, for the project's purposes, they do comprise the full set of editorial annotations for a particular span of text. So, I think The case could also be made that having a
So, I can see |
In addition, we need to think through how this proposal interacts with the Note, though @joeytakeda, that |
@sydb (aside) : One of our students found her way to personGrp as a solution for coding personified references to nations, like “ As I am finally catching up on this thread, I like the versatility of |
Agree that To summarise: I would propose |
Thanks for picking this back up, @tuurma! I've re-read the thread here and I am wondering the same thing: what really is the difference between a group and a list? From what I can tell from a quick comb through of the Guidelines,
The list* elements are less interesting to list here, since they primarily use the same language of " But the critical distinction, as far as I can tell, is that So the end result of this ramble is that I think
|
I have a fairly strong impression (from somewhere, I don't know where) that in Grp contents, it is assumed that order doesn't matter, whereas in list element contents, it does. |
In case it helps, the place TEI currently defines what Grp and similar mean is at https://www.tei-c.org/release/doc/tei-p5-doc/en/html/AB.html#index-front.1_div.4_div.1_div.2_div.1 |
Personally I'm convinced with @joeytakeda's argument and example and think it'd be good to have both |
F2F Washington Council agrees with the proposal and is convinced with the example presented. MT will elaborate it for the GL presenting eg. short and long notes grouped (which could be intended eg for print vs online versions) or notes in various languages or such like. |
Council approves |
Excellent! We'll start using this in a project soon, then, which means that we can provide some real world examples if needed. |
Real world examples are always useful. |
tentative example to demonstrate use of <p>... Parwum vadit theoloneum, tamen reuerendos dominos archiepiscopum et canonicos Leopolienses
necnon episcopum in duplicibus Quatuortemporibus
<noteGrp>
<note xml:lang="en">Quatuor Tempora, so called dry fast days (Wednesday, Friday and Saturday)
falling on each of the quarters of the year. In the first quarter they were called Cinerum (following Ash Wednesday),
second Spiritus (following Pentecost), third Crucis (after the Exaltation of the Holy Cross, September 14th),
and Luciae in the fourth (after the feast of St. Lucia, December 13th).
</note>
<note xml:lang="pl">Quatuor Tempora, tzw. Suche dni postne (środa, piątek i sobota) przypadające cztery razy w roku.
W pierwszym kwartale zwały się Cinerum (po Popielcu), w drugim Spiritus (po Zielonych Świętach),
w trzecim Crucis (po święcie Podwyższenia Krzyża 14 września), w czwartym Luciae (po dniu św. Łucji 13 grudnia).
</note>
</noteGrp>
totaliter expediui.</p> |
Thinking about it, should |
Could I please ask for PR review |
Stemming from a discussion on the TEI-L (https://listserv.brown.edu/archives/cgi-bin/wa?A2=TEI-L;c694031.1810), I would like to propose a new element for grouping together notes:
<noteGrp>
. [Thanks to Peter Boot for making the original suggestion for this element and for the others on that chain for their helpful recommendations and suggestions!]The
<noteGrp>
element would be similar to the<spanGrp>
element insofar as it would simply be a wrapper for grouping together series of notes. Usually this will be for the purposes of attachment (i.e. all of the children<note>
s in<noteGrp>
all attach to the same place in a document defined by the@target
and@targetEnd
attributes on<noteGrp>
), but it could also simply be for providing a convenient way to group together notes of a similar type.Classes
<noteGrp>
would be a member of all the same classes as the<note>
element:Content
<noteGrp>
can only contains a sequence of<note>
elements (this is the same content model as<spanGrp>
):Attributes
The
<noteGrp>
would also have the same attributes as<note>
. I would suggest creating a new attribute class (att.noteAttachment or something) and include the@anchored
and@targetEnd
attributes defined within this new attribute class.But since the
@targetEnd
attribute is not recommended, however, I would also suggest that, if desired, the@to
and@from
attributes on<span>
and<app>
are harmonized into a class calledatt.pointingRange
and that class be added to<note>
and<noteGrp>
instead of the creation ofatt.noteAttachment
. However, this is a somewhat separate concern that may or may not be necessary to implement, depending on what Council thinks about@targetEnd
.Summary
A new element for grouping notes that can go wherever notes can go; it will contain 0 or more
<note>
elements (following<spanGrp>
's content model); it will also bear the same attributes as the<note>
element.The text was updated successfully, but these errors were encountered: