From 55870df5c7765fe3dc03f58a8c996fc97829a1d4 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 4 Nov 2022 08:32:34 +0100 Subject: [PATCH] Do not \protect stuff in index when we postpone the index \protect us not needed here and affects sorting --- src/insets/InsetIndex.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index c7a95f3f44..d863ed2366 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -132,6 +132,9 @@ void InsetIndex::latex(otexstream & ios, OutputParams const & runparams_in) cons { OutputParams runparams(runparams_in); runparams.inIndexEntry = true; + if (runparams_in.postpone_fragile_stuff) + // This is not needed and would impact sorting + runparams.moving_arg = false; otexstringstream os; -- 2.39.2