Commit 831b3790 authored by RIVIERE Jean François's avatar RIVIERE Jean François
Browse files

upd doc TEI OE : body, part 1

parent 0c7ff7e3
Loading
Loading
Loading
Loading
+749 −673

File changed.

Preview size limit exceeded, changes collapsed.

+22 −48
Changes for odd/out/commons-publishing-openedition.rng: 22 added lines, 48 removed lines.
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
         xmlns="http://relaxng.org/ns/structure/1.0"
         datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
         ns="http://www.tei-c.org/ns/1.0"><!--
Schema generated from ODD source 2023-03-28T15:06:19Z. .
Schema generated from ODD source 2023-03-31T07:04:53Z. .
TEI Edition: 
TEI Edition Location: https://www.tei-c.org/Vault/P5//
  
@@ -288,50 +288,6 @@ TEI Edition Location: https://www.tei-c.org/Vault/P5//
         </attribute>
      </optional>
   </define>
   <define name="att.placement.attributes">
      <ref name="att.placement.attribute.place"/>
   </define>
   <define name="att.placement.attribute.place">
      <optional>
         <attribute name="place">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies where this item is placed.
Suggested values include: 1] top; 2] bottom; 3] margin; 4] opposite; 5] overleaf; 6] above; 7] right; 8] below; 9] left; 10] end; 11] inline; 12] inspace</a:documentation>
            <list>
               <oneOrMore>
                  <choice>
                     <value>top</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the top of the page</a:documentation>
                     <value>bottom</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the foot of the page</a:documentation>
                     <value>margin</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in the margin (left, right, or both)</a:documentation>
                     <value>opposite</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the opposite, i.e. facing, page</a:documentation>
                     <value>overleaf</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">on the other side of the leaf</a:documentation>
                     <value>above</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">above the line</a:documentation>
                     <value>right</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">to the right, e.g. to the right of a vertical line of text, or to the right of a figure</a:documentation>
                     <value>below</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">below the line</a:documentation>
                     <value>left</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">to the left, e.g. to the left of a vertical line of text, or to the left of a figure</a:documentation>
                     <value>end</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">at the end of e.g. chapter or volume.</a:documentation>
                     <value>inline</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">within the body of the text.</a:documentation>
                     <value>inspace</value>
                     <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">in a predefined space, for example left by an earlier scribe.</a:documentation>
                     <data type="token">
                        <param name="pattern">[^\p{C}\p{Z}]+</param>
                     </data>
                  </choice>
               </oneOrMore>
            </list>
         </attribute>
      </optional>
   </define>
   <define name="att.typed.attribute.type">
      <optional>
         <attribute name="type">
@@ -2246,7 +2202,21 @@ Suggested values include: 1] gloss (gloss); 2] index (index); 3] instructions (i
         <ref name="att.global.attribute.xmlspace"/>
         <ref name="att.global.rendition.attribute.rend"/>
         <ref name="att.global.rendition.attribute.rendition"/>
         <ref name="att.placement.attributes"/>
         <optional>
            <attribute name="place">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">specifies where this item is placed.</a:documentation>
               <list>
                  <oneOrMore>
                     <choice>
                        <value>foot</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                        <value>end</value>
                        <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                     </choice>
                  </oneOrMore>
               </list>
            </attribute>
         </optional>
         <optional>
            <attribute name="type">
               <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">characterizes the element in some sense, using any convenient classification scheme or typology.</a:documentation>
@@ -2444,9 +2414,9 @@ Elements 7.2.5. Speech Contents]</a:documentation>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>sub</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>sub</value>
                  <value>sup</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>alt</value>
                  <value>trl</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               </choice>
            </attribute>
@@ -2891,6 +2861,8 @@ Elements 7.2.5. Speech Contents]</a:documentation>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>documentnumber</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>funder_registry</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>DOI</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>URL</value>
@@ -2916,6 +2888,8 @@ Elements 7.2.5. Speech Contents]</a:documentation>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>serie</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
                  <value>grant_number</value>
                  <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"/>
               </choice>
            </attribute>
         </optional>
+129 −12
Changes for odd/src/odd_openedition_doc_fr.xml: 129 added lines, 12 removed lines.
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
                      <title type="main">Titre principal du document</title>
                      <title type="sup">Surtitre</title>
                      <title type="sub">Sous-titre</title>
                      <title type="alt" xml:lang="en">English Translated Title</title>
                      <title type="trl" xml:lang="en">English Translated Title</title>
                    </titleStmt>
                  </fileDesc>
                </teiHeader>
@@ -87,7 +87,7 @@
                      <orgName>CNRS</orgName>
                    </affiliation>
                    <note type="biography">
                      <p>Premier paragraphe de biographie de l'auteur <hi rendition="#style01">(peut contenir des mise en forme)</hi></p>
                      <p>Premier paragraphe de biographie de l'auteur <hi rend="italic">(peut contenir des mise en forme)</hi></p>
                      <p>Deuxième paragraphe</p>
                    </note>
                    <email>prenom_1.nom_1@cnrs.fr</email>
