]> git.lyx.org Git - features.git/commitdiff
Escape backslash in comments
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 3 Dec 2020 13:47:34 +0000 (14:47 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 3 Dec 2020 13:47:34 +0000 (14:47 +0100)
src/tex2lyx/text.cpp

index 497e68e50fadd8d0de894db1e31d2e2bab9be220..10b9c093b0b6c1188bb01fa79c9d2090e8eb23d3 100644 (file)
@@ -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};