mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
* lyx2lyx/lyx_1_6.py:
- fix conversion of empty index insets. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26859 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4d4ee5d7a6
commit
41c028cce5
@ -1071,8 +1071,9 @@ def convert_latexcommand_index(document):
|
|||||||
m = r1.match(document.body[i + 2])
|
m = r1.match(document.body[i + 2])
|
||||||
if m == None:
|
if m == None:
|
||||||
document.warning("Unable to match: " + document.body[i+2])
|
document.warning("Unable to match: " + document.body[i+2])
|
||||||
i += 1
|
# this can happen with empty index insets!
|
||||||
continue
|
linelist = [""]
|
||||||
|
else:
|
||||||
fullcontent = m.group(1)
|
fullcontent = m.group(1)
|
||||||
linelist = latex2lyx(fullcontent)
|
linelist = latex2lyx(fullcontent)
|
||||||
#document.warning(fullcontent)
|
#document.warning(fullcontent)
|
||||||
|
Loading…
Reference in New Issue
Block a user