From: Juergen Spitzmueller Date: Thu, 11 Jul 2013 16:05:50 +0000 (+0200) Subject: Fix problem with unbalanced braces in XeTeX output (bug #8765) X-Git-Tag: 2.0.7~51 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2dfe540371552f14c75c7d9ba9a90a465ed8ec81;p=features.git Fix problem with unbalanced braces in XeTeX output (bug #8765) --- diff --git a/src/Font.cpp b/src/Font.cpp index 733f86828d..76e0f2e161 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 c3905fa1ae..beebe07301 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).