1<?xml version="1.0" encoding="UTF-8"?>
·<?xml-model href="/home/michael/dharma/schemas/inscription.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
·<?xml-model href="/home/michael/dharma/schemas/inscription.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
·<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:lang="eng">
5 <teiHeader>
· <fileDesc>
· <titleStmt>
· <title>Test Verse</title>
· <respStmt>
10 <resp>so many</resp>
· <persName ref="part:mime">
· <forename>Michaël</forename>
· <surname>Meyer</surname>
· </persName>
15 </respStmt>
· </titleStmt>
· <publicationStmt>
· <authority>DHARMA</authority>
· <pubPlace>Paris</pubPlace>
20 </publicationStmt>
· <sourceDesc>
· <msDesc>
· <msIdentifier>
· <repository>DHARMAbase</repository>
25 <idno/>
· </msIdentifier>
· </msDesc>
· </sourceDesc>
· </fileDesc>
30 </teiHeader>
· <text xml:space="preserve"><body>
·
·<div type="edition" xml:lang="san" rendition="class:00000 maturity:00000">
·
35<div type="textpart"><head>Verse</head>
·
·
·
·<p rend="stanza"><l>Some text.</l></p>
40<ab rend="stanza"><l>Some text.</l></ab>
·<lg><l>Some text.</l></lg>
·
·
·
45<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>
·
·
50
·<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>
·
55
·
·<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>
·<lg n="9" met="anuṣṭubh"><l>Some text.</l></lg>
60
·
·
·<p rend="stanza" met="anuṣṭubh"><l>Some text.</l></p>
·<ab rend="stanza" met="anuṣṭubh"><l>Some text.</l></ab>
65<lg met="anuṣṭubh"><l>Some text.</l></lg>
·
·</div>
·
·<div type="textpart"><head>Verse lines numbering</head>
70
·<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.
·
75When l/@n is empty, we don't print anything.
·</p>
·
·<lg>
· <l n="a">one</l>
80 <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
·</lg>
·
85<lg>
· <l n="a">one</l>
· <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
90 <l n="e">five</l>
·</lg>
·
·<lg>
· <l n="a">one</l>
95 <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
· <l n="e">five</l>
· <l n="f">six</l>
100 <l n="g">seven</l>
· <l n="h">eight</l>
· <l n="i">nine</l>
· <l n="j">ten</l>
· <l n="k">eleven</l>
105 <l n="l">twelve</l>
·</lg>
·
·<lg>
· <l>one</l>
110 <l>two</l>
· <l>three</l>
· <l>four</l>
·</lg>
·
115<lg>
· <l>one</l>
· <l>two</l>
· <l>three</l>
· <l>four</l>
120 <l>five</l>
·</lg>
·
·<lg>
· <l n="a">one</l>
125 <l n="b">two</l>
· <l n="c">three</l>
· <l n="d">four</l>
· <l n="e">five</l>
· <l n="f">six</l>
130 <l>seven</l>
· <l>eight</l>
· <l>nine</l>
· <l>ten</l>
· <l>eleven</l>
135 <l>twelve</l>
·</lg>
·
·</div>
·
140<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
· as well as a tooltip that gives the meter's prosodic pattern. In the present case,
145 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'].
· In this case, this last value is used as a fallback.</l>
150</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>
·</lg>
155<lg met="foobar">
· <l>This meter does not appear in prosody. We only show its name in this case.</l>
·</lg>
·<lg met="+=-2-6/||++12|">
· <l>This meter is an XML pattern. It should be converted to a prosody pattern.
160 There should be some space between letters, but double daṇḍas (||) and groups of
· digits (12) should be kept together.</l>
·</lg>
·
·</div>
165
·<div type="textpart"><head>Use of @met and @real with l</head>
·
·<lg>
· <l met="++---">For l[@met], we display the prosodic pattern in a tooltip when hovering over the line.</l>
170</lg>
·<lg>
· <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>
175 <l met="unknownmeter">For l[@met], we also display a tooltip if @met is not present in the prosody file.</l>
·</lg>
·<lg>
· <l real="++---">For l[@real], we display the prosodic pattern in a tooltip.</l>
·</lg>
180<lg>
· <l real="++---" met="anuṣṭubh">For l[@real and @met], we display the prosodic pattern in a tooltip.</l>
·</lg>
·
·</div>
185
·</div>
·
· </body></text>
·</TEI>