InsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug.cgi?id=2492

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22541 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-01-13 14:44:28 +00:00
parent 99a9627e12
commit c4670157be
2 changed files with 6 additions and 4 deletions

View File

@ -287,7 +287,7 @@ int InsetBox::latex(Buffer const & buf, odocstream & os,
width_string += " - 2\\fboxsep - 2\\fboxrule"/* "-\\shadowsize"*/;
break;
case Doublebox:
width_string += " - 2\\fboxsep - 7.5\\fboxrule - 1.0pt";
width_string += " - 2\\fboxsep - 7.5\\fboxrule - 1pt";
break;
}
}
@ -388,9 +388,8 @@ int InsetBox::latex(Buffer const & buf, odocstream & os,
os << "}";
break;
}
os << "%\n";
i += 3;
i += 2;
return i;
}

View File

@ -55,7 +55,8 @@ What's new
* DOCUMENT INPUT/OUTPUT
- support to paste text containing ligatures to LyX
- Support to paste text containing ligatures to LyX.
* BUILD/INSTALLATION:
@ -82,6 +83,8 @@ What's new
- Rotated floats are now correctly converted to ERT when exporting to LyX
format < 1.4.0.
- Fix the LaTeX output of boxes (bug 2492).
* USER INTERFACE: