Commit 033b8514 authored by Charles Bourdot's avatar Charles Bourdot
Browse files

Ajout valeurs <p>@rend (#40), possibilité texte dans <dim>, texte dans <formula> (#39).

parent 84bd4351
Loading
Loading
Loading
Loading
+21 −5
Changes for odd/src/commons-publishing-metopes.odd: 21 added lines, 5 removed lines.
Original line number Diff line number Diff line
@@ -20,7 +20,8 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
  </teiHeader>
  <text>
    <body>
      <schemaSpec ident="commons-publishing-metopes" start="TEI" source="commons-publishing_compiled.odd">
      <schemaSpec ident="commons-publishing-metopes" start="TEI"
        source="commons-publishing_compiled.odd">

        <!-- ############################################## 
     #### moduleRef customisation              ####
@@ -130,7 +131,7 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <attDef ident="rend" mode="replace">
              <datatype>
                <dataRef key="teidata.pattern"
                restriction="(editor-[\w]*)|(author-[\w]*)|(title-[\w]*)|(TEI_local[\w]*)|(unkown:[\w]*)|(break|consecutive|caption|credits|#rtl|#ltr|docTitle|titlePart|docAuthor|affiliation|email)"/>
                  restriction="(editor-[\w]*)|(author-[\w]*)|(authority_[\w]*)|(title-[\w]*)|(TEI_local[\w]*)|(unkown:[\w]*)|(break|answer|question|consecutive|caption|credits|#rtl|#ltr|docTitle|titlePart|docAuthor|affiliation|email)" />
              </datatype>
            </attDef>
          </attList>
@@ -221,7 +222,8 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
            <attDef ident="prev" mode="delete" />
            <attDef ident="type" mode="change">
              <valList mode="replace" type="open">
              <!--typologie à définir ? liste fermée ? -->
                <!--typologie
                à définir ? liste fermée ? -->
              </valList>
            </attDef>
          </attList>
@@ -287,8 +289,22 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">

        <elementSpec module="figures" ident="formula" mode="change">
          <content>
            <alternate minOccurs="0"
              maxOccurs="unbounded">
              <textNode />
              <elementRef key="mathml.math" />
            </alternate>
          </content>
        </elementSpec>

        <elementSpec module="msdescription" ident="dim" mode="change">
          <content>
            <alternate minOccurs="0"
              maxOccurs="unbounded">
              <textNode />
            </alternate>
          </content>

        </elementSpec>

        <!-- ############################################## 
@@ -334,7 +350,8 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
              </datatype>
            </attDef>
            <attDef ident="accept" usage="opt">
              <datatype><rng:text></rng:text>
              <datatype>
                <rng:text></rng:text>
              </datatype>
            </attDef>
            <attDef ident="accept-charset" usage="opt">
@@ -358,7 +375,6 @@ xmlns:rng="http://relaxng.org/ns/structure/1.0">
            </optional>
          </content>
        </elementSpec>

      </schemaSpec>
    </body>
  </text>