From c4670157be57150c3928c54f372a58b5fca41b81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Sun, 13 Jan 2008 14:44:28 +0000 Subject: [PATCH] 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 --- src/insets/InsetBox.cpp | 5 ++--- status.15x | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index 8e6b1b99bb..5d5b8c2121 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -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; } diff --git a/status.15x b/status.15x index 2b6df880dc..687b218726 100644 --- a/status.15x +++ b/status.15x @@ -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: