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 Milestone</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>
·
·
·
35<div type="edition" xml:lang="san">
·
·<p>
· The following should produce the same result:
· <milestone/>
40 <milestone type="gridlike"/>
· <milestone unit="column"/>
· <milestone break="yes"/>
· <milestone type="gridlike" unit="column"/>
· <milestone type="gridlike" break="yes"/>
45 <milestone unit="column" break="yes"/>
·</p>
·
·<p>
· Use of milestone/@n. Dashes (-) should be replaced with EN-dashes (Arlo's request); note that this might produce weird results in some cases.
50 <milestone n="A"/>
· <milestone type="pagelike" n="A"/>
· <pb n="A"/>
· <lb n="A"/>
· <milestone n="A-32 hello-world"/>
55 <pb n="A-32 hello-world"/>
· <lb n="A-32 hello-world"/>
·</p>
·
·<p>
60 Trailing label after a milestone. Should work for all types of milestones
· and also when @n is not given.
· <milestone type="gridlike"/><label>My label</label>
· <milestone type="pagelike"/><label>My label</label>
· <pb/><label>My label</label>
65 <lb/><label>My label</label>
· <milestone type="gridlike" n="1"/><label>My label</label>
· <milestone type="pagelike" n="1"/><label>My label</label>
· <pb n="1"/><label>My label</label>
· <lb n="1"/><label>My label</label>
70</p>
·
·<p>
· Use of fw; after a pagelike milestone or pb, is incorporated into
· the page break; otherwise it is treated separately.
75 <milestone type="pagelike"/><fw>Hello</fw>
· <pb/><fw>Hello</fw>
· <milestone type="gridlike"/><fw>Hello</fw>
· <lb/><fw>Hello</fw>
·</p>
80
·<p>
· fw with/without @n (for now we don't display the @n) and with/without contents
· <pb/><fw/>
· <pb/><fw n="1"/>
85 <pb/><fw n="1" place="top"/>
· <pb/><fw>Hello</fw>
· <pb/><fw n="1">Hello</fw>
· <pb/><fw n="1" place="top">Hello</fw>
·</p>
90
·<p>
· fw with a valid @place:
· <pb/><fw place="bot-left">Hello</fw>
· <pb/><fw place="bot-right">Hello</fw>
95 <pb/><fw place="bottom">Hello</fw>
· <pb/><fw place="left">Hello</fw>
· <pb/><fw place="right">Hello</fw>
· <pb/><fw place="top">Hello</fw>
· <pb/><fw place="top-left">Hello</fw>
100 <pb/><fw place="top-right">Hello</fw>
·</p>
·
·<p>
· fw with an invalid @place:
105 <pb/><fw>Hello</fw>
· <pb/><fw place="whatever">Hello</fw>
·</p>
·
·<p>
110 Using several consecutive fw elements is possible:
· <pb/>
· <fw place="top">Hello</fw>
· <fw place="bottom">Hello</fw>
·</p>
115
·<p>
· Use of both label and fw after milestones. The label must immediately follow the milestone.
· <pb/>
· <label>My label</label>
120 <fw place="top">Hello</fw>
· <fw place="bottom">Hello</fw>
·</p>
·
·</div>
125
· </body></text>
·</TEI>