From 56f1c43ecce6851ec6a065b261e1a9698d617945 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 15 Feb 2002 16:06:22 +0000 Subject: [PATCH] don't ignore ',' after '\rho' git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3548 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_charinset.C | 2 ++ src/mathed/math_cursor.C | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mathed/math_charinset.C b/src/mathed/math_charinset.C index 94207622c7..ea37bf58d5 100644 --- a/src/mathed/math_charinset.C +++ b/src/mathed/math_charinset.C @@ -122,6 +122,7 @@ void MathCharInset::handleFont(MathTextCodes t) code_ = (code_ == t) ? LM_TC_VAR : t; } + void MathCharInset::validate(LaTeXFeatures & features) const { // Make sure amssymb is put in preamble if Blackboard Bold or @@ -130,6 +131,7 @@ void MathCharInset::validate(LaTeXFeatures & features) const features.require("amssymb"); } + bool MathCharInset::match(MathInset * p) const { MathCharInset const * q = p->asCharInset(); diff --git a/src/mathed/math_cursor.C b/src/mathed/math_cursor.C index c52c467529..a3581aff1a 100644 --- a/src/mathed/math_cursor.C +++ b/src/mathed/math_cursor.C @@ -1391,6 +1391,8 @@ bool MathCursor::interpret(char c) if (c == '\\') insert(c, LM_TC_TEX); + else + insert(c, lastcode_); return true; } -- 2.39.2