Diff for /Amaya/amaya/MathMLbuilder.c between versions 1.9 and 1.10

version 1.9, 1998/09/17 12:38:24 version 1.10, 1998/09/21 17:21:29
Line 940  void SetSingleHorizStretchAttr (el, doc, Line 940  void SetSingleHorizStretchAttr (el, doc,
                      if ((int)text[0] == 172 || (int)text[0] == 174)                       if ((int)text[0] == 172 || (int)text[0] == 174)
                         /* horizontal arrow */                          /* horizontal arrow */
                         {                          {
                           c = EOS;
                         /* attach a horizstretch attribute */                          /* attach a horizstretch attribute */
                         attrType.AttrSSchema = elType.ElSSchema;                          attrType.AttrSSchema = elType.ElSSchema;
                         attrType.AttrTypeNum = MathML_ATTR_horizstretch;                          attrType.AttrTypeNum = MathML_ATTR_horizstretch;
Line 958  void SetSingleHorizStretchAttr (el, doc, Line 959  void SetSingleHorizStretchAttr (el, doc,
                            c = '<';                             c = '<';
                         if ((int)text[0] == 174)                          if ((int)text[0] == 174)
                            c = '>';                             c = '>';
                         TtaSetGraphicsShape (symbolEl, c, doc);                          if (c != EOS)
                              TtaSetGraphicsShape (symbolEl, c, doc);
                         }                          }
                 }                  }
               }                }
Line 1369  void LinkMathCellsWithColumnHeads (elMTA Line 1371  void LinkMathCellsWithColumnHeads (elMTA
            }             }
         TtaNextSibling (&cell);          TtaNextSibling (&cell);
         }          }
         if (nCell > nCol)
            nCol = nCell;
       }        }
     if (nCell > nCol)  
        nCol = nCell;  
     TtaNextSibling (&row);      TtaNextSibling (&row);
     }      }
   
Line 1742  void ChangeTypeOfElement (elem, doc, new Line 1744  void ChangeTypeOfElement (elem, doc, new
     
 {  {
      Element    prev, next, parent;       Element    prev, next, parent;
    
        parent = NULL;
      prev = elem;       prev = elem;
      TtaPreviousSibling (&prev);       TtaPreviousSibling (&prev);
      if (prev == NULL)       if (prev == NULL)

Removed from v.1.9  
changed lines
  Added in v.1.10


Webmaster