commit 55870df5c7765fe3dc03f58a8c996fc97829a1d4
Author: Juergen Spitzmueller <sp...@lyx.org>
Date:   Fri Nov 4 08:32:34 2022 +0100

    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 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index c7a95f3..d863ed2 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;
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to