[LyX/master] tex2lyx: consider recently added babel shorthands
Juergen Spitzmueller
spitz at lyx.org
Sat Feb 24 07:16:11 UTC 2024
commit a600ca53892219812247b5b284b7e246651fabe9
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Feb 24 08:15:40 2024 +0100
tex2lyx: consider recently added babel shorthands
---
src/tex2lyx/text.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index f5244fbaa5..5f2a620567 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -3355,6 +3355,10 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
|| p.next_token().asInput() == "="
|| p.next_token().asInput() == "/"
|| p.next_token().asInput() == "~"
+ || p.next_token().asInput() == "*"
+ || p.next_token().asInput() == ":"
+ || p.next_token().asInput() == "_"
+ || p.next_token().asInput() == "x"
|| p.next_token().asInput() == "'"
|| p.next_token().asInput() == "`"
|| p.next_token().asInput() == "<"
More information about the lyx-cvs
mailing list