From 2890b99a76ec58e57168b26cd1872e050eb37cfb Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Wed, 17 Jul 2019 21:28:49 +0200 Subject: [PATCH] Fix bug #11616 Do not care about branches when no package language is used. --- src/insets/InsetBranch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index 88d00e641e..7947b8ec39 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -294,7 +294,7 @@ void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const { if (producesOutput()) { OutputParams rp = runparams; - rp.inbranch = true; + rp.inbranch = rp.use_babel || rp.use_polyglossia; InsetText::latex(os, rp); } }