+2006-03-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * symbols: Add \tag and \tag*
+
2006-03-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* symbols: Comment out unused insets
overset overset none
#protect protect none
mbox mbox forcetext
+tag mbox forcetext
+tag* mbox forcetext
#newcommand newcommand none
#label label none
#left left none
+2006-03-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * math_parser.C (parse1): Parse \tag and \tag* correctly
+
2006-03-14 Martin Vermeer <martin.vermeer@hut.fi>
* math_data.C (x2pos): Fix to bug 2325: Mouse click to right of last
parse(cell->back().nucleus()->cell(2), FLAG_ITEM, MathInset::TEXT_MODE);
}
+ else if (t.cs() == "tag") {
+ if (nextToken().character() == '*') {
+ getToken();
+ cell->push_back(createMathInset(t.cs() + '*'));
+ } else
+ cell->push_back(createMathInset(t.cs()));
+ parse(cell->back().nucleus()->cell(0), FLAG_ITEM, MathInset::TEXT_MODE);
+ }
+
#if 0
else if (t.cs() == "infer") {
MathArray ar;
+2006-03-13 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * math.C (parse_math): Parse \tag and \tag* correctly
+
2006-03-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* text.C (parse_text): Handle \verb
os << '}';
}
+ else if (t.cs() == "tag") {
+ os << '\\' << t.cs();
+ if (p.next_token().asInput() == "*") {
+ p.get_token();
+ os << '*';
+ }
+ os << '{';
+ parse_math(p, os, FLAG_ITEM, MATHTEXT_MODE);
+ os << '}';
+ }
+
else if (t.cs() == "mbox" || t.cs() == "fbox") {
os << "\\" << t.cs() << '{';
parse_math(p, os, FLAG_ITEM, MATHTEXT_MODE);