mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
fix lyx2lyx bug that prevented csv2lyx files from being converted
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@6327 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c279e9ea9f
commit
89c707fb91
@ -99,7 +99,7 @@ def update_tabular(lines):
|
||||
# the end variable refers to cell end, not to file end.
|
||||
end = find_tokens(lines, ['\\layout','\\the_end','\\end_deeper','\\end_float'], i)
|
||||
else:
|
||||
end = find_token(lines, '\\newline ', i)
|
||||
end = find_token(lines, '\\newline', i)
|
||||
|
||||
if end == -1:
|
||||
sys.stderr.write("Malformed lyx file\n")
|
||||
@ -111,7 +111,7 @@ def update_tabular(lines):
|
||||
del lines[i]
|
||||
end = end -1
|
||||
|
||||
if lines[i] == '\\newline ':
|
||||
if lines[i] == '\\newline':
|
||||
del lines[i]
|
||||
l = l + 1
|
||||
|
||||
|
@ -122,3 +122,4 @@ What's new
|
||||
|
||||
- improve the lyx.spec file used to produce rpms
|
||||
|
||||
- fix a lyx2lyx bug that rejected csv2lyx files as bad formed
|
||||
|
Loading…
x
Reference in New Issue
Block a user