commit 7fdb2676f24da7e5e69ae06958a74342ea1aa5fa
Author: Juergen Spitzmueller <[email protected]>
Date: Sat Aug 9 17:57:03 2025 +0200
Do not import internal ('@') command redefinitions as math macro defs
---
src/tex2lyx/text.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index f92b4975c5..20aa0aa6ce 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -6209,6 +6209,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags,
bool outer,
t.cs() == "providecommand" ||
t.cs() == "providecommandx" ||
name[name.length()-1] == '*' ||
+ contains(command, "@") ||
is_known(ltrim(command, "\\"), known_sizes))
output_ert_inset(os, ert, context);
else {
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs