Commit 0dc46eed authored by Edith Cannet's avatar Edith Cannet
Browse files

ajout nouveaux fichiers

parent 8a005d79
Loading
Loading
Loading
Loading

customize.xxe_gui

0 → 100755
+75 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>

<!-- 
Code source sous licence CECILL-C. Veuillez vous référer au fichier LICENSE.txt pour plus d'informations
Source code under CECILL-C licence. Please refer to the LICENSE.txt file for more information.
 -->

<gui xmlns="http://www.xmlmind.com/xmleditor/schema/gui"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xmlns:xs="http://www.w3.org/2001/XMLSchema"
     xmlns:gui="http://www.xmlmind.com/xmleditor/schema/gui">

<!-- Actions -->
<action icon="xxe/ui/icons/list.png" label="List elements" name="AddCustomEditViewAction">
    <class>fr.unicaen.mrshcertic.xml.xxe.customeditview.AddCustomEditViewAction</class>
</action>

<action name="indexAction" label="index" icon="xxe/ui/icons/opentheso.png">
    <class>fr.unicaen.mrshcertic.xml.xxe.pluco.IndexAction</class>
</action>
    

<!-- Cette configuration surcharge le ruban par défaut du logiciel -->  
<!--
<ribbon rows="3" name="ribbon" helpId="ribbon">

    <div name="PDNtools">
        <button name="indexButton" label="Index">
            <action name="indexAction" />
        </button>
        <button name="custom_view" label="Filter">
            <action name="AddCustomEditViewAction" />
        </button>
    </div>
    <ribbonItems name="configSpecificRibbonItems" />
</ribbon>
-->
    
<ribbon rows="2" name="ribbon" helpId="ribbon">
<div name="file" label="File">
    <action name="newAction" />
    <action name="saveAction" />
    <action name="openAction" />
    <action name="saveAllAction" />
  </div>
  <div name="edit" label="Edit">
    <action name="undoAction" />
    <action name="repeatAction" />
    <action name="redoAction" />
    <action name="commandHistoryAction" />
    <separator />
    <action name="copyAction" />
    <action name="pasteBeforeAction" />
    <action name="cutAction" />
    <action name="pasteAction" />
    <action name="deleteAction" />
    <action name="pasteAfterAction" />
    <separator />
    <action name="splitAction" />
    <action name="joinAction"/>
  </div>
  <div name="PDNtools">
  <button name="indexButton" label="Indexer">
    <action name="indexAction" />
  </button>
  <button name="custom_view" label="Filtrer">
    <action name="AddCustomEditViewAction" />
  </button>
  </div>
    <ribbonItems name="configSpecificRibbonItems" />
</ribbon>



</gui>
 No newline at end of file
+56 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!--
 Configuration XMLMind pour environnement Epidoc
 Projet IGLS, novembre 2017
-->
<configuration xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration ../configuration/xsd/configuration.xsd"
               xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">

<command name="foreignLa">
    <macro>
      <sequence>
       <command name="confirm" parameter="Baliser le latin ?"/>
    		<choice>
					<command name="selectNode" parameter="[implicitElement] {http://www.tei-c.org/ns/1.0}foreign" />
					<command name="convert" parameter="[implicitElement] {http://www.tei-c.org/ns/1.0}foreign" />
			</choice>
			<command name="removeAttribute" parameter="[implicitElement] rend"/>
			
			<command name="putAttribute"  parameter="[implicitElement] xml:lang la"/>	
			<command name="confirm" parameter="Continuer ?"/>
			<command name="foreignLa2"/>
      </sequence>
    </macro>
  </command>
<command name="foreignLa2">
	<macro  repeatable="true" undoable="true">
		<sequence>
										<command name="xpathSearch" parameter="[implicitElement] (following::ns:hi)"/>
										<command name="pick" parameter="'Baliser du latin ?' false 'latin' 'autre'"/>
										<set variable="skip" expression="'%_'"/>
										<get expression="'%N'"/>
										<choice>		
											<sequence>
												<test expression="$skip='latin'"/>
												<choice>
													<command name="selectNode" parameter="[implicitElement] {http://www.tei-c.org/ns/1.0}foreign" />
													<command name="convert" parameter="[implicitElement] {http://www.tei-c.org/ns/1.0}foreign" />
												</choice>  
												<command name="removeAttribute" parameter="[implicitElement] rend"/>
												
												<command name="putAttribute"  parameter="[implicitElement] xml:lang la"/>	
												</sequence>
												<sequence>
												<fail>
													<test expression="$skip='latin'"/>	
												</fail>
												</sequence>
										</choice>	
										<command name="foreignLa2"/>
			</sequence>
	</macro>	
</command>
</configuration>
+105 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<!--  Configuration XMLMind pour environnement TEI-Epidoc
    Projet IGLS, novembre 2017
    HiSoMA
    Fichier revu le 26-03-2024 -->

<configuration xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration ../configuration/xsd/configuration.xsd"
               xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">

