X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FOutputParams.h;h=b3359d417ae18340a63a0c4e4234e4349ddb45fe;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=4534b22c6ed8ebab246e2e04615c9e9dec47c706;hpb=129459a71b52babb1a8e5a1e3de986976c93bde6;p=lyx.git diff --git a/src/OutputParams.h b/src/OutputParams.h index 4534b22c6e..b3359d417a 100644 --- a/src/OutputParams.h +++ b/src/OutputParams.h @@ -79,6 +79,8 @@ public: This esentially seems to mean whether InsetInclude, InsetGraphics and InsetExternal should add the absolute path to any external files or not. + Non-nice LaTeX also includes additional safe line breaks in order to + increase the precision of forward/reverse search and error reporting. */ bool nice; @@ -185,11 +187,16 @@ public: */ std::shared_ptr exportdata; - /** Whether we are inside a display math inset. + /** Whether we are entering a display math inset. * Needed to correctly strike out deleted math in change tracking. */ mutable bool inDisplayMath; + /** Whether we are leaving a display math inset. + * Needed to correctly track nested ulem commands in change tracking. + */ + mutable bool wasDisplayMath; + /** Whether we are inside a comment inset. Insets that are including * external files like InsetGraphics, InsetInclude and InsetExternal * may only write the usual output and must not attempt to do