Verse
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Some text.
Verse lines numbering
When there are more than 4 l elements, we start numbering them. We use
the l/@n values, and display them to the right of the line. This is a request of
Manu.
When l/@n is empty, we don't print anything.
one
two
three
four
one
two
three
four
five
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
one
two
three
four
one
two
three
four
five
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
Use of @met
The meter appears in prosody, should have a clickable link to the prosody page
as well as a tooltip that gives the meter's prosodic pattern. In the present case,
we have a prosodic pattern (seg[@type='prosody'])
This meter does not have a seg[@type='prosody'], but does have a seg[@type='xml'].
In this case, this last value is used as a fallback.
This meter does not have any pattern. In this case, we still add a link to the
prosody table, but we do not show anything in the tooltip.
This meter does not appear in prosody. We only show its name in this case.
This meter is an XML pattern. It should be converted to a prosody pattern.
There should be some space between letters, but double daṇḍas (||) and groups of
digits (12) should be kept together.
Use of @met and @real with l
For l[@met], we display the prosodic pattern in a tooltip when hovering over the line.
For l[@met], we also display a tooltip with the name + patterns if @met is present in the prosody file.
For l[@met], we also display a tooltip if @met is not present in the prosody file.
For l[@real], we display the prosodic pattern in a tooltip.
For l[@real and @met], we display the prosodic pattern in a tooltip.