]> git.lyx.org Git - features.git/commitdiff
Force local language switch in IPA insets
authorEnrico Forestieri <forenr@lyx.org>
Thu, 29 Sep 2016 16:35:26 +0000 (18:35 +0200)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 29 Sep 2016 16:35:26 +0000 (18:35 +0200)
Otherwise we get latex errors when using polyglossia.

src/insets/InsetIPA.h

index 9b702c92b368cd7fa06c31efd94259f70ca5badc..84db92e457bfef3ba2421061161b3756e2ddaa53 100644 (file)
@@ -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; }