Diff for /Amaya/amaya/HTML.trans.fr between versions 1.5 and 1.6

version 1.5, 2004/02/23 09:17:33 version 1.6, 2004/02/27 17:01:33
Line 110  Liste numérotée:(ul{(li{(*)+})+})+; Line 110  Liste numérotée:(ul{(li{(*)+})+})+;
         * > ol:li.*;          * > ol:li.*;
         }          }
   
 Retirer la liste de définition: (dl{(dt{(dtc:*)+}|dd{(ddc:*)+})+})+;  Définition:dt{(*)+};
         {          {
          dtc > :<* style="font-weight:bold">;          * > dd:*;
          ddc > :*;          }
   
   Terme:dd{(p|*)+};
           {
           dd > :dt;
           p > :dt;
           * > dt:*;
           }
   
   Retirer la liste de définition:(dl{(dt{(dtc:*)+}|dd{(p|*)+})+})+;
           {
           dtc > h4:*;
           p > p;
           * > p:*;
         }          }
   
 !flattering headings   !flattering headings 
Line 237  Paragraphe: (pre{*+})+; Line 250  Paragraphe: (pre{*+})+;
         *   > p:*;          *   > p:*;
         }          }
   
 !Tables to/from lists  
 !!!!!!!!!!!!!!!!!!!!  
   
 Table: *{(lev1:li{?(*{(lev2:li)+}|elem:*)+})+};  
         {  
         lev1 > <table border="1">:tr;  
         elem > table.tr:td.*;  
         lev2 > table.tr:td;  
         }  
   
 Table: dl{(dt|dd)+};  
         {  
         dt > <table border="1">.tbody:tr.td;  
         dd > table.tbody.tr:td;  
         }  
   
 Liste numérotée:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};  
         {  
         caption > :ol.li.strong;  
         block > :ol;  
         tr > ol:li;  
         td > ol.li:;  
         th > ol.li:;  
         td2 > ol.li.ul:li;  
         th2 > ol.li.ul:li;  
         }  
   
 Liste à puces:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};  
         {  
         caption > :ul.li.strong;  
         block > :ul;  
         tr > ul:li;  
         td > ul.li:;  
         th > ul.li:;  
         td2 > ul.li.ul:li;  
         th2 > ul.li.ul:li;  
         }  
   
 Liste de définition:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};  
         {  
         caption > :dl.dt;  
         block   > :dl;  
         td      > dl:dt;  
         th      > dl:dt;  
         td2     > dl:dd;  
         th2     > dl:dd;  
         }  
   
 ! Other transformations  
 !!!!!!!!!!!!!!!!!!!!!!  
   
 Réunin les items: li,(li2:li)+;  Réunin les items: li,(li2:li)+;
         {          {
         li > li:;          li > li:;
Line 326  Réunir les listes: dl{(dt|dd)+},(dl{(dt| Line 288  Réunir les listes: dl{(dt|dd)+},(dl{(dt|
         dd > dl:dd;          dd > dl:dd;
         }          }
   
 !Paragraphe: *{(li{(cont:*)+})+};  
 !       {  
 !       cont > :*;  
 !       }  
   
 Paragraphe: *{(li{(*{?(li{(lev2:*)+})+})+})+};  Paragraphe: *{(li{(*{?(li{(lev2:*)+})+})+})+};
         {          {
         lev2 > :*;          lev2 > :*;
Line 368  Retirer 2 niveaux de liste: *{(li{(*{?(l Line 325  Retirer 2 niveaux de liste: *{(li{(*{?(l
 ! Forms to/from elements  ! Forms to/from elements
 !!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!!!
   
 Englober dans Formulaire: *+;  Englober dans Formulaire:(h1|h2|h3|h4|h5|h6|p)+;
         {          {
         * > Form:*;          * > form:*;
         }          }
   
 Retirer Formulaire: form{?*+};  Retirer Formulaire: form{?*+};
Line 402  Liste numérotée:(p|ul|menu|dir|pre|form) Line 359  Liste numérotée:(p|ul|menu|dir|pre|form)
         form > ol:li.form;          form > ol:li.form;
         }          }
   
 ! Tables to/from elements  
 !!!!!!!!!!!!!!!!!!!!!!!!!  
   
 Table verticale: *+;  !Tables to/from lists
         {  !!!!!!!!!!!!!!!!!!!!
         * > <table border="1">:tr.td.*;  
         }  
   
 Table horizontale: *+;  Table: *{(lev1:li{?(*{(lev2:li)+}|elem:*)+})+};
         {          {
         * > <table border="1">.tr:td.*;          lev1 > <table border="1">:tr;
           elem > table.tr:td.*;
           lev2 > table.tr:td;
         }          }
   
   Table: dl{(dt|dd)+};
 Retirer la table:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};  
         {  
         caption > :div.p;  
         block   > :div;  
         td      > :div;  
         th      > :div;  
         td2     > :div;  
         th2     > :div;  
         }  
   
 !Remove Table:table{?caption,?(body:*{(tr{(*{(?cell_content:*)+})+})+})+};  
 !       {  
 !       caption > h3;  
 !       cell_content > :*;  
 !       }  
   
 Transposer la table:table{tbody{tr{(td|th)+}|(tr{td2:td|th2:th})+}};  
         {          {
         td > <table border=table.border>:tr.td;          dt > <table border="1">.tbody:tr.td;
         th > table:tr.td;          dd > table.tbody.tr:td;
         td2 > <table border=table.border>.tr:td;  
         th2 > table.tr:td;  
         }          }
   
 Cellule titre :?(td|th)+,td,?(td|th)+;  Liste numérotée:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};
         {          {
         $ChangeToHeadingCell;          caption > :ol.li.strong;
           block > :ol;
           tr > ol:li;
           td > ol.li:;
           th > ol.li:;
           td2 > ol.li.ul:li;
           th2 > ol.li.ul:li;
         }          }
   
 Cellule :?(td|th)+,th,?(td|th)+;  Liste à puces:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};
         {          {
         $ChangeToDataCell;          caption > :ul.li.strong;
           block > :ul;
           tr > ul:li;
           td > ul.li:;
           th > ul.li:;
           td2 > ul.li.ul:li;
           th2 > ul.li.ul:li;
         }          }
   
   Liste de définition:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};
           {
           caption > :dl.dt;
           block   > :dl;
           td      > dl:dt;
           th      > dl:dt;
           td2     > dl:dd;
           th2     > dl:dd;
           }
   
   ! Remove elements
   !!!!!!!!!!!!!!!!!!!!!!!!!
   
 Retirer la division: (div{*+})+;  Retirer la division: (div{*+})+;
         {          {
Line 501  Retirer le BiDi: bdo{*+}; Line 461  Retirer le BiDi: bdo{*+};
         * > :*;          * > :*;
         }          }
   
   ! Tables to/from elements
   !!!!!!!!!!!!!!!!!!!!!!!!!
   
   Table verticale: *+;
           {
           * > <table border="1">:tr.td.*;
           }
   
   Table horizontale: *+;
           {
           * > <table border="1">.tr:td.*;
           }
   
   
   Retirer la table:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};
           {
           caption > :div.p;
           block   > :div;
           td      > :div;
           th      > :div;
           td2     > :div;
           th2     > :div;
           }
   
   Transposer la table:table{tbody{tr{(td|th)+}|(tr{td2:td|th2:th})+}};
           {
           td > <table border=table.border>:tr.td;
           th > table:tr.td;
           td2 > <table border=table.border>.tr:td;
           th2 > table.tr:td;
           }
   
   Cellule titre:?(td|th)+,td,?(td|th)+;
           {
           $ChangeToHeadingCell;
           }
   
   Cellule:?(td|th)+,th,?(td|th)+;
           {
           $ChangeToDataCell;
           }
   
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 ! Global Document transformation tests !  ! Global Document transformation tests !
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Removed from v.1.5  
changed lines
  Added in v.1.6


Webmaster