From: Enrico Forestieri Date: Thu, 29 Sep 2016 16:35:26 +0000 (+0200) Subject: Force local language switch in IPA insets X-Git-Tag: 2.3.0alpha1~934 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=925f933a19eb15c49467a60bbd2e4bf30adde294;p=features.git Force local language switch in IPA insets Otherwise we get latex errors when using polyglossia. --- diff --git a/src/insets/InsetIPA.h b/src/insets/InsetIPA.h index 9b702c92b3..84db92e457 100644 --- a/src/insets/InsetIPA.h +++ b/src/insets/InsetIPA.h @@ -45,6 +45,8 @@ public: Inset * clone() const { return new InsetIPA(*this); } bool neverIndent() const { return true; } + + bool forceLocalFontSwitch() const { return true; } InsetCode lyxCode() const { return IPA_CODE; }