Diff for /Amaya/amaya/HTML.trans between versions 1.33 and 1.34

version 1.33, 2003/11/13 12:07:31 version 1.34, 2003/12/08 12:16:21
Line 110  Numbered list:(ul{(li{(*)+})+})+; Line 110  Numbered list:(ul{(li{(*)+})+})+;
         * > ol:li.*;          * > ol:li.*;
         }          }
   
 Remove dl: (dl{(dt{(dtc:*)+}|dd{(ddc:*)+})+})+;  Remove definition list: (dl{(dt{(dtc:*)+}|dd{(ddc:*)+})+})+;
         {          {
          dtc > :<* style="font-weight:bold">;           dtc > :<* style="font-weight:bold">;
          ddc > :*;           ddc > :*;
Line 197  Definition List:table{?caption,(block:*{ Line 197  Definition List:table{?caption,(block:*{
 ! Other transformations  ! Other transformations
 !!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!
   
 Merge Items: li,(li2:li)+;  Merge items: li,(li2:li)+;
         {          {
         li > li:;          li > li:;
         li2 > li:;          li2 > li:;
         }          }
 Remove Paragraph level: li{p{(cont:*)+},?(next:*)+};  Remove the paragraph level: li{p{(cont:*)+},?(next:*)+};
         {          {
         li > li:;          li > li:;
         cont > *;          cont > *;
         next > *;          next > *;
         }          }
 Remove Underline: (u{*+})+;  Remove the Underline: (u{*+})+;
         {          {
         * > :*;          * > :*;
         }          }
   
 Split Items: (li{a:*,(b:*)+})+;  Split items: (li{a:*,(b:*)+})+;
         {          {
         a > :li.*;          a > :li.*;
         b > :li.*;          b > :li.*;
         }          }
   
 Merge ul lists: ul{li+},(ul{li+})+;  Merge lists: ul{li+},(ul{li+})+;
         {          {
         li > ul:li;          li > ul:li;
         }          }
   
 Merge ol lists: ol{li+},(ol{li+})+;  Merge lists: ol{li+},(ol{li+})+;
         {          {
         li > ol:li;          li > ol:li;
         }          }
   
 Merge dl lists: dl{(dt|dd)+},(dl{(dt|dd)+})+;  Merge lists: dl{(dt|dd)+},(dl{(dt|dd)+})+;
         {          {
         dt > dl:dt;          dt > dl:dt;
         dd > dl:dd;          dd > dl:dd;
Line 277  Remove two list levels: *{(li{(*{?(li{(l Line 277  Remove two list levels: *{(li{(*{?(li{(l
 ! Forms to/from elements  ! Forms to/from elements
 !!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!!!
   
 Enclosing Form: *+;  Enclosing into Form: *+;
         {          {
         * > Form:*;          * > Form:*;
         }          }
   
 Remove Form: form{?*+};  Remove the Form: form{?*+};
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove submenu: (optgroup{*+})+;  Remove the submenu: (optgroup{*+})+;
         {          {
         * > :*;          * > :*;
         }          }
Line 314  Numbered list:(p|ul|menu|dir|pre|form)+; Line 314  Numbered list:(p|ul|menu|dir|pre|form)+;
 ! Tables to/from elements  ! Tables to/from elements
 !!!!!!!!!!!!!!!!!!!!!!!!!  !!!!!!!!!!!!!!!!!!!!!!!!!
   
 Vertical Table: *+;  Vertical table: *+;
         {          {
         * > <table border="1">:tr.td.*;          * > <table border="1">:tr.td.*;
         }          }
   
 Horizontal Table : *+;  Horizontal table : *+;
         {          {
         * > <table border="1">.tr:td.*;          * > <table border="1">.tr:td.*;
         }          }
   
   
 Remove Table:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};  Remove the table:table{?caption,(block:*{(tr{(td|th),?(td2:td|th2:th)+})+})+};
         {          {
         caption > :div.p;          caption > :div.p;
         block   > :div;          block   > :div;
Line 341  Remove Table:table{?caption,(block:*{(tr Line 341  Remove Table:table{?caption,(block:*{(tr
 !       cell_content > :*;  !       cell_content > :*;
 !       }  !       }
   
 Transpose Table:table{tbody{tr{(td|th)+}|(tr{td2:td|th2:th})+}};  Transpose the table:table{tbody{tr{(td|th)+}|(tr{td2:td|th2:th})+}};
         {          {
         td > <table border=table.border>:tr.td;          td > <table border=table.border>:tr.td;
         th > table:tr.td;          th > table:tr.td;
Line 349  Transpose Table:table{tbody{tr{(td|th)+} Line 349  Transpose Table:table{tbody{tr{(td|th)+}
         th2 > table.tr:td;          th2 > table.tr:td;
         }          }
   
 Heading Cell :?(td|th)+,td,?(td|th)+;  Heading cell :?(td|th)+,td,?(td|th)+;
         {          {
         $CreateHeadingCell;          $CreateHeadingCell;
         }          }
   
 Data Cell :?(td|th)+,th,?(td|th)+;  Data cell :?(td|th)+,th,?(td|th)+;
         {          {
         $CreateDataCell;          $CreateDataCell;
         }          }
Line 410  Definition list:(h3,?hr,?(level1:*)+,?(h Line 410  Definition list:(h3,?hr,?(level1:*)+,?(h
         level3 > dl.dd.dl.dd.dl.dd:*;          level3 > dl.dd.dl.dd.dl.dd:*;
         }          }
   
 Multi level Definition list:(h4,?hr,?(level1:*)+,(h5,?(level2:*)+,((h6)+,(level3:*)+)+)+)+;  Multi-level definition list:(h4,?hr,?(level1:*)+,(h5,?(level2:*)+,((h6)+,(level3:*)+)+)+)+;
         {          {
         h4 > dl:dt;          h4 > dl:dt;
         level1 > dl.dd:*;          level1 > dl.dd:*;
Line 450  Definition list: p,*+; Line 450  Definition list: p,*+;
         * > dl.dd:*;          * > dl.dd:*;
         }          }
   
 Remove Div: (div{*+})+;  Remove the division: (div{*+})+;
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove Center: (center{*+})+;  Remove the Center element: (center{*+})+;
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove Paragraph level: p{img};  Remove the paragraph level: p{img};
         {          {
         img > :*;          img > :*;
         }          }
   
 Remove BlockQuote: blockquote{*+};  Remove the BlockQuote element: blockquote{*+};
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove font: font{*+};  Remove the font element: font{*+};
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove span: span{*+};  Remove the span element: span{*+};
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove Subscript: sub{*+};  Remove the Subscript: sub{*+};
         {          {
         * > :*;          * > :*;
         }          }
                   
 Remove Superscript: sup{*+};  Remove the Superscript: sup{*+};
         {          {
         * > :*;          * > :*;
         }          }
                   
 Remove Quotation: q{*+};  Remove the Quotation: q{*+};
         {          {
         * > :*;          * > :*;
         }          }
   
 Remove BiDi: bdo{*+};  Remove the BiDi: bdo{*+};
         {          {
         * > :*;          * > :*;
         }          }

Removed from v.1.33  
changed lines
  Added in v.1.34


Webmaster