@@ -101,7 +101,7 @@
                      <surname>Nom_traducteur</surname>
                    </persName>
                    <idno type="idref">000000000</idno>
                    <affiliation>Université Aix-Marseille</affiliation>
                  	<affiliation><orgName>Université Aix-Marseille</orgName></affiliation>
                  </editor>
                  <editor role="edt">
                    <persName>
@@ -367,14 +367,14 @@
                  <biblStruct type="article">
                    <analytic>
                      <title level="a" type="main">La formation des étudiants marocains dans les pays de l’Est de l’Europe (1960-2015)</title>
                      <title level="a" type="alt" xml:lang="en">Moroccan Students’ Training in Eastern Europe Countries (1960-2015)</title>
                      <title level="a" type="alt" xml:lang="es">La formación de los estudiantes marroquíes en los países de Europa del Este (1960-2015)</title>
                      <title level="a" type="trl" xml:lang="en">Moroccan Students’ Training in Eastern Europe Countries (1960-2015)</title>
                      <title level="a" type="trl" xml:lang="es">La formación de los estudiantes marroquíes en los países de Europa del Este (1960-2015)</title>
                      <author>
                        <persName>
                          <forename>Kamal</forename>
                          <surname>Mellakh</surname>
                        </persName>
                        <affiliation>Université Hassan II</affiliation>
                      	<affiliation><orgName>Université Hassan II</orgName></affiliation>
                      </author>
                    </analytic>
                    <monogr>
@@ -382,8 +382,8 @@
                      <idno type="eISSN">1777-5418</idno>
                      <idno type="pISSN">0765-0752</idno>
                      <title level="m">Former des élites : mobilités des étudiants d'Afrique au nord du Sahara dans les pays de l'ex-bloc socialiste</title>
                      <title level="m" type="alt" xml:lang="en">Training Elites: Mobilities of Students of Africa North of Sahara to the Former Socialist Block</title>
                      <title level="m" type="alt" xml:lang="es">Formar a las élites: movilidades de los estudiantes de África del norte del Sáhara hacia el ex-bloque socialista</title>
                      <title level="m" type="trl" xml:lang="en">Training Elites: Mobilities of Students of Africa North of Sahara to the Former Socialist Block</title>
                      <title level="m" type="trl" xml:lang="es">Formar a las élites: movilidades de los estudiantes de África del norte del Sáhara hacia el ex-bloque socialista</title>
                      <idno type="doi" subtype="issue">10.4000/remi.7751</idno>
                      <idno type="url" subtype="issue">http://journals.openedition.org/remi/7751</idno>
                      <imprint>
@@ -405,7 +405,7 @@
                      <title level="a" type="main">Titre principal du document</title>
                      <title level="a" type="sup">Surtitre</title>
                      <title level="a" type="sub">Sous-titre</title>
                      <title level="a" type="alt" xml:lang="en">English Translated Title</title>
                      <title level="a" type="trl" xml:lang="en">English Translated Title</title>
                      <author role="aut"> 
                        <persName>
                          <forename>Prénom_1</forename>
@@ -417,7 +417,7 @@
                          <orgName>CNRS</orgName>
                        </affiliation>
                        <note type="biography">
                          <p>Premier paragraphe de biographie de l'auteur <hi rendition="#style01">(peut contenir des mise en forme)</hi></p>
                          <p>Premier paragraphe de biographie de l'auteur <hi rend="italic">(peut contenir des mise en forme)</hi></p>
                          <p>Deuxième paragraphe</p>
                        </note>
                        <email>prenom_1.nom_1@cnrs.fr</email>
@@ -431,7 +431,7 @@
                          <surname>Nom_traducteur</surname>
                        </persName>
                        <idno type="idref">000000000</idno>
                        <affiliation>Université Aix-Marseille</affiliation>
                      	<affiliation><orgName>Université Aix-Marseille</orgName></affiliation>
                      </editor>
                      <editor role="edt">
                        <persName>
