Subversion Repositories wimsdev

Rev

Rev 12249 | Rev 13101 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12249 Rev 12259
Line 296... Line 296...
296
  p1=find_word_start(p);if(*p1==0) return;
296
  p1=find_word_start(p);if(*p1==0) return;
297
  while(*p1=='+') p1++;
297
  while(*p1=='+') p1++;
298
  if(p1>p) ovlstrcpy(p,p1);
298
  if(p1>p) ovlstrcpy(p,p1);
299
  (void)__replace_badchar(p,"**", "^");
299
  (void)__replace_badchar(p,"**", "^");
300
  (void)__replace_badchar(p,"\xa0", " ");
300
  (void)__replace_badchar(p,"\xa0", " ");
-
 
301
 
301
  if (__replace_badchar(p,"²", "^2 ")) flatpower=1;
302
/*if (__replace_badchar(p,"²", "^2 ")) flatpower=1;
302
  if (__replace_badchar(p,"³", "^3 ")) flatpower=1;
303
  if (__replace_badchar(p,"³", "^3 ")) flatpower=1;
-
 
304
*/
-
 
305
  if (__replace_badchar(p,"\xB2", "^2 ")) flatpower=1;
-
 
306
  if (__replace_badchar(p,"\xB3", "^3 ")) flatpower=1;
303
  unmatch=__replace_abs(p);
307
  unmatch=__replace_abs(p);
304
  __replace_plusminus(p) ;
308
  __replace_plusminus(p) ;
305
  __replace_space(p);
309
  __replace_space(p);
306
  __treat_decimal(p);
310
  __treat_decimal(p);
307
  if (rawmath_easy) return;
311
  if (rawmath_easy) return;