Diff for /Amaya/amaya/HTMLT.T between versions 1.79 and 1.80

version 1.79, 1999/05/17 09:25:07 version 1.80, 1999/05/25 07:27:03
Line 35  RULES Line 35  RULES
         if HtmlDTD = Frameset          if HtmlDTD = Frameset
            BEGIN             BEGIN
            Create '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"\12';             Create '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN"\12';
            Create '   "http://www.w3.org/TR/REC-html40/frameset.dtd">\12';             Create '                      "http://www.w3.org/TR/REC-html40/frameset.dtd">\12';
            END;             END;
         if not HtmlDTD = Frameset          if not HtmlDTD = Frameset
            BEGIN             BEGIN
            Create '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"\12';             Create '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"\12';
            Create '   "http://www.w3.org/TR/REC-html40/loose.dtd">\12';             Create '                      "http://www.w3.org/TR/REC-html40/loose.dtd">\12';
            END;             END;
         Create '<html';          Create '<html';
 #endif  #endif
Line 53  RULES Line 53  RULES
         Create '<head' Before;          Create '<head' Before;
         Create Attributes Before;          Create Attributes Before;
         Create '>\12' Before;          Create '>\12' Before;
         Create '</head>\12' After;          Indent +2 Before;
           Indent -2 After;
           Create '</head>\12\12' After;
         END;          END;
   
  Document_URL:   Document_URL:
Line 125  RULES Line 127  RULES
         Create '>';          Create '>';
         NoLineBreak;          NoLineBreak;
         NoTranslation;          NoTranslation;
         Create '\12</style>\12' After;          Indent -2;
           Indent +2 After;
           Create '</style>\12' After;
         END;          END;
   
  SCRIPT: BEGIN   SCRIPT: BEGIN
Line 140  RULES Line 144  RULES
         Create '>\12';          Create '>\12';
         NoLineBreak;          NoLineBreak;
         NoTranslation;          NoTranslation;
         Create '\12</script>\12' After;          Indent -2;
           Indent +2 After;
           Create '</script>\12' After;
         END;          END;
   
  META: BEGIN   META: BEGIN
Line 185  RULES Line 191  RULES
         END;          END;
   
  H1:    BEGIN   H1:    BEGIN
         if not within Preformatted Create '\12';          if not within Preformatted and not first Create '\12';
         Create '<h1';          Create '<h1';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
Line 194  RULES Line 200  RULES
         END;          END;
   
  H2:    BEGIN   H2:    BEGIN
         if not within Preformatted Create '\12';          if not within Preformatted and not first Create '\12';
         Create '<h2';          Create '<h2';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
Line 203  RULES Line 209  RULES
         END;          END;
   
  H3:    BEGIN   H3:    BEGIN
         if not within Preformatted Create '\12';          if not within Preformatted and not first Create '\12';
         Create '<h3';          Create '<h3';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
Line 212  RULES Line 218  RULES
         END;          END;
   
  H4:    BEGIN   H4:    BEGIN
         if not within Preformatted Create '\12';          if not within Preformatted and not first Create '\12';
         Create '<h4';          Create '<h4';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
Line 221  RULES Line 227  RULES
         END;          END;
   
  H5:    BEGIN   H5:    BEGIN
         if not within Preformatted Create '\12';          if not within Preformatted and not first Create '\12';
         Create '<h5';          Create '<h5';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
Line 230  RULES Line 236  RULES
         END;          END;
   
  H6:    BEGIN   H6:    BEGIN
         if not within Preformatted Create '\12';          if not within Preformatted and not first Create '\12';
         Create '<h6';          Create '<h6';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
Line 498  RULES Line 504  RULES
 #endif  #endif
   
  Paragraph: BEGIN   Paragraph: BEGIN
         Create '\12<p';          if not within List_Item and not within Definition and not first
                   Create '\12';
           Create '<p';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
         Create '</p>' After;          Create '</p>\12' After;
         Create '\12' After;  
         END;          END;
   
  Pseudo_paragraph: BEGIN   Pseudo_paragraph: BEGIN
         Create '\12';          if not last Create '\12' After;
         Create '\12' After;  
         END;          END;
   
  TEXT_UNIT: BEGIN   TEXT_UNIT: BEGIN
Line 519  RULES Line 525  RULES
         Create '<dl';          Create '<dl';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</dl>\12' After;          Create '</dl>\12' After;
         END;          END;
   
Line 530  RULES Line 538  RULES
         END;          END;
   
  Definition: BEGIN   Definition: BEGIN
           Indent +2;
         Create '<dd';          Create '<dd';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
           Indent +2;
           Indent -2 After;
         Create '</dd>\12' After;          Create '</dd>\12' After;
           Indent -2 After;
         END;          END;
   
  Unnumbered_List: BEGIN   Unnumbered_List: BEGIN
         Create '<ul';          Create '<ul';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</ul>\12' After;          Create '</ul>\12' After;
         END;          END;
   
