From: Juergen Spitzmueller Date: Fri, 4 Nov 2022 07:32:34 +0000 (+0100) Subject: Do not \protect stuff in index when we postpone the index X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=55870df5c7765fe3dc03f58a8c996fc97829a1d4;hp=d41e0c9231f6ef98e2308f6a267b6fb4e50c6fb3;p=features.git Do not \protect stuff in index when we postpone the index \protect us not needed here and affects sorting --- 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;