]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Protect label in moving argument
[lyx.git] / src / Paragraph.cpp
index 27aecb5eaee7fc4af6a211e6617136b572ed97a4..f1fc7bd886e903712eb4221e88fb8557ac061bd8 100644 (file)
@@ -2833,6 +2833,9 @@ void Paragraph::latex(BufferParams const & bparams,
                // such as Note that do not produce any output, so that no
                // command is ever executed but its opening was recorded.
                runparams.inulemcmd = rp.inulemcmd;
+
+               // And finally, pass the post_macros upstream
+               runparams.post_macro = rp.post_macro;
        }
 
        // If we have an open font definition, we have to close it