mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 14:04:25 +00:00
*** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5135 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f59571dcab
commit
60cc1a6324
@ -266,14 +266,14 @@ def remove_oldert(lines):
|
|||||||
break
|
break
|
||||||
|
|
||||||
new = new+new2
|
new = new+new2
|
||||||
if not check_token(lines[j], "\\latex default"):
|
if not check_token(lines[j], "\\latex "):
|
||||||
new = new+[""]+[lines[j]]
|
new = new+[""]+[lines[j]]
|
||||||
lines[i:j+1] = new
|
lines[i:j+1] = new
|
||||||
i = i+1
|
i = i+1
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
while 1:
|
while 1:
|
||||||
i = find_token(lines, "\\latex default", i)
|
i = find_token(lines, "\\latex ", i)
|
||||||
if i == -1:
|
if i == -1:
|
||||||
break
|
break
|
||||||
del lines[i]
|
del lines[i]
|
||||||
|
Loading…
Reference in New Issue
Block a user