mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
No spaces in configure.py, either. Thanks Julien.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33865 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1577c83484
commit
07c5726aac
@ -892,7 +892,7 @@ def processLayoutFile(file, bool_docbook):
|
|||||||
|
|
||||||
"article" "article" "article" "false" "article.cls"
|
"article" "article" "article" "false" "article.cls"
|
||||||
"scrbook" "scrbook" "book (koma-script)" "false" "scrbook.cls"
|
"scrbook" "scrbook" "book (koma-script)" "false" "scrbook.cls"
|
||||||
"svjog" "svjour" "article (Springer - svjour/jog)" "false" "svjour.cls, svjog.clo"
|
"svjog" "svjour" "article (Springer - svjour/jog)" "false" "svjour.cls,svjog.clo"
|
||||||
'''
|
'''
|
||||||
def checkForClassExtension(x):
|
def checkForClassExtension(x):
|
||||||
'''if the extension for a latex class is not
|
'''if the extension for a latex class is not
|
||||||
@ -915,7 +915,7 @@ def processLayoutFile(file, bool_docbook):
|
|||||||
else:
|
else:
|
||||||
prereq_list = optAll[1:-1].split(',')
|
prereq_list = optAll[1:-1].split(',')
|
||||||
prereq_list = map(checkForClassExtension, prereq_list)
|
prereq_list = map(checkForClassExtension, prereq_list)
|
||||||
prereq_latex = ', '.join(prereq_list)
|
prereq_latex = ','.join(prereq_list)
|
||||||
prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook]
|
prereq_docbook = {'true':'', 'false':'docbook'}[bool_docbook]
|
||||||
prereq = {'LaTeX':prereq_latex, 'DocBook':prereq_docbook}[classtype]
|
prereq = {'LaTeX':prereq_latex, 'DocBook':prereq_docbook}[classtype]
|
||||||
return '"%s" "%s" "%s" "%s" "%s"\n' % (classname, opt, desc, avai, prereq)
|
return '"%s" "%s" "%s" "%s" "%s"\n' % (classname, opt, desc, avai, prereq)
|
||||||
|
Loading…
Reference in New Issue
Block a user