The branch, 2.0.x, has been updated.

- Log -----------------------------------------------------------------

commit 79a8c0d2a9582c6623d6d0a739920ef0a3eca005
Author: Uwe Stöhr <[email protected]>
Date:   Sun Nov 25 02:21:13 2012 +0100

    fix bug #8223 also for branch

diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index 0089a0e..9ca67c0 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -3727,8 +3727,16 @@ void parse_text(Parser & p, ostream & os, unsigned 
flags, bool outer,
                        } else {
                                string special = p.getFullOpt();
                                special += p.getOpt();
-                               parse_outer_box(p, os, FLAG_ITEM, outer,
-                                               context, t.cs(), special);
+                               // LyX does not yet support \framebox without 
any option
+                               if (!special.empty())
+                                       parse_outer_box(p, os, FLAG_ITEM, outer,
+                                       context, t.cs(), special);
+                               else {
+                                       eat_whitespace(p, os, context, false);
+                                       handle_ert(os, "\\framebox{", context);
+                                       parse_text(p, os, FLAG_ITEM, outer, 
context);
+                                       handle_ert(os, "}", context);
+                               }
                        }
                }
 
diff --git a/status.20x b/status.20x
index fca87b0..bf4b797 100644
--- a/status.20x
+++ b/status.20x
@@ -87,6 +87,7 @@ What's new
 
 * TEX2LYX
 
+- correct import of the command \framebox (bug 8223).
 
 
 * ADVANCED FIND AND REPLACE

-----------------------------------------------------------------------

Summary of changes:
 src/tex2lyx/text.cpp |   12 ++++++++++--
 status.20x           |    1 +
 2 files changed, 11 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to