Line 547  RULES Line 561  RULES
         Create '<ol';          Create '<ol';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</ol>\12' After;          Create '</ol>\12' After;
         END;          END;
   
Line 554  RULES Line 570  RULES
         Create '<address';          Create '<address';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
         Create '</address>\12' After;          Indent +2;
           Indent -2 After;
           Create '\12</address>\12' After;
         END;          END;
   
  Menu:  BEGIN   Menu:  BEGIN
         Create '<menu';          Create '<menu';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</menu>\12' After;          Create '</menu>\12' After;
         END;          END;
   
Line 568  RULES Line 588  RULES
         Create '<dir';          Create '<dir';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</dir>\12' After;          Create '</dir>\12' After;
         END;          END;
   
Line 575  RULES Line 597  RULES
         Create '<li';          Create '<li';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
           Indent +2;
           Indent -2 After;
         Create '</li>\12' After;          Create '</li>\12' After;
         END;          END;
   
Line 599  RULES Line 623  RULES
         END;          END;
   
  Form: BEGIN   Form: BEGIN
         Create '<form';          Create '\12<form';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</form>\12' After;          Create '</form>\12' After;
         END;          END;
   
Line 609  RULES Line 635  RULES
         Create '\12<select';          Create '\12<select';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
           Indent +2;
           Indent -2 After;
         Create '\12</select>\12' After;          Create '\12</select>\12' After;
         END;          END;
   
Line 623  RULES Line 651  RULES
         Create '\12<optgroup';          Create '\12<optgroup';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
         Create '</optgroup>' After;          Indent +2;
           Indent -2 After;
           Create '\12</optgroup>' After;
         END;          END;
   
  Text_Area: BEGIN   Text_Area: BEGIN
Line 763  RULES Line 793  RULES
         END;          END;
   
  Block_Quote: BEGIN   Block_Quote: BEGIN
         Create '<blockquote';          Create '\12<blockquote';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 After;
         Create '</blockquote>\12' After;          Create '</blockquote>\12' After;
         END;          END;
   
Line 797  RULES Line 829  RULES
         Create '<map';          Create '<map';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
         Create '</map>\12' after;          Indent +2;
           Indent -2 After;
           Create '</map>\12' After;
         END;          END;
   
  AREA:   AREA:
Line 819  RULES Line 853  RULES
         Create '\12<table';          Create '\12<table';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 after;
         Create '</table>\12' after;          Create '</table>\12' after;
         END;          END;
   
Line 835  RULES Line 871  RULES
         Create '<colgroup';          Create '<colgroup';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
           Indent +2;
           Indent -2 after;
         Create '</caption>\12' after;          Create '</caption>\12' after;
         END;          END;
   
Line 843  RULES Line 881  RULES
         Create '<col';          Create '<col';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
         Create '</caption>\12' after;          Create '</col>\12' after;
         END;          END;
   
  Table_head:   Table_head:
Line 854  RULES Line 892  RULES
         Create '<thead';          Create '<thead';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 after;
         Create '</thead>\12' after;          Create '</thead>\12' after;
         END;          END;
   
Line 862  RULES Line 902  RULES
         Create '<tfoot';          Create '<tfoot';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 after;
         Create '</tfoot>\12' after;          Create '</tfoot>\12' after;
         END;          END;
   
  tbody:   tbody:
         BEGIN          BEGIN
         Create '<tbody';          Create '<tbody';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 after;
         Create '</tbody>\12' after;          Create '</tbody>\12' after;
         END;          END;
   
Line 880  RULES Line 925  RULES
         Create '<tr';          Create '<tr';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2 after;
         Create '</tr>\12' after;          Create '</tr>\12' after;
         END;          END;
   
Line 888  RULES Line 935  RULES
         Create '<td';          Create '<td';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
           Indent +2;
           Indent -2 after;
         Create '</td>\12' after;          Create '</td>\12' after;
         END;          END;
   
Line 896  RULES Line 945  RULES
         Create '<th';          Create '<th';
         Create Attributes;          Create Attributes;
         Create '>';          Create '>';
           Indent +2;
           Indent -2 after;
         Create '</th>\12' after;          Create '</th>\12' after;
         END;          END;
   
Line 945  RULES Line 996  RULES
   
  Comment\240: BEGIN   Comment\240: BEGIN
         NoLineBreak;          NoLineBreak;
         Create '\12<!--';          Create '<!--';
         NoTranslation;          NoTranslation;
         Create '-->\12' after;          Create '-->\12' after;
         END;          END;
Line 990  RULES Line 1041  RULES
         Create '<iframe';          Create '<iframe';
         Create Attributes;          Create Attributes;
         Create '>\12';          Create '>\12';
           Indent +2;
           Indent -2;
         Create '</iframe>\12' After;              Create '</iframe>\12' After;    
         END;          END;
   

Removed from v.1.79  
changed lines
  Added in v.1.80


Webmaster