Author: uwestoehr
Date: Wed Jun 2 04:06:48 2010
New Revision: 34585
URL: http://www.lyx.org/trac/changeset/34585
Log:
InsetBox.cpp: fix #4776 for branch
Modified:
lyx-devel/branches/BRANCH_1_6_X/src/insets/InsetBox.cpp
lyx-devel/branches/BRANCH_1_6_X/status.16x
Modified: lyx-devel/branches/BRANCH_1_6_X/src/insets/InsetBox.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_1_6_X/src/insets/InsetBox.cpp Wed Jun 2
02:24:19 2010 (r34584)
+++ lyx-devel/branches/BRANCH_1_6_X/src/insets/InsetBox.cpp Wed Jun 2
04:06:48 2010 (r34585)
@@ -304,8 +304,7 @@
case Boxed:
os << "\\framebox";
if (!params_.inner_box) {
- os << "{\\makebox";
- // Special widths, see usrguide �3.5
+ // Special widths, see usrguide §3.5
// FIXME UNICODE
if (params_.special != "none") {
os << "[" << params_.width.value()
@@ -396,8 +395,6 @@
os << "\\end{framed}";
break;
case Boxed:
- if (!params_.inner_box)
- os << "}"; // for makebox
os << "}";
break;
case ovalbox:
Modified: lyx-devel/branches/BRANCH_1_6_X/status.16x
==============================================================================
--- lyx-devel/branches/BRANCH_1_6_X/status.16x Wed Jun 2 02:24:19 2010
(r34584)
+++ lyx-devel/branches/BRANCH_1_6_X/status.16x Wed Jun 2 04:06:48 2010
(r34585)
@@ -95,6 +95,8 @@
- Fix assertion when using an empty user macro taking an argument as
the base of script inset (bug 6739).
+- Correct the LaTeX output of framed boxes (bug 4776).
+
* USER INTERFACE