mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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:
parent
ff7f289358
commit
50cebbc5b3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user