]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.cpp
Allow toggling (no)limits only after mathop symbol
[lyx.git] / src / mathed / MathParser.cpp
index d7af40cb414a1dbb84973d4540e1cecaee31c06a..fbd08c3931dd9b61fe02a531a6e46dba115e58d7 100644 (file)
@@ -1552,7 +1552,8 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
                }
 
                else if (t.cs() == "ref" || t.cs() == "eqref" || t.cs() == "prettyref"
-                         || t.cs() == "pageref" || t.cs() == "vpageref" || t.cs() == "vref") {
+                         || t.cs() == "nameref" || t.cs() == "pageref"
+                         || t.cs() == "vpageref" || t.cs() == "vref") {
                        cell->push_back(MathAtom(new InsetMathRef(buf, t.cs())));
                        docstring const opt = parse_verbatim_option();
                        docstring const ref = parse_verbatim_item();