#include "math_support.h"
#include <algorithm>
-#include <cctype>
#define FILEDEBUG 0
using std::min;
using std::max;
using std::swap;
-using std::isalnum;
using std::vector;
using std::ostringstream;
}
/*
- if (strchr("{}", c)) {
+ if (c == '{' || c == '}', c)) {
insert(c, LM_TC_TEX);
return true;
}
return true;
}
- if (strchr("$%", c)) {
+ if (c == '$' || c == '%') {
insert(MathAtom(new MathSpecialCharInset(c)));
lastcode_ = LM_TC_VAR;
return true;