mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
/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:
parent
160b147186
commit
425f61be35
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user