From 0b8263816454aa1acdf7c947f43b17623c52d4e1 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 16 Nov 2009 17:37:51 +0000 Subject: [PATCH] Handle the TEXT flavor in this switch. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32054 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetExternal.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index a2543a1937..6762b0f762 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -718,6 +718,9 @@ void InsetExternal::validate(LaTeXFeatures & features) const case OutputParams::HTML: format = "html"; break; + case OutputParams::TEXT: + format = "text"; + break; } external::Template::Formats::const_iterator cit = et.formats.find(format);