commit 2dfe540371552f14c75c7d9ba9a90a465ed8ec81
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Jul 11 18:05:50 2013 +0200

    Fix problem with unbalanced braces in XeTeX output (bug #8765)

diff --git a/src/Font.cpp b/src/Font.cpp
index 733f868..76e0f2e 100644
--- a/src/Font.cpp
+++ b/src/Font.cpp
@@ -284,6 +284,9 @@ int Font::latexWriteStartChanges(odocstream & os, 
BufferParams const & bparams,
                        tmp += "{";
                        os << from_ascii(tmp);
                        count += tmp.length();
+               } else {
+                       os << '{';
+                       count += 1;
                }
        } else if (language()->babel() != base.language()->babel() &&
            language() != prev.language()) {
diff --git a/status.20x b/status.20x
index c3905fa..beebe07 100644
--- a/status.20x
+++ b/status.20x
@@ -52,6 +52,8 @@ What's new
 
 * DOCUMENT INPUT/OUTPUT
 
+- Fix problem with unbalanced braces in XeTeX output (bug 8765).
+
 - Added h5 and h6 as tags for Paragraph and Subparagraph.
 
 - Include alt tag when exporting math as images (bug 8746).

Reply via email to