]> git.lyx.org Git - lyx.git/blobdiff - lib/scripts/csv2lyx.py
UserGuide.lyx: some index fixes for the non-english version
[lyx.git] / lib / scripts / csv2lyx.py
index 2e8bbbb1d8b23cbeca3f2a533e0478b77681b6cc..77706b4efd8c2472787a127a7a36f5ea58c6549f 100644 (file)
@@ -6,7 +6,6 @@
 # Licence details can be found in the file COPYING.
 
 # author Hartmut Haase
-# author Uwe Stöhr
 # author José Matos
 # Full author contact details are available in file CREDITS
 
@@ -181,7 +180,7 @@ for j in range(num_rows):
     # write contents of one line
     ############################
     for i in range(len(rows[j])):
-        row.append( cell % rows[j][i])
+        row.append( cell % rows[j][i].replace('\\','\\backslash\n'))
 
     # If row has less columns than num_cols fill with blank entries
     for i in range(len(rows[j]), num_cols):