]> 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 341c69303230e33a48ae22119c7a09d5bf056f60..77706b4efd8c2472787a127a7a36f5ea58c6549f 100644 (file)
@@ -180,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):