Diff for /Amaya/amaya/HTMLTT.T between versions 1.67 and 1.68

version 1.67, 2004/09/13 12:39:17 version 1.68, 2004/09/23 14:13:46
Line 1 Line 1
 {HTMLTT -> HTML to Text translator rules}  {   HTML to Text translator rules              }
 {(c) COPYRIGHT MIT and INRIA, 1996. }  {   (c) COPYRIGHT MIT and INRIA, 2004.         }
 {Please first read the full copyright statement in file COPYRIGHT.}  {                                              }
 { Authors: J. Kahan/V. Quint 1996 }  {    Authors: J. Kahan, V. Quint               }
   
 TRANSLATION HTML;  TRANSLATION HTML;
   
Line 301  RULES Line 301  RULES
  Unnumbered_List: BEGIN   Unnumbered_List: BEGIN
         Indent +3;          Indent +3;
         Indent -3 After;          Indent -3 After;
         Create '\12' After;          if not within List_
              Create '\12' After;
         END;          END;
   
  Numbered_List: BEGIN   Numbered_List: BEGIN
         Indent +3;          Indent +3;
         Indent -3 After;          Indent -3 After;
         Create '\12' After;          if not within List_
              Create '\12' After;
         END;          END;
   
  Address: BEGIN   Address: BEGIN
Line 327  RULES Line 329  RULES
   
  List_Item: BEGIN   List_Item: BEGIN
         Create Attributes;          Create Attributes;
           if within 1 Unnumbered_List
              Create '*  ';
           if within 2 Unnumbered_List
              Create 'o  ';
           if within > 2 Unnumbered_List
              Create '+  ';
           if within Numbered_List
              Create (Value(ItemCounter, Arabic) '. ');
         Indent +3;          Indent +3;
         Indent -3 after;          Indent -3 after;
         END;          END;
Line 482  RULES Line 492  RULES
   
 { ---- Tables ---- }  { ---- Tables ---- }
   
  Table:   Table_:
         BEGIN          BEGIN
         Indent +3;          Indent +3;
         Create Attributes;          Create Attributes;
Line 901  ATTRIBUTES Line 911  ATTRIBUTES
  COMPACT: BEGIN   COMPACT: BEGIN
         END;          END;
   
  IntItemStyle = disc:  
         Create '*  ';  
  IntItemStyle = square :  
         Create '+  ';  
  IntItemStyle = circle :  
         Create 'o  ';  
  IntItemStyle = Arabic_ :  
         Create (Value(ItemCounter, Arabic) '. ');  
  IntItemStyle = LowerAlpha :  
         Create (Value(ItemCounter, Lowercase) '. ');  
  IntItemStyle = UpperAlpha :  
         Create (Value(ItemCounter, Uppercase) '. ');  
  IntItemStyle = LowerRoman :  
         Create (Value(ItemCounter, LRoman) '. ');  
  IntItemStyle = UpperRoman :  
         Create (Value(ItemCounter, URoman) '. ');  
   
  Start: BEGIN   Start: BEGIN
         END;          END;
   
    ItemStyle: BEGIN
           END;
   
  ItemValue: BEGIN   ItemValue: BEGIN
         END;          END;
   

Removed from v.1.67  
changed lines
  Added in v.1.68


Webmaster