* lib/lyx2lyx/lyx_1_1.py (revert_latexcommand_index):

- umlauts must be reverted to escaped forms.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22022 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-12-08 15:56:19 +00:00
parent 7feaac16d2
commit 4770eb8ae2

View File

@ -433,6 +433,7 @@ def revert_latexcommand_index(document):
line = line[10:] line = line[10:]
if line.startswith("status collapsed"): if line.startswith("status collapsed"):
line = line[16:] line = line[16:]
line = line.replace(u'ä', r'\\\"a').replace(u'ö', r'\\\"o').replace(u'ü', r'\\\"u')
content = content + line; content = content + line;
document.body[i + 3] = "name " + '"' + content + '"' document.body[i + 3] = "name " + '"' + content + '"'
for k in range(i + 4, j - 2): for k in range(i + 4, j - 2):