commit 7cdf1c8b6ef5580359780ab25a6c7cdc301a8d96
Author: Koji Yokota <[email protected]>
Date:   Fri May 2 21:17:48 2025 +0900

    Fixing traces of rough drafts
---
 src/mathed/InsetMathBox.cpp     | 2 --
 src/mathed/InsetMathIntertext.h | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/mathed/InsetMathBox.cpp b/src/mathed/InsetMathBox.cpp
index 97d813f2e6..17415adcbf 100644
--- a/src/mathed/InsetMathBox.cpp
+++ b/src/mathed/InsetMathBox.cpp
@@ -128,8 +128,6 @@ void InsetMathBox::validate(LaTeXFeatures & features) const
 
        if (name_ == "tag" || name_ == "tag*")
                features.require("amsmath");
-       if (name_ == "shortintertext")
-               features.require("mathtools");
 
        InsetMathNest::validate(features);
 }
diff --git a/src/mathed/InsetMathIntertext.h b/src/mathed/InsetMathIntertext.h
index 032babd93b..79f05bf32f 100644
--- a/src/mathed/InsetMathIntertext.h
+++ b/src/mathed/InsetMathIntertext.h
@@ -39,7 +39,7 @@ public:
        ///
        void infoize(odocstream & os) const override;
        ///
-       // InsetCode lyxCode() const override { return MATH_INTERTEXT_CODE; }
+       InsetCode lyxCode() const override { return MATH_INTERTEXT_CODE; }
        ///
        void validate(LaTeXFeatures &) const override;
 
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to