Add language and encoding information

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14599 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2006-08-09 22:22:59 +00:00
parent ff7f289358
commit 50cebbc5b3

View File

@ -119,6 +119,8 @@ def main(argv):
file = LyX.NewFile(output= pref + 'TOC.lyx')
data = info[lang]
file.set_header(language = data[0], language_quotes = data[1], inputencoding = data[2])
file.language = data[0]
file.encoding = data[2]
body = [ LyX.Paragraph('Title', [data[3]])]
body.extend(build_from_toc(toc_general))
file.set_body(body)