ignore \noun definition

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6132 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-02-12 18:28:55 +00:00
parent b28c0da9ea
commit 920aae526a

View File

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