Test Verse
Editor: Michaël Meyer.
Identifier: DHARMA_INSTestProsody.
Language: Sanskrit.
Repository: Test Repository (repo-test).
Version: (f46d40d), last modified (480f86a).
Edition
lg element
I. foo
one
atwo
bthree
cfour
dWhen there are more than 4 l elements, we start numbering them. We use the l/@n values, and display them next to the line. This is a request of Manu.
I. foo
one
atwo
bthree
cfour
dfive
eI. foo
one
atwo
bthree
cfour
dfive
esix
fseven
geight
hnine
iten
jeleven
ktwelve
lUse of @met with lg
I. Anuṣṭubh
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’])
?I. Lalitā
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.
?I. Trimeter
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.
?I. paṅkti
This meter appears in prosody and has several patterns. We display them all in the tooltip. But we do not add a clickable link to the prosody file since there are several records.
?I. foobar
This meter does not appear in prosody. We only show its name in this case.
?I. –⏓⏑⏕⏑6/||––12|
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
I. met
For l[@met], we display the prosodic pattern in a tooltip when hovering over the line.
?I. met
For l[@met], we also display a tooltip with the name + patterns if @met is present in the prosody file.
?I. met
For l[@met], we also display a tooltip if @met occurs several times in the prosody file.
?I. met
For l[@met], we also display a tooltip if @met is not present in the prosody file.
?I. met
For l[@real], we display the prosodic pattern in a tooltip.
?I. met
For l[@real and @met], we display the prosodic pattern in a tooltip.
?Use of @met with seg
Peculiar case for seg[gap]: foo[–––⏑––]bar.