commit a204dbe9347176de0993efd20e582e78d850cbb3
Author: Juergen Spitzmueller <[email protected]>
Date:   Thu Dec 3 14:47:34 2020 +0100

    Escape backslash in comments
---
 src/tex2lyx/text.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index 497e68e..10b9c09 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -317,11 +317,11 @@ char const * const known_tex_extensions[] = {"tex", 0};
 
 /// spaces known by InsetSpace
 char const * const known_spaces[] = { " ", "space", 
-",", "thinspace",//                                   \, = \thinspace
+",", "thinspace",//                                   \\, = \\thinspace
 "quad", "qquad", "enspace", "enskip",
-";", ">", "medspace",//                               \; = \> = \medspace
-":", "thickspace",//                                  \: = \thickspace
-"!", "negthinspace",//                                \! = \negthinspace
+";", ">", "medspace",//                               \\; = \\> = \medspace
+":", "thickspace",//                                  \\: = \\thickspace
+"!", "negthinspace",//                                \\! = \\negthinspace
 "negmedspace", "negthickspace",
 "textvisiblespace", "hfill", "dotfill", "hrulefill", "leftarrowfill",
 "rightarrowfill", "upbracefill", "downbracefill", 0};
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to