1<TEI>
· <text><body>
·
·<div type="edition" xml:lang="san" rendition="class:00000 maturity:00000">
5
·<div type="textpart"><head>Verse</head>
·
·
·
10<p rend="stanza"><l>Some text.</l></p>
·<ab rend="stanza"><l>Some text.</l></ab>
·<lg><l>Some text.</l></lg>
·
·
15
·<p rend="stanza" n="9"><l>Some text.</l></p>
·<ab rend="stanza" n="9"><l>Some text.</l></ab>
·<lg n="9"><l>Some text.</l></lg>
·
20
·
·<p rend="stanza" n="9-25 and 0-41 and also 9999999"><l>Some text.</l></p>
·<ab rend="stanza" n="9-25 and 0-41 and also 9999999"><l>Some text.</l></ab>
·<lg n="9-25 and 0-41 and also 9999999"><l>Some text.</l></lg>
25
·
·
·<p rend="stanza" n="9" met="anuṣṭubh"><l>Some text.</l></p>
·<ab rend="stanza" n="9" met="anuṣṭubh"><l>Some text.</l></ab>
30<lg n="9" met="anuṣṭubh"><l>Some text.</l></lg>
·
·
·
·<p rend="stanza" met="anuṣṭubh"><l>Some text.</l></p>
35<ab rend="stanza" met="anuṣṭubh"><l>Some text.</l></ab>
·<lg met="anuṣṭubh"><l>Some text.</l></lg>
·
·</div>
·
40<div type="textpart"><head>Verse lines numbering</head>
·
·<p>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.
45
·When l/@n is empty, we don't print anything.
·</p>
·
·<lg>
50 <l n="a">one</l>
· <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
·</lg>
55
·<lg>
· <l n="a">one</l>
· <l n="b">two</l>
· <l n="c">three</l>
60 <l n="d">four</l>
· <l n="e">five</l>
·</lg>
·
·<lg>
65 <l n="a">one</l>
· <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
· <l n="e">five</l>
70 <l n="f">six</l>
· <l n="g">seven</l>
· <l n="h">eight</l>
· <l n="i">nine</l>
· <l n="j">ten</l>
75 <l n="k">eleven</l>
· <l n="l">twelve</l>
·</lg>
·
·<lg>
80 <l>one</l>
· <l>two</l>
· <l>three</l>
· <l>four</l>
·</lg>
85
·<lg>
· <l>one</l>
· <l>two</l>
· <l>three</l>
90 <l>four</l>
· <l>five</l>
·</lg>
·
·<lg>
95 <l n="a">one</l>
· <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
· <l n="e">five</l>
100 <l n="f">six</l>
· <l>seven</l>
· <l>eight</l>
· <l>nine</l>
· <l>ten</l>
105 <l>eleven</l>
· <l>twelve</l>
·</lg>
·
·</div>
110
·<div type="textpart"><head>Use of @met</head>
·
·<lg met="anuṣṭubh">
· <l>The meter appears in prosody, should have a clickable link to the prosody page
115 as well as a tooltip that gives the meter's prosodic pattern. In the present case,
· we have a prosodic pattern (seg[@type='prosody'])</l>
·</lg>
·<lg met="lalitā">
· <l>This meter does not have a seg[@type='prosody'], but does have a seg[@type='xml'].
120 In this case, this last value is used as a fallback.</l>
·</lg>
·<lg met="trimeter">
· <l>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.</l>
125</lg>
·<p>We have three special values for @met:</p>
·<lg met="mixed">
· <l>hello</l>
·</lg>
130<lg met="free">
· <l>hello</l>
·</lg>
·<lg met="uncertain">
· <l>hello</l>
135</lg>
·<p>Other values for @met:</p>
·<lg met="foobar">
· <l>This meter does not appear in prosody. We only show its name in this case
· (and capitalize it).</l>
140</lg>
·<lg met="+=-2-6/||++12|">
· <l>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.</l>
145</lg>
·
·</div>
·
·<div type="textpart"><head>Use of @met and @real with l</head>
150
·<lg>
· <l met="++---">For l[@met], we display the prosodic pattern in a tooltip when hovering over the line.</l>
·</lg>
·<lg>
155 <l met="anuṣṭubh">For l[@met], we also display a tooltip with the name + patterns if @met is present in the prosody file.</l>
·</lg>
·<lg>
· <l met="unknownmeter">For l[@met], we also display a tooltip if @met is not present in the prosody file.</l>
·</lg>
160<lg>
· <l real="++---">For l[@real], we display the prosodic pattern in a tooltip.</l>
·</lg>
·<lg>
· <l real="++---" met="anuṣṭubh">For l[@real and @met], we display the prosodic pattern in a tooltip.</l>
165</lg>
·
·</div>
·
·</div>
170
· </body></text>
·</TEI>