From 15e1e89df2504db629370003b1ffd620bd168355 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Thu, 11 Nov 2004 12:01:34 +0000 Subject: [PATCH] enable tfrac git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9227 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 4 ++++ src/mathed/Makefile.am | 2 ++ src/mathed/math_factory.C | 6 +++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 7812e9545d..2552d7b9ca 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2004-11-11 Alfredo Braunstein + + * Makefile.am: add math_tfracinset.[Ch] + 2004-11-07 Lars Gullik Bjonnes * math_parser.C (parse1): change to use lyx::support::atoi diff --git a/src/mathed/Makefile.am b/src/mathed/Makefile.am index fa6bee480e..5d8d34e5e5 100644 --- a/src/mathed/Makefile.am +++ b/src/mathed/Makefile.am @@ -141,6 +141,8 @@ libmathed_la_SOURCES = \ math_symbolinset.h \ math_tabularinset.C \ math_tabularinset.h \ + math_tfracinset.C \ + math_tfracinset.h \ math_unknowninset.C \ math_unknowninset.h \ math_undersetinset.C \ diff --git a/src/mathed/math_factory.C b/src/mathed/math_factory.C index 61d6f330c9..5f1a8a0167 100644 --- a/src/mathed/math_factory.C +++ b/src/mathed/math_factory.C @@ -46,7 +46,7 @@ #include "math_substackinset.h" #include "math_symbolinset.h" #include "math_tabularinset.h" -//#include "math_tfracinset.h" +#include "math_tfracinset.h" #include "math_undersetinset.h" #include "math_unknowninset.h" #include "math_xarrowinset.h" @@ -321,8 +321,8 @@ MathAtom createMathInset(string const & s) return MathAtom(new MathColorInset(false)); if (s == "dfrac") return MathAtom(new MathDfracInset); -// if (s == "tfrac") -// return MathAtom(new MathTfracInset); + if (s == "tfrac") + return MathAtom(new MathTfracInset); if (MacroTable::globalMacros().has(s)) return MathAtom(new MathMacro(s, -- 2.39.2