<!-- Importer depuis PapyriInfo -->
<command name="importFromPapyriInfo">
  <macro>
    <sequence>
      <command name="confirm" parameter="Importer le texte de l'inscription ?"/>
      <command name="import"/>
      <command name="XXE.save" parameter="[ifNeeded]" />
      <command name="XXE.open" parameter="[reopen]" />
      

      <command name="confirm" parameter="Supprimer les retours à la ligne ?"/>

    <command name="xpathSearch"
               parameter="[implicitNode] (ancestor::ns:TEI)"/>
 <command name="xpathSearch"

              parameter="[implicitNode] (descendant::ns:div[descendant::ns:ab])"/>
              <command name="xpathSearch"

              parameter="[implicitNode] (descendant::ns:ab)"/>
              <command name="chercheRetours"/>
              <!--  <command name="putAttribute" parameter="xml:space default" />
              -->
    <command name="XXE.save" parameter="[ifNeeded]" />
   <!-- <command name="XXE.open" parameter="[reopen]" />-->
      
      
    </sequence>
  </macro>
</command>
  
<command name="import">
  <process>
    <transform file="%D"
           label="import Papyri"
           stylesheet="xsl%Simport.xsl"
           to="%P%Stemp_%N"
           version="2.0">
           <parameter name="directory">%P</parameter>
         </transform>
         <copy files="%P%Stemp_%N" to="%P%S%N"/>
         <delete files="%P%Stemp_%N" quiet="true"/>
       </process>
     </command>

     


<command name="supprimeRetours">
 <macro undoable="true" repeatable="true">
  <sequence>
    <command name="confirm" parameter="Supprimer les retours à la ligne ?"/>
    
   <!-- <command name="selectNode"
              parameter="parentOrNode"/>
      <command name="xpathSearch"
              parameter="[implicitNode] (ancestor::ns:TEI)"/>-->
      <command name="xpathSearch"
              parameter="[implicitNode] (descendant::ns:div[descendant::ns:ab])"/>
            <!--  <command name="selectNode" parameter="self[implicitElement] {http://www.tei-c.org/ns/1.0}ab" />-->
              <command name="chercheRetours"/> 
  </sequence>
</macro>
</command>

<command name="supprimeRetours">
 <macro undoable="true" repeatable="true">
  <sequence>
    <command name="confirm" parameter="Supprimer les retours à la ligne ?"/>
    <command name="selectNode"
              parameter="parentOrNode"/>
      <command name="xpathSearch"
              parameter="[implicitNode] (ancestor::ns:TEI)"/>
      <command name="xpathSearch"
              parameter="[implicitNode] (descendant::ns:div[descendant::ns:ab])"/>
              <command name="chercheRetours"/> 
  </sequence>
</macro>
</command>

<command name="chercheRetours">
  <macro undoable="true" repeatable="true">
    <sequence>
    <command name="search" parameter="[ra] \n "/>
    <command name="deleteSelectionOrDeleteChar"/>
    <command name="chercheRetours"/> 
    </sequence>
  </macro>
</command>

</configuration>

+14 −0
Original line number Diff line number Diff line
arabe : ara
araméen : arc
araméen édessénien : arc-x-ede
araméen nabatéen : arc-x-nab
araméen palmyrénien : arc-x-pal
arménien : hye
français : fr
géorgien : kat
grec : grc
hébreu : heb
latin : la
phénicien : phn
punique : xpu
syriaque : syr

xxe/edition/reg.incl

0 → 100755
+30 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>

<!--
 Configuration XMLMind pour environnement TEI
 Projet IGLS, novembre 2017
 HiSoMA
 Fichier revu le 2 avril 2024, Elysabeth Hue-Gay
-->
<configuration xsi:schemaLocation="http://www.xmlmind.com/xmleditor/schema/configuration ../configuration/xsd/configuration.xsd"
               xmlns="http://www.xmlmind.com/xmleditor/schema/configuration"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xs="http://www.w3.org/2001/XMLSchema"
               xmlns:cfg="http://www.xmlmind.com/xmleditor/schema/configuration">
<command name="reg">
	<macro repeatable="false" undoable="true">
		<sequence>
			<choice>
				<command name="selectNode" parameter="self[implicitElement] {http://www.tei-c.org/ns/1.0}orig" />
				<command name="convert" parameter="[implicitElement] {http://www.tei-c.org/ns/1.0}orig" />
			</choice>
			<command name="wrap" parameter="[implicitElement] {http://www.tei-c.org/ns/1.0}choice" />
			<command name="selectNode" parameter="child[implicitElement]" />
			<command name="insert"
              parameter="after[implicitElement] {http://www.tei-c.org/ns/1.0}reg"/>
              <command name="prompt" parameter="'régularisation' ' '"/>
              <command name="paste" parameter="into %_" />
          </sequence>
      </macro>
  </command>
</configuration>
 No newline at end of file
Loading