@@ -870,9 +870,126 @@
      </div3>
      <div3>
        <head>body</head>
        <div4 xml:id="text-formatting">
          <p>L'élément <gi>body</gi> contient tout le corps de texte à l'exclusion des parties pré- ou post-liminaire.</p>
          <div4>
            <head>Structure du texte et intertitres</head>
            <p>Xpath :</p>
            <list>
              <item>Sections : <code xml:lang="xpath">//div[@type="sectionN"]</code> (N compris entre 1 et 6)</item>
              <item>Interitres : <code xml:lang="xpath">//head</code></item>
            </list>
            <p>Recommandations d'usage :</p>
            <list>
              <item>le texte du document doit être structuré par des sections (balises <gi>div</gi> avec un attribut <att>type</att>="sectionN"  où "sectionN" peut prendre toutes les valeurs comprises entre "section1" et "section6").</item>
              <item>les intertitres doivent être indiqués comme premier élément de la section dans une balise <gi>head</gi>.</item>
            </list>
            <p>Exemple :</p>
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <!-- [...] -->
              <div type="section1">
                <head>1. ...</head>
                <div type="section2">
                  <head>1.1. ...</head>
                  <p>...</p>
                  <div type="section3">
                    <head>1.1.1. ...</head>
                    <p>...</p>
                  </div>
                  <div type="section3">
                    <head>1.1.2. ...</head>
                    <p>...</p>
                  </div>
                </div>
                <div type="section2">
                  <head>1.2. ...</head>
                  <p>...</p>
                </div>
              </div>
              <div type="section1">
                <head>2. ...</head>
                <p>...</p>
              </div>
              <!-- [...] -->
            </egXML>

          </div4>
          <div4>
            <head>Notes de bas de page et notes de fin</head>
            <p>Xpath :</p>
            <list>
              <item>Note de bas de page : <code xml:lang="xpath">//note[@place='foot' and @n]</code></item>
              <item>Note de fin : <code xml:lang="xpath">//note[@place='end'and @n]</code></item>
            </list>
            <p>Recommandations d'usage :</p>
            <list>
              <item>Les notes sont insérées dans le texte dans des balises <gi>note</gi></item>
              <item>L'attribut <att>place</att> indique le type de note (<code>foot</code> ou <code>end</code>)</item>
              <item>L'attribut <att>n</att> indique le numéro de la note.</item>
              <item>La note peut contenir des paragraphes, listes, tableaux, images, référence bibliographiques, etc.</item>
            </list>
            <p>Exemple :</p>
            <egXML xmlns="http://www.tei-c.org/ns/Examples">
              <p>Texte <note place="foot" n="1"
                xml:id="mon_id_1">
                <p>Paragraphe</p>
                <list type="unordered">
                  <item>Elément de liste 1</item>
                  <item>Elément de liste 2</item>
                </list>
              </note>. </p>
              <p>Texte<note place="end" n="a">
                <p>Nulla consequat massa quis enim.</p>
                <list type="unordered">
                  <item>Aenean auctor sapien quis nibh tincidunt</item>
                  <item>eget varius elit maximus</item>
                </list>
                <p>Phasellus at eros imperdiet, efficitur nisi vitae.</p>
              </note>. 
              </p>
            </egXML>
          </div4>
          <div4 xml:id="text-formatting">
          	<head>Mises en forme du texte</head>
          	<p>Xpath :</p>
          	<list>
          		<item>italique : <code xml:lang="xpath">//hi[@rend="italic"]</code></item>
          		<item>gras : <code xml:lang="xpath">//hi[@rend="bold"]</code></item>
          		<item>exposant : <code xml:lang="xpath">//hi[@rend="sup"]</code></item>
          		<item>indice : <code xml:lang="xpath">//hi[@rend="sub"]</code></item>
          		<item>petite capitale : <code xml:lang="xpath">//hi[@rend="small-caps"]</code></item>
          		<item>majuscule : <code xml:lang="xpath">//hi[@rend="uppercase"]</code></item>
          		<item>barré : <code xml:lang="xpath">//hi[@rend="strikethrough"]</code></item>
          		<item>souligné : <code xml:lang="xpath">//hi[@rend="underline"]</code></item>
          		<item>RTL : <code xml:lang="xpath">//TODO !!</code></item>
          	</list>
          	<p>Recommandations d'usage :</p>
          	<list>
          		<item>On utilise l'élément <gi>hi</gi> avec l'attribut <att>rend</att> qui peut prendre les valeurs définies dans les Xpath ci-dessus.</item>
          		<item>Les éléments <gi>hi</gi> peuvent être imbriqués, comme dans l'exemple plus bas.</item>
          		<item>Les valeurs d'attributs peuvent être combinés dans un même attribut<att>rend</att>, séparés par des espaces, comme dans l'exemple plus bas.</item>
          	</list>
          	<p>Exemple :</p>
          	<egXML xmlns="http://www.tei-c.org/ns/Examples">
	          	<p>Mises en forme de texte simples : 
	          		<hi rend="italic">italique</hi>, 
	          		<hi rend="bold">gras</hi>, 
	          		<hi rend="sup">exposant</hi>, 
	          		<hi rend="sub">indice</hi>, 
	          		<hi rend="small-caps">petite capitale</hi>,
	          		<hi rend="uppercase">majuscule</hi>, 
	          		<hi rend="strikethrough">barré</hi>, 
	          		<hi rend="underline">souligné</hi>.
	          	</p>
	          	<p>Mises en forme de texte imbriquées : 
	          		<hi rend="italic"><hi rend="bold">italique et gras</hi></hi>, 
	          		<hi rend="bold"><hi rend="small-caps">XX</hi><hi rend="sup">e</hi> siècle</hi>.
	          	</p>
	          	<p>Mises en forme combinées : 
	          		<hi rend="bold italic">gras et italique</hi>, 
	          		<hi rend="sup small-caps underline">exposant, petites capitales et souligné</hi>.
	          	</p>
          	</egXML>
          </div4>
      </div3>
      <div3>
        <head>back</head>