/Save/ emacs buffer to get rid of print statements...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5435 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-10-17 16:01:43 +00:00
parent 160b147186
commit 425f61be35

View File

@ -339,10 +339,8 @@ string const InsetFormula::PreviewImpl::latexString() const
// Note that we have to get rid of any trailing '\n's for the fix
// to work.
if (prefixIs(str, "\\[")) {
std::cerr << "before\n" << str << std::endl;
str = rtrim(rtrim(ltrim(str, "\\["), "\n"), "\\]");
str = "$ \\displaystyle " + str + " $";
std::cerr << "after\n" << str << std::endl;
}
return str;