]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_parser.C
fix bug 2234
[features.git] / src / mathed / math_parser.C
index be12a451e55004f885095806144fecdb5eb445cc..275c9ee4974d689e589ff611e408d4ea99d3cc92 100644 (file)
@@ -1260,6 +1260,15 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
                        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;