mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 22:17:41 +00:00
* lib/lyx2lyx/lyx_1_6.py:
- partial fix of bug 4838 (reversion of new index inset to 1.5) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24697 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
71f8cee976
commit
e2ed743c23
@ -820,8 +820,8 @@ def revert_latexcommand_index(document):
|
||||
line = line[20:]
|
||||
if line.startswith("\\begin_layout Standard"):
|
||||
line = line[22:]
|
||||
if line.startswith("\\begin_layout Plain"):
|
||||
line = line[22:]
|
||||
if line.startswith("\\begin_layout Plain Layout"):
|
||||
line = line[26:]
|
||||
if line.startswith("\\end_layout"):
|
||||
line = line[11:]
|
||||
if line.startswith("\\end_inset"):
|
||||
@ -829,6 +829,7 @@ def revert_latexcommand_index(document):
|
||||
if line.startswith("status collapsed"):
|
||||
line = line[16:]
|
||||
line = line.replace(u'ä', r'\\\"a').replace(u'ö', r'\\\"o').replace(u'ü', r'\\\"u')
|
||||
line = line.replace(r'\backslash', r'\textbackslash{}')
|
||||
content = content + line;
|
||||
document.body[i + 3] = "name " + '"' + content + '"'
|
||||
for k in range(i + 4, j - 2):
|
||||
|
Loading…
Reference in New Issue
Block a user