]> git.lyx.org Git - features.git/commitdiff
Fix problem with unbalanced braces in XeTeX output (bug #8765)
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Jul 2013 16:05:50 +0000 (18:05 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Jul 2013 16:05:50 +0000 (18:05 +0200)
src/Font.cpp
status.20x

index 733f86828d4eaaf5348030c6139af398dbf1ff8d..76e0f2e16156eb40d7d51bc91b221ba22696343b 100644 (file)
@@ -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()) {
index c3905fa1aeb152fee4d912e9c317fb7cd0234794..beebe0730110e2e09fe47a906c6986077c8efc41 100644 (file)
@@ -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).