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
Single note underline extender problem and word hyphens #292
Comments
|
I think they are mostly encoding issues. It does not really make sense to have a Missing dashes between syllables: a |
|
There may be reasons to have an underline after a syllable, although standard modern editing style does not allow it. For example for a very long not with multiple verse, perhaps an underline may be needed to avoid confusion for the singer as to which syllable follows in the verse. Your viewpoint is Andrew-like, and perhaps the underline should be automatically suppressed as it is an encoding error. If the schematron were to check and flag this error, then you would be allowed to blame the encoder and leave the behavior as it is. A Johannesburg-like argument would say yhat the underline is valid and should be shown through the end of the single note. Suppose that a manuscript has an underline for a single note. Are you going to forbid it from being encoded. This would probably result in the encoder violating the intent of the MEI by making them add an underline as a text direction. |
|
For @cond="d", the is an interesting case. It is similar to the @accid problem for notes. In both cases there should be a "sic" state which indicates that nothing should be shown. This case has a stronger argument for that as xampared to the @accid case. Ideally initial or medial syllables should automatically include a following dash unless another style or the blank style is given. The is particularly true for hand encoding where having to type redundant information is a pain. Alternatively the MEI header would specify the connecting style for word syllables, with the default being to use dashes. |
|
Typos due to typing on an iPhone in the airport.... |
|
I am not blaming anybody, but this particular case is not a good example where we would need to draw something with an extender with a single note. It is only a question of priorities an until we have a better view of what should happen in such cases I am suggesting to change the encoding. For default values, the best approach would be better documentation for Verovio. Suggestions and help on what to provide and where to put it are welcome. |
|
For the single-note underline, the best case is to have verovio print a warning message which gives the encoder or downstream user feedback on problematic encodings. |
|
Done here 9f83aa9. The best would be to write a Schematron rule for this. |
|
Is there an MEI feature request is this somewhere? |
|
No. Do you think it is possible to have Schematron rule for this? If yes I'll create the issue. |
|
Perhaps, but what exactly is the problem. Forgive me, but I seem to be listening too slow. :-) |
|
The problem is that a |
|
Raising a warning for the simultaneous use of If someone can figure out a way to make this shorter/more efficient, please speak up. I've attached an RNG with these rules baked in. Let me know about any issues with it. Unless I hear otherwise, I'll add these rules in MEI development. |
Related to the example Bona condit from issue #291 , I notice that verovio has problems rendering underline extenders which are attached to single-note syllables:
In the rendering below, The underline is placed overlapping with the syllable (and perhaps is not aware of the syllable), and it goes for a short distance, perhaps related to the unlayed-out spacing of the notes.
Also notice the C's (do's) ledger lines are not centered on the notehead, but for B/si with a stem, it is.
Here are other example elsewhere in the work:
Verovio should obviously not overlap the underline with the syllable. Then there are three possibilities for how to render it: (1) omit the underline since there is only a single note, (2) put a small fixed-length underscore after the syllable, or (3) have the underline fully extend to the next syllable.
In the next measure, the word cetera is placed on three notes:
The syllables have wordpos="i", "m", an "t", but there are no dashes between the syllables, and they look like independent words:
The text was updated successfully, but these errors were encountered: