]> git.lyx.org Git - features.git/commitdiff
ignore \noun definition
authorAndré Pönitz <poenitz@gmx.net>
Wed, 12 Feb 2003 18:28:55 +0000 (18:28 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 12 Feb 2003 18:28:55 +0000 (18:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6132 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/tex2lyx.C

index 5a3b2c3655632eb86fd8cf9c8e3f8f28a7bf0741..f26c71e0bfc76f2358163614c9a93025dfb5f268 100644 (file)
@@ -529,7 +529,7 @@ void parse(Parser & p, ostream & os, unsigned flags, mode_type mode)
                        string const opts = p.getArg('[', ']');
                        string const body = p.verbatimItem();
                        // only non-lyxspecific stuff
-                       if (name != "noun" && name != "tabularnewline") {
+                       if (name != "\\noun " && name != "\\tabularnewline ") {
                                ostream & out = in_preamble ? h_preamble : os;
                                if (!in_preamble)
                                        begin_inset(os, "FormulaMacro\n");