Diff for /Amaya/amaya/MathMLbuilder.c between versions 1.200 and 1.201

version 1.200, 2005/02/02 15:03:32 version 1.201, 2005/02/03 15:07:28
Line 1816  void SetFontstyleAttr (Element el, Docum Line 1816  void SetFontstyleAttr (Element el, Docum
  -----------------------------------------------------------------------*/   -----------------------------------------------------------------------*/
 void SetIntAddSpaceAttr (Element el, Document doc)  void SetIntAddSpaceAttr (Element el, Document doc)
 {  {
   Element       textEl, previous;    Element       textEl, previous, ancestor;
   ElementType   elType;    ElementType   elType;
   AttributeType attrType;    AttributeType attrType;
   Attribute     attr, formAttr;    Attribute     attr, formAttr;
Line 1933  void SetIntAddSpaceAttr (Element el, Doc Line 1933  void SetIntAddSpaceAttr (Element el, Doc
                        text[0] == '<' ||                         text[0] == '<' ||
                        text[0] == '=' ||                         text[0] == '=' ||
                        text[0] == '>' ||                         text[0] == '>' ||
                        text[0] == '^' ||                         text[0] == '^')
                        (int)text[0] == 177 || /* plus or minus */  
                        (int)text[0] == 215 || /* times */  
                        (int)text[0] == 247)   /* divide */  
                 /* infix operator */                  /* infix operator */
                 val = MathML_ATTR_IntAddSpace_VAL_both_;                  val = MathML_ATTR_IntAddSpace_VAL_both_;
               else if (text[0] == ',' ||                else if (text[0] == ',' ||
Line 1960  void SetIntAddSpaceAttr (Element el, Doc Line 1957  void SetIntAddSpaceAttr (Element el, Doc
                 val = MathML_ATTR_IntAddSpace_VAL_nospace;                  val = MathML_ATTR_IntAddSpace_VAL_nospace;
               else                else
                 if ((int)text[0] == 0x2264 || /* less or equal */                  if ((int)text[0] == 0x2264 || /* less or equal */
                     (int)text[0] == 0x00B1 || /* plus or minus */  
                     (int)text[0] == 0x2265 || /* greater or equal */                      (int)text[0] == 0x2265 || /* greater or equal */
                       (int)text[0] == 0x00B1 || /* plus or minus */
                     (int)text[0] == 0x00D7 || /* times */                      (int)text[0] == 0x00D7 || /* times */
                     (int)text[0] == 0x00F7 || /* divide */                      (int)text[0] == 0x00F7 || /* divide */
                     (int)text[0] == 0x2260 || /* not equal */                      (int)text[0] == 0x2260 || /* not equal */
Line 1969  void SetIntAddSpaceAttr (Element el, Doc Line 1966  void SetIntAddSpaceAttr (Element el, Doc
                     (int)text[0] == 0x2248 || /* equivalent */                      (int)text[0] == 0x2248 || /* equivalent */
                     (int)text[0] == 0x2297 || /* circle times */                      (int)text[0] == 0x2297 || /* circle times */
                     (int)text[0] == 0x2295 || /* circle plus */                      (int)text[0] == 0x2295 || /* circle plus */
                       (int)text[0] == 0x2218 || /* ring operator */
                     (int)text[0] == 0x2229 || /* Intersection */                      (int)text[0] == 0x2229 || /* Intersection */
                     (int)text[0] == 0x222A || /* Union */                      (int)text[0] == 0x222A || /* Union */
                     (int)text[0] == 0x2283 || /* Superset of */                      (int)text[0] == 0x2283 || /* Superset of */

Removed from v.1.200  
changed lines
  Added in v.1.201


Webmaster