Hi,

The commit below introduces an incompatibility between lyx 2.3.1 and 2.3.2 that can affect users of math macros.

This was reported a while ago at https://www.lyx.org/trac/ticket/9348#comment:17 with an example. The difference results in extra red braces being introduced. The example shows several cases where this changes the latex meaning and pdf output in some cases, and causes compilation errors in other cases.

This is the sort of difference that can cause repeated issues, say, for two people who use different stable versions to collaborate on the same document.

Guillaume



Le 06/10/2018 à 12:51, Enrico Forestieri a écrit :
commit e94ea46be7e6738ff7ebdaca995c076a6fe649ef
Author: Enrico Forestieri <for...@lyx.org>
Date:   Tue Apr 10 22:40:02 2018 +0200

     Fix bug #9348
(cherry picked from commit 503f7db224c7afaa82ce1f0aea538bd2af0cf31a)
---
  src/mathed/InsetMathBrace.h |    2 --
  status.23x                  |    2 ++
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mathed/InsetMathBrace.h b/src/mathed/InsetMathBrace.h
index b28cd05..82393e9 100644
--- a/src/mathed/InsetMathBrace.h
+++ b/src/mathed/InsetMathBrace.h
@@ -29,8 +29,6 @@ public:
        InsetMathBrace * asBraceInset() { return this; }
        /// identifies brace insets
        InsetMathBrace const * asBraceInset() const { return this; }
-       /// we write extra braces in any case...
-       bool extraBraces() const { return true; }
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
diff --git a/status.23x b/status.23x
index 4874268..66ef597 100644
--- a/status.23x
+++ b/status.23x
@@ -127,6 +127,8 @@ What's new
- Fix issue with erroneous qualified citations (bug 11308). +- Do not remove brace insets when parsing from latex (bug 9348).
+
* USER INTERFACE


Reply via email to