From 2dfe540371552f14c75c7d9ba9a90a465ed8ec81 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Thu, 11 Jul 2013 18:05:50 +0200 Subject: [PATCH] Fix problem with unbalanced braces in XeTeX output (bug #8765) --- src/Font.cpp | 3 +++ status.20x | 2 ++ 2 files changed, 5 insertions(+) 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). -- 2.39.5